Function at 0x436eee
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 0xc], 0
call fcn.004854e0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00485570
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp + 0xc]
mov dword [esp], eax
call fcn.00485570
sub esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00437ac0
sub esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0xc3be0c
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.004857f0
test eax, eax
je 0x43707e
mov eax, dword [0xc5e25c]
test eax, eax
je 0x437045
mov dword [esp + 4], str.Advapi32.dll
mov dword [esp], 0xffffffff
call fcn.00476e4c
sub esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x437042
mov dword [esp + 4], str.RegDeleteKeyExA
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00476df2
sub esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [0xc5e24c]
mov dword [ebp - 0x34], eax
mov eax, dword [0xc5de70]
mov dword [ebp - 0x38], eax
mov eax, dword [0xc5e274]
or eax, 0xf003f
mov dword [ebp - 0x3c], eax
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.00476d1b
sub esp, 0x14
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00476d7e
sub esp, 4
mov dword [ebp - 0x44], eax
jmp 0x437079
nop
jmp 0x437079
nop
mov eax, dword [0xc5e24c]
mov dword [ebp - 0x48], eax
mov eax, dword [0xc5de70]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegDeleteKeyW
sub esp, 8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
jmp 0x437175
jmp 0x437175
nop
mov eax, dword [0xc5e24c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.ADVAPI32.dll_RegConnectRegistryW
sub esp, 0xc
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0xc5e25c]
test eax, eax
je 0x43714e
mov dword [esp + 4], str.Advapi32.dll
mov dword [esp], 0xffffffff
call fcn.00476e4c
sub esp, 8
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43714b
mov eax, dword [0xc5de70]
mov dword [ebp - 0x64], eax
mov eax, dword [0xc5e274]
or eax, 0xf003f
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x14], 0
mov edx, dword [ebp - 0x68]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], str.RegDeleteKeyExA
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00476ce1
sub esp, 0x18
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00476d7e
sub esp, 4
mov dword [ebp - 0x70], eax
jmp 0x437175
nop
jmp 0x437175
nop
mov eax, dword [0xc5de70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x74]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegDeleteKeyW
sub esp, 8
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x437184
mov dword [ebp - 0xc], 1
jmp 0x43718c
nop
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00485650
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00485650
sub esp, 4
mov eax, dword [ebp - 0xc]
leave
ret 8