Function at 0x1001e1f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037e5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x7ffffffe
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x34
jb 0x1001e48d
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1001e236
mov eax, dword [edi]
push ecx
push eax
push 0x34
push str._registrymachineSYSTEMCurrentControlSetServices_
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
call fcn.10013260
mov dword [ebp - 4], 0
call fcn.100093b0
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x34]
mov esi, eax
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x20], 0xf
cmovae eax, dword [ebp - 0x4c]
push 0x14
push 0x1003d174
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x34], 0
call fcn.10001520
mov byte [ebp - 4], 1
call fcn.1001faf0
lea ebx, [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.10009cd0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp eax, dword [esi + 4]
je 0x1001e2cd
mov esi, dword [eax + 0x20]
call ebx
test esi, esi
je 0x1001e2cf
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call esi
jmp 0x1001e2cf
call ebx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1001e307
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e2fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e468
push edx
push ecx
call fcn.10035360
add esp, 8
call fcn.100093b0
push 0xe
push 0x1003d0e4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov esi, eax
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.10001520
mov byte [ebp - 4], 2
call fcn.1001faf0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.10009cd0
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 4]
je 0x1001e376
mov eax, dword [eax + 0x20]
mov dword [ebp + 8], eax
lea eax, [esi + 0x20]
push eax
call ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x1001e37c
lea ecx, [ebp - 0x1c]
push ecx
call eax
mov ebx, eax
jmp 0x1001e381
lea eax, [esi + 0x20]
push eax
call ebx
mov ebx, 0xc0000138
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1001e3b9
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e3af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e468
push edx
push ecx
call fcn.10035360
add esp, 8
mov ecx, dword [edi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x22
jb 0x1001e492
cmp dword [edi + 0x14], 8
jb 0x1001e3d4
mov edi, dword [edi]
push ecx
push edi
push 0x22
push str.SYSTEMCurrentControlSetServices_
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.10013260
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x1001e43c
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e432
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001e432
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x1001e478
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e46e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001e46e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10001180
call fcn.10001180
int3