Function at 0x5282e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5443a1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x597c40]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
call fcn.004111a6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x52832f
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 + 0x40], eax
mov dword [esp + 0x38], edi
call fcn.004111a6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x52835d
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
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 1
mov byte [esp + 0x3c], bl
fldz
mov eax, dword [0x5db728]
fst dword [esp + 0x28]
sub eax, dword [0x5db738]
fst dword [esp + 0x24]
mov ecx, dword [0x5db724]
fstp dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 4
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
call esi
mov ecx, dword [0x5db728]
sub ecx, dword [0x5db734]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [0x5db724]
push 4
lea eax, [esp + 0x28]
push eax
push ecx
push edx
call esi
mov edx, dword [0x5db728]
sub edx, dword [0x5db73c]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x5db724]
push 4
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
call esi
push edi
lea ecx, [esp + 0x1c]
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWAREDeathSoftWoWEmuHacker5
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
fld dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x48]
push str._.4f
push edx
call fcn.00401750
push ebp
lea eax, [esp + 0x28]
push str.P2PPos_dY
push eax
call fcn.00401750
mov esi, dword [esp + 0x5c]
mov edi, dword [esi - 0xc]
add esp, 0x1c
cmp dword [esi - 4], ebx
jle 0x528453
push edi
lea ecx, [esp + 0x44]
call fcn.00401500
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], ebx
jle 0x52846d
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00401500
mov eax, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
push ebx
push 0
push eax
mov eax, dword [esp + 0x2c]
push eax
call edi
fld dword [esp + 0x24]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x48]
push str._.4f
push ecx
call fcn.00401750
push ebp
lea edx, [esp + 0x28]
push str.P2PPos_dX
push edx
call fcn.00401750
mov esi, dword [esp + 0x5c]
mov eax, dword [esi - 0xc]
add esp, 0x1c
mov dword [esp + 0x2c], eax
cmp dword [esi - 4], ebx
jle 0x5284ca
push eax
lea ecx, [esp + 0x44]
call fcn.00401500
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], ebx
jle 0x5284e4
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00401500
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
push ecx
push esi
push ebx
push 0
push eax
push edx
call edi
fld dword [esp + 0x28]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x48]
push str._.4f
push eax
call fcn.00401750
push ebp
lea ecx, [esp + 0x28]
push str.P2PPos_dZ
push ecx
call fcn.00401750
mov esi, dword [esp + 0x5c]
mov edx, dword [esi - 0xc]
add esp, 0x1c
mov dword [esp + 0x2c], edx
cmp dword [esi - 4], ebx
jle 0x52853f
push edx
lea ecx, [esp + 0x44]
call fcn.00401500
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x14]
cmp dword [ebp - 4], ebx
jle 0x528559
mov ecx, dword [ebp - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401500
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
push edx
push esi
push ebx
push 0
push ebp
push eax
call edi
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x528596
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5285ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4