Function at 0x5f6170
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b5da0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x737d28]
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 0x5f61a8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
jmp 0x5f61af
mov dword [ebp - 0x20], 0x6c111c
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.004022b0
push 0
push 0xa
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.0044eab0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x5f6281
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.00401b60
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.004023a0
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.00402220
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.0040bbb0
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.00402260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402220
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.004023a0
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 [0x736a00]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x736a00]
sub ecx, 1
mov dword [0x736a00], 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.0069c050
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.0069c050
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xb0], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x7c
call fcn.0069c050
mov ecx, dword [ebp - 0x1c]
add ecx, 0x8c
call fcn.0069c050
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