Function at 0x473640
Capabilities:
Access peb ldr_data
Get hostname
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e104
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea ecx, [ebp - 0x117]
push ecx
call fcn.004ff6f0
add esp, 0xc
mov dword [ebp - 0x138], 0x104
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
lea ecx, [ebp - 0x14c]
call fcn.00498380
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + 0x9580]
push eax
lea ecx, [ebp - 0x14c]
push ecx
call fcn.00472b70
add esp, 8
mov ecx, edi
call fcn.00472890
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0x11c]
push edx
push ebx
call fcn.0043d1b0
add esp, 8
mov dword [ebp - 0x12c], eax
mov ecx, edi
call fcn.004727d0
mov dword [ebp - 0x130], eax
push ebx
call fcn.0043cb50
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x11c]
push eax
call fcn.0043cb50
mov dword [ebp - 0x120], eax
push 0
push 7
push str._d._d
lea ecx, [esi + 0x28]
push ecx
call fcn.004c0960
add esp, 0x18
mov dword [esi], ebx
mov edx, dword [ebp - 0x11c]
mov dword [esi + 4], edx
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [esi + 0x2c]
call fcn.004bfc00
mov ecx, dword [ebp - 0x12c]
push ecx
lea ecx, [esi + 0xc]
call fcn.004bfc00
mov edx, dword [ebp - 0x130]
push edx
lea ecx, [esi + 0x18]
call fcn.004bfc00
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x60]
add ecx, 0x66b5
push ecx
lea ecx, [esi + 0x1c]
call fcn.004bfc00
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 0x60]
add eax, 0x67b9
push eax
lea ecx, [esi + 0x24]
call fcn.004bfc00
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [esi + 0x20]
call fcn.004bfc00
mov edx, dword [ebp - 0x124]
push edx
lea ecx, [esi + 0x10]
call fcn.004bfc00
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [esi + 0x14]
call fcn.004bfc00
lea ecx, [ebp - 0x14c]
call fcn.00498870
mov ebx, eax
mov dword [esi + 0x30], ebx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004fc6be
add esp, 4
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x47384b
mov dword [eax], ebx
add eax, 4
mov dword [ebp - 0x11c], eax
push fcn.004bfa40
push 0x4061d0
push ebx
push 4
push eax
call fcn.00500f2b
mov eax, dword [ebp - 0x11c]
jmp 0x47384d
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x38], ecx
xor edi, edi
mov dword [ebp - 0x134], edi
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x158]
call fcn.00498260
mov byte [ebp - 4], 3
jmp 0x473880
lea ecx, [ebp - 0x158]
call fcn.00498ec0
test eax, eax
je 0x4738a4
push eax
mov eax, dword [esi + 0x34]
lea ecx, [eax + edi*4]
call fcn.004bfc00
inc edi
mov dword [ebp - 0x134], edi
jmp 0x473880
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x4738b7
push eax
call fcn.004fedfc
add esp, 4
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4738ca
push eax
call fcn.004fedfc
add esp, 4
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x4738dd
push eax
call fcn.004fedfc
add esp, 4
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x4738f0
push eax
call fcn.004fedfc
add esp, 4
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x473903
push eax
call fcn.004fedfc
add esp, 4
push 1
lea ecx, [ebp - 0x14c]
call fcn.004989b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.00498280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.00498f60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret 0xc