Function at 0x1008f5b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov ebx, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x100910b0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov ecx, ebx
call fcn.1008e6c0
lea ecx, [ebx + 0x30]
lea eax, [ebp - 0x78]
push dword [ebx + 0xc]
push eax
call fcn.1008c130
cmp dword [ebp - 0x68], 0
mov dword [ebp - 0x20], ebx
je 0x1008f67a
lea ecx, [ebx + 0x14]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x60]
push 0x10536064
push eax
call fcn.1008f9e0
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x78]
push edx
push eax
call fcn.1008faf0
mov dword [ebp - 0x60], 0x10397258
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
mov ebx, dword [ebp - 0x20]
jb 0x1008f66f
mov ecx, dword [ebp - 0x5c]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x1008f665
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1008f979
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.101ac81b
add esp, 8
cmp dword [ebp - 0x28], 0x10
jb 0x1008f688
mov eax, dword [ebp - 0x3c]
jmp 0x1008f68b
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 0x2c], 0x10
jb 0x1008f6df
mov ecx, dword [ebx + 0x18]
jmp 0x1008f6e2
lea eax, [ebp - 0x3c]
mov ecx, dword [ebx + 0xc]
push eax
push 0x2712
push dword [ecx]
call fcn.1018e780
add esp, 0xc
mov dword [ebp - 0x40], 0x10397258
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1008f6f2
mov ecx, dword [ebp - 0x3c]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x1008f6d3
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1008f979
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.101ac81b
add esp, 8
jmp 0x1008f6f2
lea ecx, [ebx + 0x18]
push ecx
push 0x2712
push dword [eax]
call fcn.1018e780
add esp, 0xc
lea esi, [ebx + 0x18]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x1008f71b
cmp dword [ebx + 0x2c], 0x10
mov edi, esi
jb 0x1008f707
mov edi, dword [ebx + 0x18]
push eax
push 0x3a
push edi
call fcn.10366d60
add esp, 0xc
test eax, eax
je 0x1008f71b
sub eax, edi
jmp 0x1008f727
mov dword [ebp - 0x10], 0
mov eax, 0xffffffff
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x40]
push edx
push eax
push 0
push esi
call fcn.100066a0
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0x40]
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x40]
push eax
call fcn.1008d4e0
test al, al
je 0x1008f7ce
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
push eax
call fcn.1008d5e0
cmp dword [eax + 0x14], 0x10
jb 0x1008f76f
mov eax, dword [eax]
mov esi, dword [ebp - 0x20]
lea edi, [ebp - 0x40]
mov ecx, dword [esi + 0xc]
push eax
push 0x2714
push dword [ecx]
call fcn.1018e780
add esp, 0xc
lea ecx, [esi + 0x48]
mov dword [ebp - 0x24], ecx
push edi
call fcn.1008d4e0
test al, al
je 0x1008f7ce
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
push 0xffffffffffffffef
push 0x6f
push dword [eax]
call fcn.1018e780
add esp, 0xc
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
push eax
call fcn.1008da30
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0xc]
push eax
push 0x2716
push dword [ecx]
call fcn.1018e780
add esp, 0xc
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0xc]
mov byte [eax + 0x10], 0
lea ebx, [edi + 0x164]
cmp dword [edi + 0x178], 0x10
mov eax, ebx
jb 0x1008f7ef
mov eax, dword [edi + 0x164]
mov dword [edi + 0x174], 0
mov byte [eax], 0
mov eax, dword [edi + 0x160]
test eax, eax
je 0x1008f840
cmp dword [edi + 0x178], eax
jae 0x1008f840
mov ecx, dword [edi + 0x174]
mov dword [ebp - 0x44], ecx
sub eax, ecx
sub esp, 8
movzx ecx, byte [ebp - 0x60]
mov byte [esp + 4], cl
mov dword [esp], eax
mov dword [ebp - 0x24], ebx
mov ecx, ebx
call fcn.1005ad30
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x174], eax
mov ebx, dword [ebp - 0x24]
lea esi, [edi + 0x17c]
cmp dword [edi + 0x190], 0x10
mov eax, esi
jb 0x1008f857
mov eax, dword [edi + 0x17c]
mov dword [edi + 0x18c], 0
mov byte [eax], 0
cmp dword [edi + 0xfc], 0
je 0x1008f913
cmp dword [edi + 0xcc], 0
je 0x1008f94a
mov eax, dword [edi + 0xc]
push 1
push 0xac
push dword [eax]
call fcn.1018e780
add esp, 0xc
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1008f8ca
mov ecx, dword [ebp - 0x40]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x1008f8c0
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1008f979
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.101ac81b
add esp, 8
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x1008f902
mov ecx, dword [ebp - 0x78]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x1008f8f8
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1008f979
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.101ac81b
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [edi + 0xc]
push 0x100925e0
push 0x4e2b
push dword [eax]
call fcn.1018e780
add esp, 0xc
mov eax, dword [edi + 0xc]
push ebx
push 0x2711
push dword [eax]
call fcn.1018e780
add esp, 0xc
cmp dword [edi + 0xcc], 0
jne 0x1008f87e
mov eax, dword [edi + 0xc]
push 0x100925e0
push 0x4e6f
push dword [eax]
call fcn.1018e780
add esp, 0xc
mov eax, dword [edi + 0xc]
push esi
push 0x272d
push dword [eax]
call fcn.1018e780
add esp, 0xc
jmp 0x1008f87e
call fcn.10378384
nop
push ebp
sub esp, 0x10
add ebp, 0xc
lea ecx, [ebp - 0x60]
call fcn.100028c0
add esp, 0x10
pop ebp
ret