Function at 0x4322a0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
push edi
sub esp, 0x20
mov edx, dword [0x57f424]
xor edi, edi
cmp edx, 4
jne 0x4323c3
mov eax, dword [0x57f76c]
call fcn.0046fa3c
fld dword [0x57f414]
fld1
fcompp
fnstsw ax
sahf
jne 0x4323a5
mov eax, dword [0x491e18]
mov ecx, dword [0x57f784]
add ecx, eax
mov eax, ecx
and eax, 0x1f
mov dword [0x57f784], ecx
cmp eax, 0xf
jle 0x432462
mov byte [ebp - 0x18], 0x20
fld dword [0x57f77c]
mov ebx, dword [0x57f790]
call fcn.004797c0
fistp dword [0x57f798]
test ebx, ebx
je 0x43246b
fld dword [0x491e24]
fmul dword [0x4963b0]
fadd dword [0x57f77c]
fstp dword [0x57f77c]
cmp dword [0x57f78c], 0
je 0x432352
mov edx, dword [0x57f788]
xor eax, eax
inc edx
mov dword [0x57f77c], eax
mov dword [0x57f788], edx
mov ecx, dword [0x57f788]
xor esi, esi
test ecx, ecx
jl 0x4323a5
test esi, esi
jne 0x43247c
mov eax, 0x49636c
mov ebx, 0x40
call fcn.00415620
mov dword [0x57f780], eax
cmp esi, dword [0x57f788]
je 0x432531
mov edx, 0x7d0
xor ecx, ecx
mov eax, dword [0x57f780]
mov cl, byte [ebp - 0x18]
call fcn.004335c0
mov ecx, dword [0x57f788]
inc esi
cmp esi, ecx
jle 0x43235e
call fcn.0046f634
call fcn.0043a158
test edi, edi
jne 0x43259f
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop ebp
ret
mov eax, dword [0x574268]
inc eax
push eax
push 0x496364
lea eax, [ebp - 0x28]
push eax
call fcn.00479511
add esp, 0xc
mov edx, 0x57f768
lea eax, [ebp - 0x28]
call fcn.00404618
fld dword [0x57f41c]
fmul dword [0x491e24]
mov ebx, 4
mov esi, 0x41200000
mov edi, 0x57f524
mov eax, dword [0x57f768]
mov dword [0x57f424], ebx
lea ecx, [eax + 0x304]
mov dword [0x57f434], esi
mov dword [0x57f76c], ecx
lea esi, [eax + 0xc0]
mov ecx, 0x240
fstp dword [0x57f414]
push edi
mov eax, ecx
shr ecx, 2
movsd dword es:[edi], dword [esi]
mov cl, al
and cl, 3
repne movsb byte es:[edi], byte [esi]
pop edi
mov edi, 0x3f800000
xor eax, eax
mov dword [0x57f77c], edi
mov dword [0x57f784], eax
mov dword [0x57f788], eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop ebp
ret
mov byte [ebp - 0x18], 0x5f
jmp 0x4322fe
fld dword [0x491e24]
fmul dword [0x4963ac]
jmp 0x432329
cmp esi, 1
jne 0x432513
mov eax, dword [0x57440f]
mov ebx, dword [0x574268]
and eax, 0xe0000000
add ebx, esi
cmp eax, 0x80000000
jae 0x4324cc
test eax, eax
jbe 0x432505
cmp eax, 0x40000000
jne 0x432505
push ebx
push 0x49637c
lea eax, [ebp - 0x34]
push eax
call fcn.00479511
add esp, 0xc
lea eax, [ebp - 0x34]
mov ebx, 0x78
jmp 0x432370
jbe 0x4324f5
cmp eax, 0xc0000000
jae 0x4324e4
cmp eax, 0xa0000000
jne 0x432505
push ebx
push 0x496394
jmp 0x4324b3
jbe 0x4324fd
cmp eax, 0xe0000000
jne 0x432505
push ebx
push 0x49638c
jmp 0x4324b3
push ebx
push 0x496374
jmp 0x4324b3
push ebx
push 0x496384
jmp 0x4324b3
mov eax, dword [0x574268]
inc eax
push eax
push 0x49639c
jmp 0x4324b3
cmp esi, 2
je 0x432522
mov edi, 1
jmp 0x4323a5
mov eax, 0x4963a4
mov ebx, 0x12c
jmp 0x432370
fld dword [0x57f77c]
mov eax, dword [0x57f780]
call fcn.004797c0
xor ecx, ecx
fistp dword [ebp - 0x1c]
mov cl, byte [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.004335c0
test eax, eax
je 0x43256f
mov ebx, dword [0x57f788]
xor ecx, ecx
inc ebx
mov dword [0x57f77c], ecx
mov dword [0x57f788], ebx
jmp 0x43239a
fld dword [0x57f77c]
mov eax, dword [0x57f798]
call fcn.004797c0
fistp dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
je 0x43239a
mov edx, 1
mov eax, dword [0x57f460]
call fcn.00402fd8
jmp 0x43239a
call fcn.00431f1c
lea esp, [ebp - 0x14]
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop ebp
ret