Function at 0x404da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e17b8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x65fde0]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0x65fde0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], edx
call fcn.004035d0
push 0xffffff
mov dword [esp + 0x48], 0
call fcn.00434460
add esp, 4
push eax
lea ecx, [esp + 0x10]
call fcn.004ba92d
lea ecx, [esp + 0xc]
call fcn.00403630
mov ecx, dword [ebx + 0xa0]
push eax
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0042edb0
mov edx, dword [ebx + 0x498]
add esp, 0xc
push edx
call fcn.00435040
add esp, 4
test eax, eax
je 0x404ea7
mov ecx, dword [ebx + 0x498]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004345e0
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00434640
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00434640
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebx + 0x478]
lea ecx, [ebx + 0x9c]
push eax
call fcn.0043c250
mov ecx, dword [ebx + 0x5bc]
push ecx
call fcn.00435040
add esp, 4
test eax, eax
je 0x404f19
mov eax, dword [ebx + 0x5bc]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004345e0
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00434640
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00434640
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add esp, 8
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
lea edx, [ebx + 0x59c]
mov dword [eax + 0xc], ecx
lea ecx, [ebx + 0x9c]
push edx
call fcn.0043c250
mov eax, dword [ebx + 0x6e0]
push eax
call fcn.00435040
add esp, 4
test eax, eax
je 0x404f8b
mov edx, dword [ebx + 0x6e0]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004345e0
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00434640
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00434640
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebx + 0x6c0]
lea ecx, [ebx + 0x9c]
push eax
call fcn.0043c250
mov ecx, dword [ebx + 0x804]
push ecx
call fcn.00435040
add esp, 4
test eax, eax
je 0x404ffd
mov eax, dword [ebx + 0x804]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004345e0
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00434640
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00434640
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add esp, 8
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
lea edx, [ebx + 0x7e4]
mov dword [eax + 0xc], ecx
lea ecx, [ebx + 0x9c]
push edx
call fcn.0043c250
mov eax, dword [ebx + 0x928]
push eax
call fcn.00435040
add esp, 4
test eax, eax
je 0x40506f
mov edx, dword [ebx + 0x928]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004345e0
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00434640
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00434640
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebx + 0x908]
lea ecx, [ebx + 0x9c]
push eax
call fcn.0043c250
mov ecx, dword [ebx + 0xa4c]
push ecx
call fcn.00435040
add esp, 4
test eax, eax
je 0x4050e0
mov eax, dword [ebx + 0xa4c]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004345e0
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00434640
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00434640
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add esp, 8
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
lea esi, [ebx + 0x9c]
lea edi, [ebx + 0xa2c]
mov dword [eax + 0xc], ecx
call fcn.0040afa0
mov edx, dword [ebx + 0xbf4]
push edx
call fcn.00435040
add esp, 4
test eax, eax
je 0x405151
mov ecx, dword [ebx + 0xbf4]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004345e0
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00434640
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00434640
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
lea esi, [ebx + 0x9c]
lea edi, [ebx + 0xbd4]
mov dword [eax + 0xc], edx
call fcn.0040afa0
mov eax, dword [ebx + 0xd8]
push 1
push 0
push eax
call fcn.00433650
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.004035a0
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005b6c8b
add esp, 0x3c
ret 4