Function at 0x48c450
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59af23
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], 0
lea ecx, [ebp - 0x1c]
call fcn.004a2910
mov dword [ebp - 4], 0
lea eax, [ebp - 0x148]
push eax
call fcn.0048bf60
add esp, 4
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x160]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00409070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00408330
lea ecx, [ebp - 0x10]
call fcn.004a2910
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
push eax
push 0x5b0014
lea ecx, [ebp - 0x10]
push ecx
call fcn.004098b0
add esp, 0xc
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 1
push 0
lea ecx, [ebp - 0x10]
call fcn.004090f0
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48c567
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408fd0
mov edx, dword [ebp - 0x158]
or edx, 1
mov dword [ebp - 0x158], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00408330
mov eax, dword [ebp + 8]
jmp 0x48c84b
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 9
push 0
push 0
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48c811
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x12c], 0
push 0x103
push 0
lea ecx, [ebp - 0x12b]
push ecx
call fcn.0056f420
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
call fcn.0048bcd0
add esp, 4
mov byte [ebp - 4], 3
push 0x104
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x48c7bd
lea eax, [ebp - 0x12c]
push eax
call fcn.0056fc20
add esp, 4
test eax, eax
jne 0x48c602
jmp 0x48c7bd
lea ecx, [ebp - 0x13c]
call fcn.004a2910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x12c]
push ecx
push str._sVolatile_Environment
lea edx, [ebp - 0x13c]
push edx
call fcn.004098b0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
push 1
push 0
lea ecx, [ebp - 0x13c]
call fcn.004090f0
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48c79a
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x5affe3
call fcn.00408ff0
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x168], edx
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x150], esp
push str.HOMEPATH
call fcn.00408ff0
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x154], esp
lea edx, [ebp - 0x13c]
push edx
call fcn.00408fd0
mov dword [ebp - 0x174], eax
push reloc.WS2_32.dll_closesocket
lea eax, [ebp - 0x140]
push eax
mov byte [ebp - 4], 4
call fcn.00492c20
add esp, 0x18
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x140]
call fcn.0043b890
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea ecx, [ebp - 0x144]
call fcn.00408ff0
mov byte [ebp - 4], 8
push 0xffffffffffffffff
lea ecx, [ebp - 0x140]
call fcn.004136d0
lea ecx, [ebp - 0x130]
call fcn.004090f0
push eax
lea ecx, [ebp - 0x144]
call fcn.00407fe0
test eax, eax
jne 0x48c77c
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00409090
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x144]
call fcn.00408330
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x140]
call fcn.00408330
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x13c]
call fcn.00408330
jmp 0x48c7bd
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x144]
call fcn.00408330
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x140]
call fcn.00408330
mov edx, dword [ebp - 0x134]
add edx, 1
mov dword [ebp - 0x134], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x13c]
call fcn.00408330
jmp 0x48c5c5
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408fd0
mov edx, dword [ebp - 0x158]
or edx, 1
mov dword [ebp - 0x158], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x130]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00408330
mov eax, dword [ebp + 8]
jmp 0x48c84b
push 0x5b0005
mov ecx, dword [ebp + 8]
call fcn.00408ff0
mov eax, dword [ebp - 0x158]
or eax, 1
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00408330
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret