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

Disassembly:
push 0xffffffffffffffff
push 0x52dcb8
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x56fcac]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56fcac]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x184]
mov edi, dword [esp + 0x180]
xor ebp, ebp
push ebx
lea esi, [esp + 0xa0]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebp
mov byte [esp + 0x1b], 0
call fcn.00455c40
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x4511c8
mov ecx, dword [eax + 4]
jmp 0x4511cb
lea ecx, [eax + 4]
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x20]
push edx
push 0x20019
push ebp
push ecx
push eax
mov byte [esp + 0x2a], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub eax, ebp
je 0x4511fd
sub eax, 2
je 0x4511f6
mov byte [esp + 0x16], 0
jmp 0x45120d
mov byte [esp + 0x17], 0
jmp 0x45120d
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x17], 1
cmp byte [esp + 0x16], 0
sete byte [esp + 0x16]
cmp dword [esp + 0xb4], esi
jb 0x451230
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.004aaa59
add esp, 4
cmp byte [esp + 0x16], 0
je 0x45128c
push ebp
push 0x547f9c
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebp
mov word [esp + 0x54], bp
call fcn.00402af0
lea edx, [esp + 0x48]
push edx
push edi
mov edx, SysReAllocStringLen
mov dword [esp + 0x180], 1
call fcn.004557c0
cmp dword [esp + 0x60], esi
jb 0x451285
mov eax, dword [esp + 0x4c]
push eax
call fcn.004aaa59
add esp, 4
mov eax, edi
jmp 0x451a55
cmp byte [ebx + 0x40], 0
je 0x451369
push ebp
lea edi, [esp + 0x68]
mov ecx, ebx
call fcn.00455ac0
lea ecx, [esp + 0x128]
push ecx
mov ecx, eax
mov dword [esp + 0x17c], 2
call fcn.00455740
mov byte [esp + 0x178], 4
cmp dword [esp + 0x7c], esi
jb 0x4512d7
mov edx, dword [esp + 0x68]
push edx
call fcn.004aaa59
add esp, 4
cmp byte [esp + 0x17], 0
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
je 0x45133b
lea eax, [esp + 0x128]
push eax
call fcn.00451a80
add esp, 4
cmp byte [esp + 0x188], 0
je 0x45133b
push ebx
lea esi, [esp + 0xa0]
call fcn.00455c40
cmp dword [eax + 0x18], 8
jb 0x451321
mov eax, dword [eax + 4]
jmp 0x451324
add eax, 4
mov ebx, dword [ebx + 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [esp + 0x9c]
call fcn.00401e70
mov esi, dword [esp + 0x28]
push esi
lea edi, [esp + 0x12c]
call fcn.0043a3f0
mov ecx, edi
push ecx
mov dword [esp + 0x34], 1
mov byte [esp + 0x17c], 0
call fcn.00455840
jmp 0x451a53
cmp byte [esp + 0x17], 0
jne 0x451419
push ebp
lea edi, [esp + 0xa0]
mov ecx, ebx
call fcn.00455ac0
lea edx, [esp + 0xb8]
push edx
mov ecx, eax
mov dword [esp + 0x17c], 5
call fcn.00455740
mov byte [esp + 0x178], 7
cmp dword [esp + 0xb4], esi
jb 0x4513be
mov eax, dword [esp + 0xa0]
push eax
call fcn.004aaa59
add esp, 4
push 1
push ebx
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], ebp
mov word [esp + 0xa8], bp
mov byte [esp + 0x100], 1
call fcn.00450dc0
mov esi, dword [esp + 0x30]
add esp, 8
push esi
lea edi, [esp + 0xbc]
call fcn.0043a3f0
mov ecx, edi
push ecx
mov dword [esp + 0x34], 1
mov byte [esp + 0x17c], 0
call fcn.00455840
jmp 0x451a53
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x178], esi
push ebx
lea esi, [esp + 0xa0]
call fcn.00455c40
cmp dword [eax + 0x18], 8
jb 0x451440
mov edi, dword [eax + 4]
jmp 0x451443
lea edi, [eax + 4]
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov esi, dword [ebx + 0x20]
je 0x451459
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x18]
push edx
push 0x2001f
push ebp
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
je 0x4514f4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
xor al, al
test al, al
sete byte [esp + 0x16]
cmp dword [esp + 0xb4], 8
jb 0x45149f
mov eax, dword [esp + 0xa0]
push eax
call fcn.004aaa59
add esp, 4
cmp byte [esp + 0x16], 0
je 0x45158f
mov eax, dword [esp + 0x1c]
cmp eax, 5
jne 0x4514f8
push 0x547f9c
lea ecx, [esp + 0x4c]
call fcn.00401e30
lea ecx, [esp + 0x48]
mov byte [esp + 0x178], 9
mov esi, dword [esp + 0x28]
push ecx
push esi
mov edx, SysReAllocStringLen
call fcn.004557c0
lea ecx, [esp + 0x48]
call fcn.00401e70
lea ecx, [esp + 0x18]
call fcn.00401450
jmp 0x451a53
mov al, 1
jmp 0x45147e
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebp
mov word [esp + 0xa0], bp
push eax
push str.Operate_registry_failed__d_
lea ecx, [esp + 0xa4]
mov byte [esp + 0x180], 0xa
call fcn.00404ec0
add esp, 8
xor eax, eax
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x80]
call fcn.0043f0e0
mov byte [esp + 0x178], 0xb
cmp dword [eax + 0x18], 0x10
jb 0x451557
mov eax, dword [eax + 4]
jmp 0x45155a
add eax, 4
push eax
lea ecx, [esp + 0x4c]
call fcn.00401da0
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x17c], 0xc
call fcn.00450a40
push 0x561cec
lea eax, [esp + 0xbc]
push eax
call fcn.004eae0a
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x1c]
mov byte [esp + 0x17c], 0xe
call fcn.00401970
test al, al
jne 0x451667
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebp
mov word [esp + 0xa0], bp
mov byte [esp + 0x178], 0xf
mov edx, dword [esp + 0x1c]
push edx
push str.Operate_registry_failed__d_
lea ecx, [esp + 0xa4]
call fcn.00404ec0
add esp, 8
xor eax, eax
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x80]
call fcn.0043f0e0
mov ecx, 0x10
mov byte [esp + 0x178], cl
cmp dword [eax + 0x18], ecx
jb 0x45162f
mov eax, dword [eax + 4]
jmp 0x451632
add eax, 4
push eax
lea ecx, [esp + 0x4c]
call fcn.00401da0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x17c], 0x11
call fcn.00450a40
push 0x561cec
lea ecx, [esp + 0xbc]
push ecx
call fcn.004eae0a
push ebp
lea edi, [esp + 0x4c]
mov ecx, ebx
call fcn.00455ac0
lea edx, [esp + 0x128]
push edx
mov ecx, eax
mov byte [esp + 0x17c], 0x12
call fcn.00455740
mov ecx, edi
mov byte [esp + 0x178], 0x14
call fcn.00401e70
xor edi, edi
add ebx, 0x10
mov edi, edi
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x451710
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x451710
mov eax, dword [esp + 0x188]
push eax
mov esi, ebx
call fcn.004526e0
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.00451150
add esp, 0xc
push eax
lea esi, [esp + 0x13c]
mov byte [esp + 0x17c], 0x15
call fcn.00452720
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0x17c], 0x14
call fcn.00455840
add edi, 1
jmp 0x4516a0
mov ebx, dword [esp + 0x24]
mov ecx, ebx
mov dword [esp + 0x34], ebp
call fcn.0042d570
test eax, eax
jbe 0x4519bd
mov dword [esp + 0x20], ebp
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x451750
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x34], eax
jb 0x451755
call fcn.004ec14b
mov edi, dword [ebx + 4]
add edi, dword [esp + 0x20]
lea esi, [esp + 0x9c]
push edi
call fcn.0043d330
push eax
lea esi, [esp + 0x3c]
mov byte [esp + 0x17c], 0x16
call fcn.004532d0
add esp, 4
cmp eax, 0xffffffff
setne byte [esp + 0x16]
mov byte [esp + 0x178], 0x14
cmp dword [esp + 0xb4], 8
jb 0x4517a8
mov eax, dword [esp + 0xa0]
push eax
call fcn.004aaa59
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push ebp
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebp
push 0x547f9c
mov word [ecx + 4], bp
call fcn.00402af0
push 1
lea esi, [esp + 0xd8]
call fcn.0043bd10
cmp byte [esp + 0x16], 0
je 0x4518bf
mov bl, 0x17
push edi
lea esi, [esp + 0xa0]
mov byte [esp + 0x17c], bl
call fcn.0043d330
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x184], 0x18
call fcn.00403310
mov byte [esp + 0x178], bl
mov ebx, 8
cmp dword [esp + 0xb4], ebx
jb 0x451836
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.004aaa59
add esp, 4
push edi
lea esi, [esp + 0xa0]
call fcn.0043d330
mov byte [esp + 0x178], 0x19
cmp dword [eax + 0x18], ebx
jb 0x451855
mov eax, dword [eax + 4]
jmp 0x451858
add eax, 4
lea edx, [esp + 0xb8]
push edx
push eax
lea ebx, [esp + 0x20]
call fcn.004017d0
mov byte [esp + 0x178], 0x17
cmp dword [esp + 0xb4], 8
jb 0x45188c
mov eax, dword [esp + 0xa0]
push eax
call fcn.004aaa59
add esp, 4
lea ecx, [esp + 0xb8]
push ecx
lea esi, [esp + 0x12c]
call fcn.00452630
lea esi, [esp + 0xb8]
mov byte [esp + 0x178], 0x14
call fcn.0043bdc0
mov ebx, dword [esp + 0x24]
xor ebp, ebp
jmp 0x45193e
push edi
lea esi, [esp + 0xa0]
mov byte [esp + 0x17c], 0x1a
call fcn.0043d330
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x184], 0x1b
call fcn.00403310
mov byte [esp + 0x178], 0x1a
cmp dword [esp + 0xb4], 8
jb 0x45190e
mov edx, dword [esp + 0xa0]
push edx
call fcn.004aaa59
add esp, 4
lea eax, [esp + 0xb8]
push eax
lea esi, [esp + 0x12c]
mov byte [esp + 0x124], 1
call fcn.00452630
lea esi, [esp + 0xb8]
mov byte [esp + 0x178], 0x14
call fcn.0043bdc0
cmp byte [esp + 0x188], 0
je 0x45199e
push edi
lea esi, [esp + 0xa0]
call fcn.0043d330
mov byte [esp + 0x178], 0x1c
cmp dword [eax + 0x18], 8
jb 0x451968
mov eax, dword [eax + 4]
jmp 0x45196b
add eax, 4
push edi
push eax
lea ebx, [esp + 0x20]
call fcn.004015b0
mov byte [esp + 0x178], 0x14
cmp dword [esp + 0xb4], 8
jb 0x451998
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.004aaa59
add esp, 4
mov ebx, dword [esp + 0x24]
xor ebp, ebp
mov esi, dword [esp + 0x34]
add dword [esp + 0x20], 0x70
add esi, 1
mov ecx, ebx
mov dword [esp + 0x34], esi
call fcn.0042d570
cmp esi, eax
jb 0x45172b
mov esi, dword [esp + 0x28]
push esi
lea edi, [esp + 0x12c]
call fcn.0043a3f0
mov edx, edi
push edx
mov dword [esp + 0x34], 1
mov byte [esp + 0x17c], 0xe
call fcn.00455840
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x451a09
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
push ecx
call fcn.00403ea0
mov edx, dword [esp + 0x40]
push edx
call fcn.004aaa59
add esp, 8
mov eax, dword [esp + 0x68]
cmp eax, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
je 0x451a38
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x6c]
push ecx
call fcn.00403ea0
mov edx, dword [esp + 0x6c]
push edx
call fcn.004aaa59
add esp, 8
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
je 0x451a53
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.004ead41
add esp, 0x168
ret