Function at 0x40d19a
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 + 0x10]
push dword [ebp + 0xc]
call sub.advapi32.dll_RegOpenKeyA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x810]
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 + 0x10]
call fcn.00401db1
push eax
mov edx, eax
lea eax, [ebp - 0x810]
push eax
push edx
call fcn.00401db1
mov dword [ebp - 0x814], eax
call fcn.00401871
lea eax, [ebp - 0xc]
push eax
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0xc]
call fcn.00401d2a
mov dword [ebp - 0x828], eax
push 0
push reloc.shlwapi.dll_ChrCmpIA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0xc]
call fcn.00401d2a
mov dword [ebp - 0x818], eax
push 0
push reloc.shlwapi.dll_SHRegDeleteUSValueW
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0xc]
call fcn.00401d2a
mov dword [ebp - 0x81c], eax
lea eax, [ebp - 0x82c]
push eax
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0xc]
call fcn.00401d2a
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x82c], 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
push 0
push reloc.shlwapi.dll_StrNCatA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0xc]
call fcn.00401d2a
mov dword [ebp - 0x824], eax
push 0
push reloc.shlwapi.dll_ChrCmpIA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0xc]
call fcn.00401d2a
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x828], 0
je reloc.gdi32.dll_SetWorldTransform
push reloc.wsock32.dll_WSAIsBlocking
lea eax, [ebp - 0xc]
push eax
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.0040427f
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0xc], 0
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x81c], 0
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x818], 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 - 0xc]
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]
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]
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
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040d19a
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 0xc