Function at 0x404f5f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46229f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x60], ecx
call fcn.004163dc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.00417f02
mov dword [ebp - 0x20], eax
call fcn.00424738
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x48]
call fcn.004032a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
push 0x8aa
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 8]
call fcn.00459921
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [edx + 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.004032a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
push 0x8a9
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 8]
call fcn.00459921
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [edx + 0x24]
lea ecx, [ebp - 0x38]
call fcn.004032a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push eax
push 0x8a8
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 8]
call fcn.00459921
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x18]
call fcn.004032a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
push 0x8a6
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 8]
call fcn.00459921
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [edx + 0x34]
lea ecx, [ebp - 0x28]
call fcn.004032a0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x140
call fcn.004598d9
mov ecx, dword [ebp - 0x60]
add ecx, 0x140
call fcn.004064e0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x60]
add ecx, 0x140
call fcn.00406540
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea eax, [ebp - 0x28]
push eax
call fcn.0045825a
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x20]
call dword [edx + 8]
mov ecx, dword [ebp - 0x60]
add ecx, 0x1b8
call fcn.00406430
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004151f1
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x60]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
call dword [eax + 0x30]
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x34]
push edx
call fcn.0045825a
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x3c]
call fcn.00417f28
mov eax, dword [ebp - 0x14]
push eax
call fcn.00410b26
add esp, 4
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x1c]
call fcn.004032a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x60]
add ecx, 0x104
call fcn.004598d9
mov ecx, dword [ebp - 0x60]
add ecx, 0x104
call fcn.004064e0
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x60]
add ecx, 0x104
call fcn.00406540
mov dword [ebp - 0x44], eax
push 0x488604
lea ecx, [ebp - 0x40]
call fcn.00458553
mov byte [ebp - 4], 7
cmp dword [ebp - 0x30], 0
je 0x4051ae
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
call dword [eax + 0x20]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x40]
call fcn.004585d2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.004584e5
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp - 0x40]
push eax
call fcn.0045825a
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.0045825a
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00414bf5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.004584e5
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004584e5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004584e5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004584e5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004584e5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004584e5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004584e5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004584e5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret