Function at 0x4c8280
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f14a9
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0xa5]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x38]
call fcn.004148f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa6]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x58]
call fcn.004148f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
push 0x65
push 0xc
mov ecx, 0x596118
call fcn.004bb320
test eax, eax
jne 0x4c8338
lea ecx, [ebp - 0xc9]
call fcn.0040b800
push eax
push str.SoftwareBabylonBabylon_ClientSearchRestore
lea ecx, [ebp - 0xc8]
call fcn.00414c40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00415500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.00414a10
lea ecx, [ebp - 0x34]
call fcn.00413e50
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 0x118]
movzx eax, byte [edx + 0xc4]
test eax, eax
je 0x4c836c
mov ecx, dword [ebp - 0x118]
cmp dword [ecx + 0xc0], 0
jne 0x4c8399
mov byte [ebp - 0xca], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00414a10
mov al, byte [ebp - 0xca]
jmp 0x4c86af
lea ecx, [ebp - 0x14]
call fcn.00419540
mov byte [ebp - 4], 3
push 0
push 0
push 0x2001f
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.00413e50
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.0041d020
test eax, eax
jne 0x4c867b
mov edx, dword [ebp - 0x118]
movzx eax, byte [edx + 0xc5]
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0xc0]
and edx, 2
je 0x4c8510
push 0x511c54
push 2
lea eax, [ebp - 0x7c]
push eax
call fcn.00481370
mov ecx, eax
call fcn.004812b0
mov byte [ebp - 4], 4
push 1
lea ecx, [ebp - 0x78]
call fcn.00413e50
push eax
push str.hpNew
lea ecx, [ebp - 0x14]
call fcn.0041cfc0
mov dword [ebp - 0x80], 0
jmp 0x4c8444
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
cmp edx, dword [ebp - 0x5c]
jge 0x4c8504
mov eax, dword [ebp - 0x80]
shl eax, 5
mov ecx, dword [ebp - 0x118]
lea ecx, [ecx + eax + 4]
call fcn.00413930
movzx edx, al
test edx, edx
jne 0x4c84ff
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + 0xc5]
test ecx, ecx
je 0x4c84c1
lea ecx, [ebp - 0xed]
call fcn.0040b800
push eax
push str.hpOld
lea ecx, [ebp - 0xec]
call fcn.00414c40
mov byte [ebp - 4], 5
lea edx, [ebp - 0xec]
push edx
lea ecx, [ebp - 0x58]
call fcn.00415500
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xec]
call fcn.00414a10
jmp 0x4c84d6
mov eax, dword [ebp - 0x80]
push eax
push str.hpOld_d
lea ecx, [ebp - 0x58]
push ecx
call fcn.00413900
add esp, 0xc
push 1
mov edx, dword [ebp - 0x80]
shl edx, 5
mov eax, dword [ebp - 0x118]
lea ecx, [eax + edx + 4]
call fcn.00413e50
push eax
lea ecx, [ebp - 0x54]
call fcn.00413e50
push eax
lea ecx, [ebp - 0x14]
call fcn.0041cfc0
jmp 0x4c843b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.00414a10
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0xc0]
and edx, 1
je 0x4c867b
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + 0xc5]
test ecx, ecx
je 0x4c854c
push 1
push str.0ECDF796_C2DC_4d79_A620_CCE0C0A66CC9
push 0x511d30
lea ecx, [ebp - 0x14]
call fcn.0041cfc0
jmp 0x4c8594
push 0x511cdc
push 8
lea edx, [ebp - 0xa0]
push edx
call fcn.00481370
mov ecx, eax
call fcn.004812b0
mov byte [ebp - 4], 6
push 1
lea ecx, [ebp - 0x9c]
call fcn.00413e50
push eax
push str.dspNew
lea ecx, [ebp - 0x14]
call fcn.0041cfc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.00414a10
mov dword [ebp - 0xa4], 0
jmp 0x4c85af
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0x5c]
jge 0x4c867b
mov edx, dword [ebp - 0xa4]
shl edx, 5
mov eax, dword [ebp - 0x118]
lea ecx, [eax + edx + 0x64]
call fcn.00413930
movzx ecx, al
test ecx, ecx
jne 0x4c8676
mov edx, dword [ebp - 0x118]
movzx eax, byte [edx + 0xc5]
test eax, eax
je 0x4c8632
lea ecx, [ebp - 0x111]
call fcn.0040b800
push eax
push str.dspOld
lea ecx, [ebp - 0x110]
call fcn.00414c40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00415500
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x110]
call fcn.00414a10
jmp 0x4c864a
mov edx, dword [ebp - 0xa4]
push edx
push str.dspOld_d
lea eax, [ebp - 0x58]
push eax
call fcn.00413900
add esp, 0xc
push 1
mov ecx, dword [ebp - 0xa4]
shl ecx, 5
mov edx, dword [ebp - 0x118]
lea ecx, [edx + ecx + 0x64]
call fcn.00413e50
push eax
lea ecx, [ebp - 0x54]
call fcn.00413e50
push eax
lea ecx, [ebp - 0x14]
call fcn.0041cfc0
jmp 0x4c85a0
mov byte [ebp - 0x112], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00419520
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00414a10
mov al, byte [ebp - 0x112]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret