Function at 0x40b6a0
Capabilities:
Delete registry key
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41ff73
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x427040]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x427040]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx]
xor edi, edi
push edi
push 1
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
push eax
mov eax, dword [edx + 4]
mov ecx, ebx
mov dword [esp + 0x54], ebx
call eax
test al, al
je 0x40b76d
mov dword [esp + 0x14], edi
mov dword [esp + 0x4c], vtable.MemoryControl.0
mov dword [esp + 0x50], edi
mov dword [esp + 0xa0], edi
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, ebx
call edx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.0040a6a0
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
mov ecx, ebx
call edx
test al, al
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
jne 0x40b774
push 1
call edx
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x40b76d
push eax
call fcn.004133d3
add esp, 4
xor al, al
jmp 0x40be74
push edi
call edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x14]
push eax
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.00405e00
add esp, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0xa0], 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
lea ebx, [ebx]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x40b8b6
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jae 0x40b8b6
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40b807
mov ecx, dword [esp + 0x40]
sub eax, edx
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x60]
call fcn.004053a0
push 1
push 0x423050
mov ecx, esi
mov byte [esp + 0xa8], 3
call fcn.004052d0
mov esi, dword [esp + 0x34]
cmp esi, edi
je 0x40b862
mov ecx, dword [esp + 0x38]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x40b86b
call fcn.00412b4f
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
add esi, edx
push edi
push esi
or eax, 0xffffffff
lea esi, [esp + 0x60]
call fcn.00405620
mov eax, esi
push eax
lea esi, [esp + 0x20]
call fcn.00406080
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x70], 8
jb 0x40b8a7
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004127aa
add esp, 4
add dword [esp + 0x10], 1
add dword [esp + 0x18], 0x1c
jmp 0x40b7c0
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov edi, edi
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edi, dword [esp + 0x24]
je 0x40bb80
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jae 0x40bb84
mov eax, dword [esp + 0x18]
cmp dword [eax + ecx + 0x18], 8
jb 0x40b902
mov ecx, dword [eax + ecx + 4]
jmp 0x40b906
lea ecx, [eax + ecx + 4]
mov edx, dword [ebx]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 4]
xor edi, edi
push edi
push 1
push ecx
push eax
mov ecx, ebx
call edx
test al, al
je 0x40bb71
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov byte [esp + 0xa0], 4
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call edx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.0040a6a0
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
mov ecx, ebx
call edx
test al, al
jne 0x40b9c2
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push 1
mov ecx, ebx
call edx
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x40b9a7
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x60]
push ecx
call fcn.00406eb0
mov edx, dword [esp + 0x60]
add esp, 4
push edx
call fcn.004127aa
add esp, 4
xor edi, edi
add dword [esp + 0x10], 1
add dword [esp + 0x18], 0x1c
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
jmp 0x40b8c0
mov eax, dword [esp + 0x14]
push eax
lea edx, [esp + 0x5c]
mov ecx, esi
call fcn.00405e00
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
add esp, 4
push 1
call eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
jmp 0x40b9f0
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
xor eax, eax
cmp esi, eax
je 0x40bb15
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x40bb13
mov esi, dword [esp + 0x20]
xor edi, edi
cmp esi, edi
je 0x40ba4a
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x40ba53
call fcn.00412b4f
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
lea eax, [ecx + esi]
push edi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], edi
mov word [esp + 0x80], di
call fcn.00404d90
push 1
push 0x423050
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 5
call fcn.004052d0
mov esi, dword [esp + 0x5c]
cmp esi, edi
je 0x40babd
mov ecx, dword [esp + 0x60]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x40bac6
call fcn.00412b4f
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
lea eax, [edx + esi]
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x7c]
call fcn.00405620
mov eax, esi
push eax
lea esi, [esp + 0x20]
call fcn.00406080
mov byte [esp + 0xa0], 4
cmp dword [esp + 0x8c], 8
jb 0x40bb06
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004127aa
add esp, 4
add ebx, 1
add dword [esp + 0x48], 0x1c
jmp 0x40b9f0
xor eax, eax
cmp esi, eax
mov byte [esp + 0xa0], 2
je 0x40bb61
cmp esi, edi
je 0x40bb56
add esi, 0x18
cmp dword [esi], 8
jb 0x40bb3b
mov edx, dword [esi - 0x14]
push edx
call fcn.004127aa
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], eax
mov word [esi - 0x14], ax
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x40bb28
mov esi, dword [esp + 0x5c]
push esi
call fcn.004127aa
add esp, 4
xor eax, eax
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
add dword [esp + 0x10], 1
add dword [esp + 0x18], 0x1c
jmp 0x40b8c0
xor eax, eax
jmp 0x40bb9b
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, 0xffffffff
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x40bcd3
lea ebx, [eax*8]
sub ebx, eax
add ebx, ebx
add ebx, ebx
test ecx, ecx
je 0x40bbd7
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x40bbe0
call fcn.00412b4f
mov ecx, dword [esp + 0x20]
cmp dword [ebx + ecx + 0x18], 8
jb 0x40bbed
mov ecx, dword [ebx + ecx + 4]
jmp 0x40bbf1
lea ecx, [ebx + ecx + 4]
mov edi, dword [esp + 0x44]
mov edx, dword [edi]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 4]
push 0
push 1
push ecx
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 0
mov ecx, edi
call edx
mov esi, dword [esp + 0x20]
test esi, esi
je 0x40bc3a
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x40bc43
call fcn.00412b4f
mov esi, dword [esp + 0x20]
cmp dword [ebx + esi + 0x18], 8
jb 0x40bc50
mov esi, dword [ebx + esi + 4]
jmp 0x40bc54
lea esi, [ebx + esi + 4]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
push 0
push 1
push esi
push ecx
mov ecx, edi
call edx
mov esi, dword [esp + 0x20]
test esi, esi
je 0x40bc8e
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x40bc97
call fcn.00412b4f
mov esi, dword [esp + 0x20]
cmp dword [ebx + esi + 0x18], 8
jb 0x40bca4
mov esi, dword [ebx + esi + 4]
jmp 0x40bca8
lea esi, [ebx + esi + 4]
mov eax, dword [esp + 0x2c]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, 1
sub ebx, 0x1c
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x40bbb8
cmp byte [ebp + 0x10], 0
je 0x40bdbb
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ebx, ebx
cmp eax, ebx
je 0x40bdb1
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x40bd46
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x40bd3d
add esi, 0x18
cmp dword [esi], 8
jb 0x40bd22
mov eax, dword [esi - 0x14]
push eax
call fcn.004127aa
add esp, 4
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], bx
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x40bd11
mov esi, dword [esp + 0x20]
push esi
call fcn.004127aa
add esp, 4
mov esi, dword [esp + 0x34]
cmp esi, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x40bd9a
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x40bd91
add esi, 0x18
cmp dword [esi], 8
jb 0x40bd76
mov edx, dword [esi - 0x14]
push edx
call fcn.004127aa
add esp, 4
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], bx
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x40bd65
mov esi, dword [esp + 0x34]
push esi
call fcn.004127aa
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
cmp eax, ebx
jmp 0x40b762
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x40bdbd
xor ebx, ebx
cmp ecx, ebx
je 0x40bdfd
cmp ecx, edi
je 0x40bdf4
lea esi, [ecx + 0x18]
cmp dword [esi], 8
jb 0x40bdd9
mov ecx, dword [esi - 0x14]
push ecx
call fcn.004127aa
add esp, 4
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], bx
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x40bdc8
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004127aa
add esp, 4
mov esi, dword [esp + 0x34]
cmp esi, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x40be55
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x40be4c
add esi, 0x18
lea esp, [esp]
cmp dword [esi], 8
jb 0x40be31
mov eax, dword [esi - 0x14]
push eax
call fcn.004127aa
add esp, 4
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], bx
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x40be20
mov esi, dword [esp + 0x34]
push esi
call fcn.004127aa
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x40be72
push eax
call fcn.004133d3
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0041288d
mov esp, ebp
pop ebp
ret 0xc