Function at 0x586280
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624c50
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6912e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0
je 0x5862b8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
jmp 0x5862bf
mov dword [ebp - 0x20], 0x630a27
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.00401a70
push 0
push 0xa
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.0046f810
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x586391
push 0
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.00467b30
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
call fcn.00401680
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xb8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xb8]
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401bb0
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.00455ce0
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.00401110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401bb0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xa0], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x21c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.00401680
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xb8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xb8]
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [0x6901ac]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x6901ac]
sub ecx, 1
mov dword [0x6901ac], ecx
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xb8
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0xb8]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x6c
call fcn.00611e70
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xa8], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xac], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x4c], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x50], 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x54], 2
mov edx, dword [ebp - 0x1c]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xb4], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], 1
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x2c], 1
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x30], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0x5c
call fcn.00611e70
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xb0], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x7c
call fcn.00611e70
mov ecx, dword [ebp - 0x1c]
add ecx, 0x8c
call fcn.00611e70
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xa4], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x58], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8