Function at 0x1005b6a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c30c7
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x100fb03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [edi + 8]
lea esi, [edi + 0xc]
push esi
lea ecx, [ebp - 0x150]
call fcn.10008cd0
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x138]
call fcn.10008cd0
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x120]
call fcn.10008cd0
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [ebp - 0x108]
call fcn.10008cd0
mov byte [ebp - 4], 3
lea eax, [esi + 0x60]
push eax
lea ecx, [ebp - 0xf0]
call fcn.10008cd0
mov byte [ebp - 4], 4
lea eax, [esi + 0x78]
push eax
lea ecx, [ebp - 0xd8]
call fcn.1005bc50
mov byte [ebp - 4], 5
lea eax, [esi + 0x84]
push eax
lea ecx, [ebp - 0xcc]
call fcn.10008cd0
mov dword [ebp - 4], 7
test ebx, ebx
jne 0x1005b814
push 1
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x290]
call fcn.10068080
mov byte [ebp - 4], 8
lea eax, [ebp - 0x290]
push ebx
push eax
lea eax, [ebp - 0x150]
push eax
lea ecx, [edi + 0xa8]
call fcn.100650e0
mov bl, al
test bl, bl
jne 0x1005b7c7
lea ecx, [edi + 0xa8]
call fcn.10066430
test al, al
je 0x1005b7c7
add dword [ebp - 0x290], 1
adc dword [ebp - 0x28c], 0
jmp 0x1005b7e0
mov eax, dword [ebp - 0x290]
or eax, dword [ebp - 0x28c]
je 0x1005b7e7
xorps xmm0, xmm0
movlpd qword [ebp - 0x290], xmm0
mov byte [ebp - 0x1f4], 1
mov byte [edi + 0x218], bl
mov byte [ebp - 4], 9
cmp byte [ebp - 0x1f4], 0
je 0x1005b805
lea ecx, [ebp - 0x290]
call fcn.10068be0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20c]
jmp 0x1005ba2d
cmp ebx, 1
jne 0x1005b95e
push ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10068080
mov byte [ebp - 4], 0xa
lea esi, [edi + 0xa8]
mov eax, dword [ebp - 0xb0]
or eax, dword [ebp - 0xac]
je 0x1005b8a3
push 0
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.100650e0
test al, al
jne 0x1005b884
mov ecx, esi
call fcn.10066430
test al, al
je 0x1005b884
add dword [ebp - 0xb0], ebx
adc dword [ebp - 0xac], 0
jmp 0x1005b89f
mov eax, dword [ebp - 0xb0]
mov ecx, esi
or eax, dword [ebp - 0xac]
je 0x1005b8a3
xorps xmm0, xmm0
movlpd qword [ebp - 0xb0], xmm0
mov byte [ebp - 0x14], 1
inc dword [ebp - 0x94]
lea eax, [ebp - 0xb0]
push 1
push eax
lea eax, [ebp - 0x150]
mov byte [ebp - 0x14], 1
push eax
mov ecx, esi
call fcn.100650e0
mov byte [edi + 0x218], al
test al, al
je 0x1005b93d
mov eax, dword [ebp - 0xb0]
or eax, dword [ebp - 0xac]
je 0x1005b8eb
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
movlpd qword [ebp - 0xb0], xmm0
push 0
call fcn.1008d94a
mov dword [ebp - 0xa0], eax
add esp, 4
mov eax, dword [ebp - 0x98]
bts eax, 0xb
mov dword [ebp - 0x9c], edx
mov byte [ebp - 0x14], 1
push 0
mov dword [ebp - 0x98], eax
call fcn.1008d94a
mov byte [ebp - 0x14], 1
add esp, 4
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x94], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 0xb
cmp byte [ebp - 0x14], 0
je 0x1005b952
lea ecx, [ebp - 0xb0]
call fcn.10068be0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
jmp 0x1005ba2d
cmp ebx, 2
jne 0x1005ba32
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.10068080
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x1f0]
push ebx
push eax
lea eax, [ebp - 0x150]
lea ecx, [edi + 0xa8]
push eax
call fcn.100650e0
push 0x60
mov byte [edi + 0x218], al
xorps xmm0, xmm0
lea eax, [ebp - 0x1cc]
mov byte [ebp - 0x154], 1
push 0
push eax
movlpd qword [ebp - 0x1f0], xmm0
movlpd qword [ebp - 0x1e8], xmm0
movlpd qword [ebp - 0x1e0], xmm0
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
call fcn.1008ac40
add esp, 0xc
mov byte [ebp - 0x154], 0
lea ecx, [ebp - 0x16c]
call fcn.100191e0
mov byte [ebp - 4], 0xd
cmp byte [ebp - 0x154], 0
je 0x1005ba23
lea ecx, [ebp - 0x1f0]
call fcn.10068be0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x16c]
call fcn.10004840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.100318a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100881a5
mov esp, ebp
pop ebp
ret