Function at 0x406c3e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [reloc.wsock32.dll_WSACleanup]
call sub.advapi32.dll_RegOpenKeyA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.advapi32.dll_RegEnumKeyExA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp + 0xc]
call fcn.00401db1
push eax
mov edx, eax
lea eax, [ebp - 0x80c]
push eax
push edx
call fcn.00401db1
mov dword [ebp - 0x810], eax
call fcn.00401871
lea eax, [ebp - 0x828]
push eax
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [reloc.wsock32.dll_WSACleanup]
call fcn.00401d2a
mov dword [ebp - 0x81c], eax
push 0
push reloc.shlwapi.dll_PathIsRelativeA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [reloc.wsock32.dll_WSACleanup]
call fcn.00401d2a
mov dword [ebp - 0x814], eax
push 0
push reloc.shlwapi.dll_SHRegDeleteUSValueW
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [reloc.wsock32.dll_WSACleanup]
call fcn.00401d2a
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x824]
push eax
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [reloc.wsock32.dll_WSACleanup]
call fcn.00401d2a
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x824], 4
jne reloc.gdi32.dll_SetWorldTransform
push dword [eax]
pop dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push eax
call fcn.00401871
jmp reloc.gdi32.dll_SetWorldTransform
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
push eax
call fcn.00401871
mov dword [ebp - 0x820], reloc.wsock32.dll_listen
cmp dword [ebp - 0x81c], 0
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x814], 0
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x818], 0
je reloc.gdi32.dll_SetWorldTransform
push 0
lea eax, [ebp - 0x828]
push eax
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.0040427f
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x828], 0
je reloc.gdi32.dll_SetWorldTransform
push reloc.gdi32.dll_SetWorldTransform
push dword [ebp + 8]
call fcn.00401522
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401558
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401522
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
inc dword [ebp - 8]
jmp reloc.gdi32.dll_SetWorldTransform
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret 8