Function at 0x5a5970
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ff10
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x70d05c]
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 0x5a59a8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
jmp 0x5a59af
mov dword [ebp - 0x20], 0x65b0ec
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.004040f0
push 0
push 0xa
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.0048e4f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x5a5a81
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.0048c020
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.00402990
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.00401a10
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.0046bb00
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.00403b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401a10
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.00402990
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 [0x70be2c]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x70be2c]
sub ecx, 1
mov dword [0x70be2c], 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.0063b810
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.0063b810
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xb0], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x7c
call fcn.0063b810
mov ecx, dword [ebp - 0x1c]
add ecx, 0x8c
call fcn.0063b810
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