Function at 0x100807c0
Capabilities:
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x10147cdf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], edi
call fcn.100a8cb0
mov eax, dword [edi + 0x20]
test eax, eax
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x40], 0
je 0x100808a5
cmp dword [eax + 0x1a], 0
je 0x100808a5
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x1008081c
cmp eax, 0xfffffffe
jne 0x100808a5
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
call fcn.10073800
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx + 0x1a]
test eax, eax
mov byte [esp + 0x40], 1
je 0x1008083e
lea esi, [eax + 4]
jmp 0x10080840
xor esi, esi
mov ecx, dword [esi]
test ecx, ecx
mov dword [esp + 0x50], esi
je 0x1008084f
call fcn.100a9480
mov edx, dword [edi + 0x20]
mov ecx, dword [edx + 0x1a]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
push ebp
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x4c], 2
call eax
mov ecx, dword [esi]
test ecx, ecx
mov byte [esp + 0x40], 1
je 0x1008087c
call fcn.100a9490
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.100a93c0
push 0
lea ecx, [esp + 0x10]
call fcn.100a8ef0
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 0
call fcn.1009b200
mov edx, dword [edi]
mov eax, dword [edx + 8]
push ebx
mov ecx, edi
call eax
mov esi, eax
test esi, esi
je 0x100809ad
lea ecx, [esp + 0x14]
call fcn.1009dbc0
lea ecx, [esi + 4]
push ecx
mov byte [esp + 0x48], 3
mov dword [esp + 0x58], esi
call fcn.100a9440
mov ecx, dword [esi + 8]
add esp, 4
test ecx, ecx
je 0x100808e3
call fcn.100a9480
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push ebp
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x4c], 4
call edx
test eax, eax
jne 0x1008096b
mov eax, dword [esp + 0x10]
xor edi, edi
cmp dword [eax + 4], edi
jle 0x10080976
mov ebx, 0x10
jmp 0x10080910
cmp dword [eax], 1
jle 0x10080922
lea ecx, [esp + 0x10]
call fcn.100a8d20
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov eax, dword [ebx + eax]
mov edx, dword [edx + 0x54]
push 0x10000
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, esi
call edx
test eax, eax
jne 0x1008095a
mov eax, dword [esp + 0x14]
mov ecx, dword [0x103271bc]
add eax, 0xc
push eax
call fcn.1005f1d0
mov ecx, dword [esp + 0x50]
push eax
call fcn.100a9240
mov eax, dword [esp + 0x10]
add edi, 1
add ebx, 4
cmp edi, dword [eax + 4]
jl 0x10080910
jmp 0x10080976
mov ecx, dword [edi + 0x4a]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
push 0
lea ecx, [esp + 0x14]
call fcn.100a8ef0
mov ecx, dword [esi + 8]
test ecx, ecx
mov byte [esp + 0x44], 3
je 0x10080992
call fcn.100a9490
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0
call fcn.1009dbf0
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x5a]
push ecx
lea ecx, [esp + 0x14]
call fcn.100a8ef0
lea edx, [edi + 0x2a]
mov byte [esp + 0x4c], 0
mov byte [esp + 0x54], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 8
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
test esi, esi
je 0x10080ad8
mov eax, dword [esi + 0xc]
test eax, 0x4000000
jne 0x10080ac9
test ebp, 0x2000000
je 0x10080a02
test eax, 0x2000000
jne 0x10080ac9
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x50]
push eax
call fcn.100a8c30
test eax, eax
jge 0x10080ac9
mov ebx, dword [esi + 0xc]
test ebx, ebx
jne 0x10080a52
test ebp, ebp
jns 0x10080a52
mov edx, dword [esi]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0xc]
push eax
mov ecx, esi
call edx
cmp dword [eax + 0x10], 5
jne 0x10080a52
mov eax, dword [eax + 8]
test eax, eax
je 0x10080a52
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x90]
call eax
test eax, eax
je 0x10080a52
mov ebx, 0x20
test ebp, 0x10000000
jne 0x10080a62
test ebx, 0x1000
jne 0x10080ac9
test ebp, 0x8000000
jne 0x10080a6f
test bl, 2
jne 0x10080ac9
test bl, 0x20
je 0x10080a7a
test ebp, ebp
jns 0x10080ac9
jmp 0x10080a94
test ebp, 0x20000000
je 0x10080a87
test bl, 1
je 0x10080a94
test ebp, 0x40000000
je 0x10080ac9
test bl, 1
je 0x10080ac9
mov edi, dword [esi + 4]
test edi, edi
jne 0x10080aa2
mov byte [esp + 0x4c], 1
jmp 0x10080ac9
cmp edi, 0x74
jne 0x10080aac
mov byte [esp + 0x54], 1
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 1
mov ebx, dword [esi + 0x14]
jle 0x10080ac1
lea ecx, [esp + 0x10]
call fcn.100a8d20
mov edx, dword [esp + 0x10]
mov dword [edx + ebx*4 + 0x10], edi
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x100809e1
mov edi, dword [esp + 0x18]
add dword [esp + 0x1c], 4
sub dword [esp + 0x20], 1
jne 0x100809d3
cmp byte [esp + 0x54], 0
pop ebx
jne 0x10080b25
test ebp, 0x8000000
je 0x10080b25
cmp dword [edi + 0x4e], 0x20000089
je 0x10080b1a
cmp dword [edi + 0x24], 0
je 0x10080b25
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x20636f6c
call edx
test eax, eax
je 0x10080b25
push 0x74
lea ecx, [esp + 0x10]
call fcn.100a9240
mov esi, dword [esp + 0x4c]
push 0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.100a93c0
cmp byte [esp + 0x48], 0
je 0x10080b47
push 0
mov ecx, esi
call fcn.100a9240
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.100a8ce0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc