Function at 0x4247f5
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4024
call fcn.0042d1d0
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
and dword [ebp + 8], 0
push esi
push edi
test eax, eax
je 0x4250da
cmp eax, 0xfffffffe
je 0x4250da
cmp eax, 0xfffffffd
je 0x4250da
test dword [ebp + 0x14], 0x4000000
je 0x42485a
push dword [ebp + 0x14]
push dword [ebx + 0x1c]
call fcn.0042514a
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
jne 0x42484d
xor eax, eax
jmp 0x4250e1
add dword [ebp + 0xc], eax
mov esi, dword [ebp + 0x10]
adc esi, edx
mov dword [ebp + 0x10], esi
jmp 0x42485d
mov esi, dword [ebp + 0x10]
test dword [ebp + 0x14], 0x2000000
mov edx, dword [ebp + 0xc]
mov edi, 0x100000
je 0x4248b0
mov eax, edx
or eax, esi
je 0x42487b
push 7
jmp 0x4250dc
and dword [ebp + 0x14], 0xdfffffff
cmp byte [ebp + 0x14], 0
jne 0x4248a9
mov eax, dword [ebx + 0x27c]
test eax, eax
je 0x4248a9
cmp dword [eax + 0x3c], 0
jne 0x4248a9
cmp dword [eax], 0
je 0x4248a9
mov eax, dword [eax]
mov eax, dword [eax]
test edi, eax
jne 0x424940
and dword [ebp + 0x14], 0xfdffffff
cmp byte [ebp + 0x14], 0
jne 0x4248cb
push esi
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0041ebcb
mov esi, edx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], esi
mov edx, eax
test dword [ebp + 0x14], 0x20000000
je 0x424937
cmp dword [ebx + 0x250], 0
je 0x4248e4
push 0x2d
jmp 0x4250dc
mov eax, dword [ebx + 0x29c]
test eax, eax
je 0x4248fc
mov eax, dword [eax]
test al, 2
jne 0x424940
test al, 1
jne 0x4250da
cmp byte [ebp + 0x14], 0
jne 0x4250da
push 0
push dword [ebx + 0x244]
mov ecx, ebx
push dword [ebx + 0x240]
call fcn.0041ca50
cmp esi, edx
ja 0x424d03
jb 0x424874
cmp dword [ebp + 0xc], eax
jae 0x424d03
jmp 0x424874
test dword [ebx + 0x14], edi
jne 0x4250da
mov eax, dword [ebx + 0x290]
test eax, eax
je 0x4249d5
cmp byte [ebp + 0x14], 1
ja 0x4250da
je 0x42498b
mov ecx, edx
or ecx, esi
je 0x42498b
mov eax, dword [eax + 0x91c]
test eax, eax
je 0x424874
xor ecx, ecx
cmp esi, ecx
jb 0x424d03
ja 0x424874
cmp edx, eax
jb 0x424d03
jmp 0x424874
cmp dx, word [eax + 0xc]
jae 0x424874
test dword [eax + 0x2c], 0x102
movzx ecx, dx
mov edx, dword [eax + 0x48]
movzx ecx, byte [edx + ecx]
je 0x4249b4
cmp ecx, 0xff
je 0x424874
mov edx, dword [ebp + 0xc]
shr edx, 0x10
test dx, dx
je 0x424d03
cmp ecx, dword [eax + 0x14]
jge 0x424874
mov eax, dword [eax + 0x40]
cmp dx, word [eax + ecx*2]
jmp 0x424980
mov eax, dword [ebx + 0x29c]
and dword [ebp - 8], 0
and dword [ebp - 4], 0
test eax, eax
je 0x424a01
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push dword [ebx + 0x10]
call dword [eax + 0x18]
test eax, eax
jne 0x424d03
jmp 0x424846
cmp byte [ebp + 0x14], 3
jne 0x424a8e
mov ecx, dword [ebx + 0x28c]
test ecx, ecx
je 0x4250da
cmp dword [ecx + 0x2a4], 0
jne 0x4250da
mov eax, dword [ecx + 0x2a8]
cmp eax, 1
jg 0x424a34
xor eax, eax
inc eax
cdq
cmp esi, edx
jb 0x424a48
ja 0x424874
cmp dword [ebp + 0xc], eax
jae 0x424874
mov edx, dword [ebp + 0xc]
xor esi, esi
xor edi, edi
test edx, edx
je 0x424a6c
mov eax, dword [ecx + 0x2ac]
add eax, 8
mov dword [ebp + 8], edx
add esi, dword [eax]
adc edi, dword [eax + 4]
add eax, 0x20
dec dword [ebp + 8]
jne 0x424a5f
mov eax, dword [ecx + 0x290]
imul eax, dword [ecx + 0x28c]
push edi
cdq
push esi
push edx
push eax
call fcn.0042d160
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
jmp 0x424d03
cmp byte [ebp + 0x14], 0
jne 0x4250da
mov eax, edx
or eax, esi
je 0x424d03
mov edi, dword [ebx + 0x284]
test edi, edi
je 0x424aec
fild qword [ebp + 0xc]
fdiv qword [edi + 0x18]
call fcn.0042d0e6
push 0
push dword [edi + 0x10]
mov esi, edx
push esi
push eax
mov dword [ebp - 8], eax
call fcn.0042d030
sub dword [ebp - 8], eax
mov eax, dword [ebx + 0x27c]
sbb esi, edx
push esi
push dword [ebp - 8]
mov dword [ebp - 4], esi
call fcn.00405fdd
test eax, eax
jne 0x424d03
jmp 0x424874
mov edi, dword [ebx + 0x288]
test edi, edi
je 0x424d87
mov eax, dword [edi + 0x98]
or dword [ebp - 0x18], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
push 0
shl eax, 5
push eax
push esi
push dword [ebp + 0xc]
call fcn.0042d200
test dword [ebp + 0x14], 0x40000000
mov dword [ebp - 0xc], eax
je 0x424c05
cmp eax, dword [edi + 0x94]
jbe 0x424c05
mov esi, dword [ebx + 0x27c]
call fcn.004062db
cmp dword [edi + 0x8c], edx
ja 0x424c05
jb 0x424b58
cmp dword [edi + 0x88], eax
jae 0x424c05
mov eax, ebx
call fcn.00411cde
push 0xc620
push edi
mov dword [ebp + 8], 1
call fcn.0040109b
mov esi, eax
mov eax, dword [ebx + 0x27c]
call fcn.00406233
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x94]
mov dword [ebp - 0x14], edx
test eax, eax
je 0x424b9e
mov ecx, dword [esi + 0x90]
mov edx, dword [ecx + eax*8 - 8]
mov eax, dword [ecx + eax*8 - 4]
jmp 0x424ba2
xor edx, edx
xor eax, eax
push eax
push edx
push dword [ebx + 0x27c]
call fcn.004061ac
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0xc]
or eax, 0x80000000
push eax
xor edx, edx
mov ecx, esi
call fcn.0040b29a
mov eax, dword [esi + 0x90]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0x94]
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0xa0]
mov dword [edi + 0xa0], eax
mov eax, dword [esi + 0xa4]
push esi
mov dword [edi + 0xa4], eax
call fcn.004010c2
mov ecx, dword [ebp + 0x10]
lea eax, [edi + 0xa0]
mov dword [ebp - 0x10], eax
cmp ecx, dword [eax + 4]
ja 0x424cce
jb 0x424c27
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax]
jae 0x424cce
mov eax, dword [ebp - 0xc]
cmp eax, dword [edi + 0x94]
jbe 0x424cf5
mov esi, dword [edi]
call fcn.004062db
cmp byte [edi + 0x11f], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
je 0x424ca6
fild qword [ebp + 0xc]
fmul dword [0x4b93f8]
fild qword [eax]
fdivp st(1)
fld st(0)
call fcn.0042d0b0
lea ecx, [eax + edi]
movzx edx, byte [ecx + 0xbc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
cmp eax, 0x63
jge 0x424c81
movzx eax, byte [ecx + 0xbd]
jmp 0x424c86
mov eax, 0x100
fisub dword [ebp - 0xc]
sub eax, edx
mov dword [ebp - 0xc], eax
fimul dword [ebp - 0xc]
fiadd dword [ebp - 0x10]
fild qword [ebp - 0x20]
fmulp st(1)
fmul dword [0x4b9444]
call fcn.0042d0e6
jmp 0x424cb7
fild qword [ebp - 0x20]
fild qword [ebp + 0xc]
fmulp st(1)
fild qword [eax]
fdivp st(1)
call fcn.0042d0e6
push edx
mov dword [ebp - 8], eax
push eax
mov eax, dword [ebx + 0x27c]
mov dword [ebp - 4], edx
call fcn.00405fdd
test eax, eax
jne 0x424cfd
cmp dword [ebp + 8], 0
je 0x424874
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebx + 0x27c]
call fcn.004061ac
mov eax, ebx
call fcn.00411ceb
jmp 0x424874
or dword [ebp - 8], 0xffffffff
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], 0
jne 0x424d0a
mov eax, ebx
call fcn.00411cde
or dword [ebx + 0x260], 0x20
xor esi, esi
cmp dword [ebx + 0x20], esi
je 0x424d29
mov eax, dword [ebx + 0x260]
mov dword [ebp - 0x10], 1
test al, 2
je 0x424d2c
mov dword [ebp - 0x10], esi
test dword [ebp + 0x14], 0x20000000
mov dword [ebp - 0xc], esi
je 0x424ddc
push esi
push dword [ebx + 0x244]
mov ecx, ebx
push dword [ebx + 0x240]
call fcn.0041ca50
mov edi, eax
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x10], esi
je 0x424d6f
push 1
mov esi, ebx
call fcn.0041d69c
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.0041ebf3
xor esi, esi
mov eax, dword [ebx + 0x29c]
cmp eax, esi
je 0x425014
test byte [eax], 2
jne 0x424df6
jmp 0x425014
mov ecx, dword [ebx + 0x28c]
test ecx, ecx
je 0x424dd5
cmp esi, dword [ecx + 0x284]
jb 0x424dab
ja 0x424874
cmp edx, dword [ecx + 0x280]
jae 0x424874
mov eax, dword [ebx + 0x27c]
cmp dword [eax], 0
je 0x424d03
call fcn.00411771
cmp esi, edx
jb 0x424d03
ja 0x424874
cmp dword [ebp + 0xc], eax
jmp 0x424980
push 0x1b
jmp 0x4250dc
cmp dword [ebp - 0x10], esi
je 0x424df6
push 1
mov esi, ebx
call fcn.0041d69c
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.0041ebf3
xor esi, esi
mov eax, dword [ebx + 0x290]
cmp eax, esi
je 0x424e13
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push eax
call fcn.00422e74
push esi
push esi
jmp 0x42508c
test dword [ebp + 0x14], 0x2000000
je 0x424e50
mov eax, dword [ebx + 0x27c]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
or dword [edi], 4
mov eax, dword [edi]
test al, 8
je 0x424e50
and dword [edi], 0xfffffff7
lea esi, [edi + 0x44]
cmp dword [esi], 0
je 0x424e50
call fcn.004012ee
push 0
push edi
push 0x41c779
call fcn.0040129d
mov esi, dword [ebx + 0x298]
test esi, esi
je 0x424e61
push 1
call fcn.00411cb3
mov esi, dword [ebx + 0x284]
test esi, esi
je 0x424ea9
fild qword [ebp - 8]
fmul qword [esi + 0x18]
fadd qword [0x4b91e8]
call fcn.0042d0e6
push edx
push eax
mov ecx, ebx
call fcn.0041ebcb
push dword [ebp - 4]
mov edi, eax
push dword [ebp - 8]
mov dword [ebp - 0x14], edx
call fcn.00407e58
mov eax, dword [ebx + 0x284]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], ecx
jmp 0x424f5f
mov esi, dword [ebx + 0x288]
test esi, esi
je 0x424f3e
mov eax, dword [ebp - 8]
and eax, dword [ebp - 4]
cmp eax, 0xffffffff
je 0x424edb
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, edi
or ecx, eax
je 0x424efb
push 1
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
push dword [ebp - 8]
jmp 0x424f35
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
je 0x424efb
push 0
push dword [esi + 0x98]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042d200
mov dword [ebp + 8], eax
jmp 0x424eff
and dword [ebp + 8], 0
test dword [ebp + 0x14], 0x8000000
jne 0x424f16
push 4
pop eax
cmp dword [ebp + 8], eax
ja 0x424f13
mov eax, dword [ebp + 8]
sub dword [ebp + 8], eax
xor eax, eax
push eax
push dword [ebp + 8]
push eax
push dword [esi + 0x98]
call fcn.0042d160
mov edi, eax
push 0
xor eax, eax
push eax
push dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov eax, esi
call fcn.0040b046
jmp 0x424f5f
mov edi, dword [ebx + 0x28c]
test edi, edi
je 0x424f5a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00411480
mov edi, eax
mov dword [ebp - 0x14], edx
jmp 0x424f5f
xor edi, edi
mov dword [ebp - 0x14], edi
mov eax, dword [ebx + 0x29c]
test eax, eax
je 0x424fd4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebx + 0x10]
call dword [eax + 0x1c]
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
jne 0x424fad
push 0
mov esi, ebx
call fcn.0041d69c
cmp dword [ebx + 0x20], 0
jne 0x424f9a
mov dword [ebx + 0x250], 1
and dword [ebx + 0x260], 0xffffffdf
mov eax, ebx
call fcn.00411ceb
jmp 0x424846
push edx
push eax
mov ecx, ebx
call fcn.0041ebcb
mov edi, eax
mov eax, dword [ebx + 0x29c]
test byte [eax], 1
mov dword [ebp - 0x14], edx
jne 0x425088
cmp dword [eax + 0x24], 0
jne 0x425088
cmp byte [ebp + 0x14], 0
jne 0x425088
test dword [ebp + 0x14], 0x8000000
jne 0x425088
mov eax, dword [ebx + 8]
imul eax, dword [ebx + 4]
imul eax, dword [ebx]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub esi, edi
sbb ecx, dword [ebp - 0x14]
cdq
cmp ecx, edx
jb 0x425014
ja 0x42500b
cmp esi, eax
jb 0x425014
cmp dword [ebx + 0x28c], 0
je 0x425088
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 0x10], eax
jb 0x425088
mov eax, dword [ebp + 0xc]
ja 0x425025
cmp eax, edi
jbe 0x425088
sub eax, edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x20]
mov ecx, 0x4000
mov dword [ebp + 8], ecx
test eax, eax
je 0x425043
mov eax, dword [eax + 0x24]
cmp eax, ecx
jae 0x425043
mov dword [ebp + 8], eax
mov esi, dword [ebp + 8]
cmp esi, dword [ebp + 0x14]
jb 0x42504e
mov esi, dword [ebp + 0x14]
mov eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
jne 0x425064
push ebx
push esi
push 0
push dword [ebx + 0x1c]
call fcn.0041ef97
jmp 0x425074
push dword [ebx + 0x10]
lea ecx, [ebp - 0x4020]
push esi
push ecx
push dword [ebx + 0x1c]
call eax
mov ecx, eax
movzx eax, cx
cdq
add edi, eax
adc dword [ebp - 0x14], edx
cmp ecx, esi
jne 0x425088
sub dword [ebp + 0x14], ecx
jne 0x425043
push dword [ebp - 0x14]
push edi
mov eax, ebx
call fcn.0041edf6
push dword [ebp - 0x10]
and dword [ebx + 0x250], 0
or dword [ebx + 0x260], 0x80
push 0xb
mov esi, ebx
call fcn.0041cc8a
cmp dword [ebp - 0xc], 0
je 0x4250c1
push 0
mov edi, ebx
call fcn.0042255b
jmp 0x4250c6
call fcn.00401174
and dword [ebx + 0x260], 0xffffffdf
mov esi, eax
mov eax, ebx
call fcn.00411ceb
mov eax, esi
jmp 0x4250e1
push 0x25
call fcn.00401164
pop edi
pop esi
pop ebx
leave
ret 0x10