Function at 0x1006f120
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov eax, dword [0x102f0d80]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov word [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0x1da8]
mov dword [esp + 0x24], eax
test eax, eax
je 0x1006f925
push esi
call fcn.1006c250
mov ebx, dword [esi + 0x1d6c]
mov ecx, edx
mov edi, dword [esi + 0x1d68]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
cmp ecx, ebx
jl 0x1006f18c
jg 0x1006f184
cmp eax, edi
jbe 0x1006f18c
mov dword [esp + 0x28], 1
cmp dword [ebp + 0xc], 0
je 0x1006f242
push esi
call fcn.1006c490
mov edi, dword [esi + 0x1d68]
mov ecx, edx
mov ebx, dword [esi + 0x1d6c]
add esp, 4
mov edx, dword [esi + 0x1d7c]
mov dword [esp + 0x18], eax
mov dword [esi + 0x1d50], eax
sub eax, edi
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x1d54], ecx
sbb ecx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esi + 0x1d70], eax
mov dword [esi + 0x1d74], ecx
mov ecx, dword [esi + 0x1d78]
mov eax, ecx
or eax, edx
je 0x1006f213
sub ecx, dword [esp + 0x18]
sbb edx, dword [esp + 0x1c]
add ecx, dword [esp + 0xc]
mov eax, ecx
adc edx, dword [esp + 0x10]
mov ecx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esi + 0x1d70], eax
mov dword [esi + 0x1d74], ecx
mov ecx, dword [esi + 0x1d84]
test ecx, ecx
jle 0x1006f242
mov eax, dword [esi + 0x1d1c]
imul eax, ecx
cdq
push edx
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.1011c9c0
mov dword [esi + 0x1d10], eax
mov dword [esi + 0x1d14], edx
cmp dword [esi + 0x90c], 0x30
jne 0x1006f2a2
test ebx, ebx
jl 0x1006f2a2
jg 0x1006f255
test edi, edi
je 0x1006f2a2
cmp dword [esi + 0x1e4c], 0
jbe 0x1006f2a2
push esi
call fcn.1006ee60
add esp, 4
test eax, eax
jne 0x1006f967
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jl 0x1006f28e
mov eax, dword [esp + 0x20]
jg 0x1006f281
test eax, eax
je 0x1006f28e
push 0
push ecx
push eax
push esi
call fcn.1006c190
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1011bad5
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x1d20]
mov eax, 0x10000000
mov edx, dword [esi + 0x1d10]
mov ecx, edi
and ecx, 0x30000000
cmp ecx, 0x30000000
cmove ecx, eax
mov ax, word [esi + 0x1d84]
shl ax, 3
cmp dword [esi + 0x1d14], 0
movzx eax, ax
mov dword [esp + 0x10], eax
jl 0x1006f2f0
jg 0x1006f2e6
cmp edx, 0xffffffff
jbe 0x1006f2f0
mov dword [esp + 0x18], 0xffffffff
jmp 0x1006f2f4
mov dword [esp + 0x18], edx
movzx eax, di
or eax, ecx
cmp eax, 0x10000001
ja 0x1006f40e
je 0x1006f3ed
dec eax
cmp eax, 0x41
ja case.0x1006f31b.8
movzx eax, byte [eax + 0x1006f9ac]
jmp dword [eax*4 + 0x1006f97c]
mov edi, 0x46464941
mov dword [esp + 0xc], 0x12
xor ebx, ebx
jmp 0x1006f4eb
mov ebx, 0x32334c46
jmp 0x1006f4de
mov ebx, 0x34364c46
jmp 0x1006f4de
mov ebx, 0x77616c75
jmp 0x1006f4de
mov ebx, 0x77616c61
jmp 0x1006f4de
mov ebx, 0x20776172
jmp 0x1006f4de
mov ebx, 0x57565744
mov dword [esp + 0x10], 0xc
jmp 0x1006f4de
mov ebx, 0x57565744
mov dword [esp + 0x10], 0x10
jmp 0x1006f4de
mov ebx, 0x57565744
mov dword [esp + 0x10], 0x18
jmp 0x1006f4de
mov ebx, 0x204d5347
mov dword [esp + 0x10], 0x10
jmp 0x1006f4de
push 0
push 0x40
push dword [esi + 0x1d14]
mov dword [esi + 0x1ce8], 0x20000000
mov edi, 0x43464941
push edx
mov dword [esp + 0x1c], 0x18
mov ebx, 0x34616d69
mov dword [esp + 0x20], 0x10
call fcn.1011c9c0
mov dword [esp + 0x18], eax
jmp 0x1006f4f5
mov dword [esi + 0x1ce8], 0x10000000
mov edi, 0x43464941
mov dword [esp + 0xc], 0x18
mov ebx, 0x74776f73
jmp 0x1006f4f5
cmp eax, 0x20000001
ja 0x1006f48c
je 0x1006f4d9
sub eax, 0x10000002
je 0x1006f46e
sub eax, 1
je 0x1006f44d
sub eax, 1
jne case.0x1006f31b.8
mov dword [esi + 0x1ce8], 0x10000000
mov edi, 0x43464941
mov dword [esp + 0xc], 0x18
mov ebx, 0x696e3332
jmp 0x1006f4f5
mov dword [esi + 0x1ce8], 0x10000000
mov edi, 0x43464941
mov dword [esp + 0xc], 0x18
mov ebx, 0x316e3234
jmp 0x1006f4f5
mov dword [esi + 0x1ce8], 0x10000000
mov ebx, 0x74776f73
mov dword [esp + 0xc], 0x18
mov edi, 0x43464941
jmp 0x1006f4f5
sub eax, 0x20000002
je 0x1006f4d9
sub eax, 1
je 0x1006f4bb
sub eax, 1
je 0x1006f4b4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1011bad5
mov esp, ebp
pop ebp
ret
mov ebx, 0x32336e69
jmp 0x1006f4de
mov dword [esi + 0x1ce8], 0x20000000
mov ebx, 0x34326e69
mov dword [esp + 0xc], 0x18
mov edi, 0x43464941
jmp 0x1006f4f5
mov ebx, 0x736f7774
mov dword [esp + 0xc], 0x18
mov edi, 0x43464941
mov dword [esi + 0x1ce8], 0x20000000
mov eax, dword [esi + 0x1b28]
push 0
push 0
push 0
mov byte [eax], 0
push esi
mov dword [esi + 0x1b30], 0
mov dword [esi + 0x1b34], 0
call fcn.1006c190
mov ecx, dword [esi + 0x1d50]
mov eax, dword [esi + 0x1d54]
add ecx, 0xfffffff8
adc eax, 0xffffffff
push eax
push ecx
push 0x4d524f46
push str.Etm8
push esi
call fcn.100699b0
add esp, 0x24
cmp edi, 0x43464941
jne 0x1006f56a
push 0xa2805140
push 4
push 0x52455646
push edi
push str.Emm44
push esi
call fcn.100699b0
add esp, 0x18
jmp 0x1006f579
push edi
push 0x10205214
push esi
call fcn.100699b0
add esp, 0xc
mov ecx, dword [esi + 0x1b30]
xorps xmm0, xmm0
mov eax, dword [esi + 0x1b34]
sub ecx, 8
mov edx, dword [esp + 0x24]
sbb eax, 0
mov dword [edx + 4], eax
mov eax, 0x40000000
mov dword [edx], ecx
mov ecx, dword [esi + 0x1d18]
movlpd qword [esp + 0x32], xmm0
cmp ecx, 1
ja 0x1006f5bb
mov word [esp + 0x30], 0xff3f
mov byte [esp + 0x32], 0x80
jmp 0x1006f61d
mov byte [esp + 0x30], 0x40
cmp ecx, eax
jb 0x1006f5cb
mov byte [esp + 0x31], 0x1d
jmp 0x1006f61d
xor edx, edx
nop dword [eax]
test ecx, eax
jne 0x1006f5dc
inc edx
shr eax, 1
cmp edx, 0x20
jl 0x1006f5d0
cmp edx, 0x1f
jge 0x1006f5f4
mov eax, dword [esi + 0x1d18]
lea ecx, [edx + 1]
shl eax, cl
mov dword [esp + 0x1c], eax
mov ecx, eax
jmp 0x1006f5f6
xor ecx, ecx
mov al, 0x1d
mov byte [esp + 0x35], cl
sub al, dl
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x32], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x33], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x10]
movzx eax, ax
push eax
push dword [esp + 0x1c]
movzx eax, word [esi + 0x1d1c]
push eax
push dword [esp + 0x18]
push 0x4d4d4f43
push str.Em42t42
push esi
call fcn.100699b0
push 0xa
lea eax, [esp + 0x50]
push eax
push 0x10203d40
push esi
call fcn.100699b0
add esp, 0x2c
cmp edi, 0x43464941
jne 0x1006f678
push 2
lea eax, [esp + 0x18]
push eax
push ebx
push 0x10204e8c
push esi
call fcn.100699b0
add esp, 0x14
cmp dword [esi + 0x1d4c], 0
je 0x1006f6a6
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1006f6a6
push 0
push 0
push eax
push 0xc
push 0x4e414843
push str.Em4444
push esi
call fcn.100699b0
add esp, 0x1c
cmp dword [esi + 0x1d40], 0
jne 0x1006f766
mov ecx, dword [esi + 0x1d38]
test ecx, ecx
je 0x1006f766
mov edi, dword [ecx]
xor ebx, ebx
test edi, edi
je 0x1006f706
lea edx, [ecx + 0x1c]
nop dword [eax]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f6e0
sub ecx, dword [esp + 0x1c]
add edx, 0x118
inc ecx
mov eax, ecx
and eax, 1
add eax, ecx
add ebx, eax
sub edi, 1
jne 0x1006f6d0
mov ecx, dword [esi + 0x1d38]
movzx eax, word [ecx]
push eax
mov eax, dword [ecx]
lea eax, [eax + eax*2]
lea eax, [eax + 1]
lea eax, [ebx + eax*2]
push eax
push 0x4b52414d
push str.Em42
push esi
call fcn.100699b0
mov ecx, dword [esi + 0x1d38]
xor ebx, ebx
add esp, 0x14
cmp dword [ecx], ebx
jbe 0x1006f766
xor edi, edi
lea eax, [ecx + 0x1c]
add eax, edi
push eax
push dword [edi + ecx + 0x18]
movzx eax, word [edi + ecx + 4]
push eax
push str.E24p
push esi
call fcn.100699b0
mov ecx, dword [esi + 0x1d38]
inc ebx
add esp, 0x14
add edi, 0x118
cmp ebx, dword [ecx]
jb 0x1006f737
test dword [esi + 0x1cd8], 0x400
je 0x1006f780
push 0x400
push esi
call fcn.1006f9f0
add esp, 8
mov eax, dword [esi + 0x1d34]
test eax, eax
je 0x1006f81d
cmp dword [eax], 0x2a
jne 0x1006f81d
mov eax, dword [esi + 0x1d1c]
lea eax, [eax*8 + 8]
push eax
push 0x4b414550
push 0x102053a0
push esi
call fcn.100699b0
push 0
call fcn.101337f0
push eax
push 1
push 0x10204c6c
push esi
call fcn.100699b0
xor ebx, ebx
add esp, 0x24
cmp dword [esi + 0x1d1c], ebx
jle 0x1006f81d
xor edi, edi
nop dword [eax]
mov eax, dword [esi + 0x1d34]
movsd xmm0, qword [eax + edi + 0x10]
push dword [eax + edi + 0x1c]
cvtpd2ps xmm0, xmm0
push dword [eax + edi + 0x18]
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str.Eft8
push esi
call fcn.100699b0
inc ebx
lea edi, [edi + 0x10]
add esp, 0x18
cmp ebx, dword [esi + 0x1d1c]
jl 0x1006f7e0
xor ebx, ebx
cmp dword [esi + 0x1e5c], ebx
jbe 0x1006f85e
xor edi, edi
nop dword [eax]
mov ecx, dword [esi + 0x1e60]
mov eax, dword [ecx + edi + 0xc]
push eax
push dword [ecx + edi + 0x10]
push eax
push dword [ecx + edi + 8]
push str.Em4b
push esi
call fcn.100699b0
inc ebx
lea edi, [edi + 0x18]
add esp, 0x18
cmp ebx, dword [esi + 0x1e5c]
jb 0x1006f830
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x1b30]
mov ecx, dword [esi + 0x1b34]
push 0
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0x1d70]
mov eax, dword [esi + 0x1d74]
add ecx, 8
push 0
adc eax, 0
push eax
push ecx
push 0x444e5353
push str.Etm844
push esi
call fcn.100699b0
push esi
push 0
push 1
push dword [esi + 0x1b34]
push dword [esi + 0x1b30]
push dword [esi + 0x1b28]
call fcn.1006c370
mov eax, dword [esi + 0x1ce4]
add esp, 0x34
test eax, eax
jne 0x1006f967
cmp dword [esp + 0x28], eax
je 0x1006f93c
mov eax, dword [esi + 0x1d68]
cmp eax, dword [esi + 0x1b30]
jne 0x1006f91b
mov eax, dword [esi + 0x1d6c]
cmp eax, dword [esi + 0x1b34]
jne 0x1006f91b
mov ecx, dword [esi + 0x1b34]
mov eax, dword [esi + 0x1b30]
mov dword [esi + 0x1d6c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x1d68], eax
test ecx, ecx
jl 0x1006f961
mov eax, dword [esp + 0x20]
jg 0x1006f915
test eax, eax
je 0x1006f961
push 0
push ecx
push eax
jmp 0x1006f958
mov dword [esi + 0x1ce4], 0x1d
mov eax, 0x1d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1011bad5
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1b34]
mov ecx, dword [esi + 0x1b30]
push 0
push eax
mov dword [esi + 0x1d68], ecx
mov dword [esi + 0x1d6c], eax
push ecx
push esi
call fcn.1006c190
add esp, 0x10
mov eax, dword [esi + 0x1ce4]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011bad5
mov esp, ebp
pop ebp
ret