Function at 0x4a89f0
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60ae90
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x679230]
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 0x4a8a28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
jmp 0x4a8a2f
mov dword [ebp - 0x20], 0x657d63
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.00401ad0
push 0
push 0xa
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.00471ee0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x4a8b01
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.00441b00
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.004012d0
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.00402180
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.0043bf30
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.004017d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402180
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.004012d0
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 [0x6765e8]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x6765e8]
sub ecx, 1
mov dword [0x6765e8], 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.00603490
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.00603490
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xb0], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x7c
call fcn.00603490
mov ecx, dword [ebp - 0x1c]
add ecx, 0x8c
call fcn.00603490
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