Function at 0x1000df20
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x1005d004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, edx
mov dword [ebp - 0x450], ecx
mov ecx, 0x30
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x2c]
add eax, 0x28
mov dword [ebp - 0x438], esi
cmp eax, ecx
push edi
cmovb eax, ecx
push eax
mov dword [ebp - 0x440], eax
call fcn.1002b982
mov edi, eax
add esp, 4
test edi, edi
je 0x1000e5ff
push dword [ebp - 0x440]
push 0
push edi
call fcn.100105a0
mov ecx, dword [ebx + 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x474], xmm0
add esp, 0xc
movlpd qword [ebp - 0x46c], xmm0
movlpd qword [ebp - 0x45c], xmm0
mov dword [edi + 0x20], 0
mov eax, dword [ebx + 8]
mov dword [edi], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x460], eax
mov eax, dword [esi + 0x328]
mov dword [ebp - 0x464], eax
mov eax, dword [0x1005d8d0]
mov dword [edi + 4], 0xc000000d
mov dword [edi + 0x20], 0
test eax, eax
je 0x1000dff6
test ecx, ecx
je 0x1000dfe0
mov eax, dword [ecx + 0x18]
jmp 0x1000dfe3
or eax, 0xffffffff
push eax
push 0x1005a888
call fcn.1000d850
mov eax, dword [0x1005d8d0]
add esp, 8
mov ecx, dword [ebx + 0x28]
lea edx, [ecx - 1]
cmp edx, 6
ja case.0x1000e005.2
jmp dword [edx*4 + 0x1000e610]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], eax
cmp eax, 0x18
jae 0x1000e045
mov eax, 0x80000005
mov dword [edi + 4], eax
jmp 0x1000e59f
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.100105a0
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x208
push 0
push eax
call fcn.100105a0
mov eax, dword [esi + 0x32c]
add esp, 0xc
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x1000e0c7
lea ecx, [ebp - 0x474]
push ecx
push 0x104
lea ecx, [ebp - 0x41c]
push ecx
lea ecx, [ebp - 0x428]
push ecx
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push 0x104
lea ecx, [ebp - 0x214]
push ecx
call eax
cmp eax, 0xc0000002
je 0x1000e0c7
test eax, eax
je 0x1000e117
mov dword [edi + 4], eax
jmp 0x1000e59f
push 0x1005a870
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.1002c795
add esp, 0xc
mov dword [ebp - 0x420], 0x19831116
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x430], 0x100
mov dword [ebp - 0x428], 0x107
push 0x1005a87c
push 0x104
push eax
call fcn.1002c795
add esp, 0xc
mov edx, dword [ebp - 0x424]
lea ecx, [ebp - 0x214]
mov eax, dword [ebp - 0x420]
lea esi, [ecx + 2]
add edx, 0xffffffee
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], eax
mov byte [edi + 0x34], 0
mov dword [ebp - 0x424], edx
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e150
sub ecx, esi
mov esi, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp edx, eax
cmovae esi, eax
lea eax, [ebp - 0x214]
push esi
push eax
lea eax, [edi + 0x36]
mov dword [edi + 0x30], esi
push eax
call fcn.10017e80
sub esi, dword [ebp - 0x424]
add esp, 0xc
add esi, dword [ebx + 0x2c]
xor eax, eax
mov dword [edi + 0x20], esi
mov esi, dword [ebp - 0x438]
mov dword [edi + 4], eax
jmp 0x1000e59f
cmp dword [ebx + 0x2c], 0x18
xorps xmm0, xmm0
mov eax, dword [ebp - 0x464]
movlpd qword [ebp - 0x43c], xmm0
movlpd qword [ebp - 0x434], xmm0
movlpd qword [ebp - 0x44c], xmm0
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x424], eax
jae 0x1000e1e2
mov eax, 0x80000005
mov dword [edi + 4], eax
jmp 0x1000e59f
mov eax, dword [esi + 0x32c]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x1000e23c
lea ecx, [ebp - 0x474]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x434]
push ecx
lea ecx, [ebp - 0x43c]
push ecx
call eax
cmp eax, 0xc0000002
je 0x1000e23c
test eax, eax
jne 0x1000e29d
mov eax, dword [ebp - 0x43c]
mov ebx, dword [ebp - 0x438]
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x430]
jmp 0x1000e24f
xor ebx, ebx
mov dword [ebp - 0x428], 0x20000000
mov ecx, 0x40000000
xor eax, eax
push 0
push dword [ebp - 0x420]
push eax
push ecx
call fcn.10050390
push 0
push dword [ebp - 0x420]
mov dword [edi + 0x24], eax
push ebx
push dword [ebp - 0x428]
mov dword [edi + 0x28], edx
call fcn.10050390
mov ecx, dword [ebp - 0x424]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x420]
mov dword [edi + 0x30], edx
xor edx, edx
div ecx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x34], eax
xor eax, eax
mov dword [edi + 0x20], 0x18
mov dword [edi + 4], eax
jmp 0x1000e59f
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x428], eax
cmp eax, 0x10
jae 0x1000e2d4
mov edx, 0x80000005
mov dword [edi + 4], edx
jmp 0x1000e59f
push 0x208
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.100105a0
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x208
push 0
push eax
call fcn.100105a0
mov eax, dword [esi + 0x32c]
add esp, 0xc
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x1000e359
lea ecx, [ebp - 0x474]
push ecx
push 0x104
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x424]
push ecx
push 0x104
lea ecx, [ebp - 0x41c]
push ecx
call eax
mov edx, eax
cmp edx, 0xc0000002
je 0x1000e359
test edx, edx
je 0x1000e3ab
mov dword [edi + 4], edx
jmp 0x1000e59f
push 0x1005a870
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.1002c795
add esp, 0xc
mov dword [ebp - 0x424], 0x19831116
lea eax, [ebp - 0x214]
mov dword [ebp - 0x430], 0x100
mov dword [ebp - 0x420], 0x107
push 0x1005a87c
push 0x104
push eax
call fcn.1002c795
add esp, 0xc
xor edx, edx
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x214]
mov esi, dword [ebp - 0x428]
mov dword [edi + 0x24], eax
add esi, 0xfffffff4
mov eax, dword [ebp - 0x430]
mov dword [edi + 0x28], eax
lea eax, [ecx + 2]
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e3e0
sub ecx, dword [ebp - 0x424]
sar ecx, 1
lea eax, [ecx + ecx]
mov ecx, 0x80000005
cmp esi, eax
cmovae esi, eax
cmovb edx, ecx
push esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x424], edx
push eax
lea eax, [edi + 0x30]
mov dword [edi + 0x2c], esi
push eax
call fcn.10017e80
sub esi, dword [ebp - 0x428]
add esp, 0xc
add esi, dword [ebx + 0x2c]
mov edx, dword [ebp - 0x424]
mov dword [edi + 0x20], esi
mov esi, dword [ebp - 0x438]
mov dword [edi + 4], edx
jmp 0x1000e59f
cmp dword [ebx + 0x2c], 0x20
xorps xmm0, xmm0
mov eax, dword [ebp - 0x464]
movlpd qword [ebp - 0x43c], xmm0
movlpd qword [ebp - 0x42c], xmm0
movlpd qword [ebp - 0x44c], xmm0
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x424], eax
jae 0x1000e486
mov eax, 0x80000005
mov dword [edi + 4], eax
jmp 0x1000e59f
mov eax, dword [esi + 0x32c]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x1000e4f8
lea ecx, [ebp - 0x474]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x43c]
push ecx
call eax
cmp eax, 0xc0000002
je 0x1000e4f8
test eax, eax
jne 0x1000e588
mov eax, dword [ebp - 0x43c]
mov edx, dword [ebp - 0x448]
mov ebx, dword [ebp - 0x438]
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x438], edx
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 0x428], edx
jmp 0x1000e51b
xor ebx, ebx
mov dword [ebp - 0x430], 0x20000000
xor eax, eax
mov dword [ebp - 0x428], 0x20000000
mov ecx, 0x40000000
mov dword [ebp - 0x438], eax
push 0
push dword [ebp - 0x420]
push eax
push ecx
call fcn.10050390
push 0
push dword [ebp - 0x420]
mov dword [edi + 0x24], eax
push dword [ebp - 0x438]
mov dword [edi + 0x28], edx
push dword [ebp - 0x428]
call fcn.10050390
push 0
push dword [ebp - 0x420]
mov dword [edi + 0x34], eax
push ebx
push dword [ebp - 0x430]
mov dword [edi + 0x38], edx
call fcn.10050390
mov ecx, dword [ebp - 0x424]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x420]
mov dword [edi + 0x30], edx
xor edx, edx
div ecx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x3c], eax
xor eax, eax
mov dword [edi + 0x20], 0x20
mov dword [edi + 4], eax
jmp 0x1000e59f
test eax, eax
je 0x1000e59f
push ecx
push 0x1005a8a4
call fcn.1000d850
add esp, 8
push 0
lea eax, [ebp - 0x424]
push eax
push 0
push 0
push dword [ebp - 0x440]
push edi
push 0x9200c
push dword [ebp - 0x450]
call dword [0x10051090]
test eax, eax
jne 0x1000e5e5
call dword [0x10051078]
cmp dword [0x1005d8d0], 0
je 0x1000e5e5
push eax
push 0x10059634
call fcn.10003d50
add esp, 8
push esi
lea edx, [ebp - 0x474]
mov ecx, edi
call fcn.10005b00
add esp, 4
push edi
call fcn.1002b967
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000eb01
mov esp, ebp
pop ebp
ret