Function at 0x5285d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5443cc
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x597c40]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x597c40]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x149c]
xor ebx, ebx
push ebx
push ebx
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x5288d2
mov dword [esp + 0x1c], ebx
call fcn.004111a6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x528645
push 0x80004005
call fcn.00401670
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x64], ebx
call fcn.004111a6
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x528673
push 0x80004005
call fcn.00401670
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREDeathSoftWoWEmuHacker5
mov byte [esp + 0x84], 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x54], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push esi
lea edx, [esp + 0x18]
push str.P2PPos_dY
mov ebp, 0x19
push edx
mov dword [esp + 0x24], ebp
call fcn.00401750
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x5286e9
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00401500
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x38]
push ecx
push ebx
push eax
push edx
call edi
lea eax, [esp + 0x3c]
push eax
call fcn.00505999
fstp dword [esp + 0x24]
push esi
lea ecx, [esp + 0x1c]
push str.P2PPos_dX
push ecx
mov dword [esp + 0x28], ebp
call fcn.00401750
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp dword [eax - 4], 1
jle 0x528747
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00401500
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x38]
push ecx
push ebx
push eax
push edx
call edi
lea eax, [esp + 0x3c]
push eax
call fcn.00505999
fstp dword [esp + 0x28]
push esi
lea ecx, [esp + 0x1c]
push str.P2PPos_dZ
push ecx
mov dword [esp + 0x28], ebp
call fcn.00401750
mov ebp, dword [esp + 0x24]
add esp, 0x10
cmp dword [ebp - 4], 1
jle 0x52879f
mov edx, dword [ebp - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00401500
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
push ebp
push eax
call edi
lea ecx, [esp + 0x3c]
push ecx
call fcn.00505999
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
add esp, 4
fld st(0)
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x52887b
fld dword [esp + 0x20]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x52887d
mov eax, dword [0x5db728]
fstp dword [esp + 0x28]
sub eax, dword [0x5db738]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea edx, [esp + 0x24]
push edx
mov edx, dword [0x5db724]
push 4
lea ecx, [esp + 0x30]
push ecx
push eax
push edx
mov dword [esp + 0x38], ebx
call esi
fld dword [esp + 0x20]
mov eax, dword [0x5db728]
fstp dword [esp + 0x34]
sub eax, dword [0x5db734]
lea ecx, [esp + 0x20]
push ecx
push 4
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [0x5db724]
push eax
mov dword [esp + 0x34], ebx
call esi
fld dword [esp + 0x2c]
mov eax, dword [0x5db728]
fstp dword [esp + 0x28]
sub eax, dword [0x5db73c]
lea ecx, [esp + 0x2c]
push ecx
push 4
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [0x5db724]
push eax
mov dword [esp + 0x40], ebx
call esi
jmp 0x52887f
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5288ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x64], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5288d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00504076
add esp, 0x54
ret 4