Function at 0x426110
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x28
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
jne 0x426126
mov eax, 0x18
mov esi, dword [esp + 0x3c]
cmp dword [0x4c2d38], esi
mov edi, dword [esp + 0x40]
jne 0x42614a
cmp dword [0x4c2d3c], edi
jne 0x42614a
cmp dword [0x4c2d48], eax
je 0x426498
push eax
push edi
push esi
call fcn.00414840
fld dword [0x4c2d64]
fmul qword [0x4a4710]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebp
fild qword [esp + 0x1c]
add esp, 0xc
fmulp st(1)
call fcn.004082c0
fld dword [0x4c2d68]
fmul qword [0x4a4710]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
fild qword [esp + 0x10]
mov ebx, eax
mov dword [esp + 0x3c], ebx
fmulp st(1)
call fcn.004082c0
mov edi, eax
test dword [esp + 0x48], 0x80000000
mov dword [esp + 0x40], edi
jne 0x4261f1
mov esi, 0x819120
test byte [esi + 0x14], 1
jne 0x4261e6
push esi
call fcn.00412df0
add esp, 4
test eax, eax
je 0x4261e6
mov eax, dword [esi + 0x14]
mov ecx, dword [0x4c2d3c]
mov edx, dword [0x4c2d38]
push eax
mov eax, dword [0x4c2d48]
push eax
push ecx
push edx
push esi
call fcn.00412eb0
add esp, 0x14
test eax, eax
je 0x426204
add esi, 0x30
cmp esi, 0x81c150
jl 0x4261ae
cmp dword [0xc51068], ebp
je 0x42620e
push ebp
call fcn.00413bd0
add esp, 4
jmp 0x42624f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
mov ecx, dword [0xc51054]
lea eax, [esp + 0x28]
push eax
mov esi, 1
push ecx
mov dword [0xc51068], esi
mov dword [0x4c2d34], ebp
call dword [0x4a4340]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [0x4c2d80], edx
mov dword [0x4c2d84], eax
call fcn.00413ef0
mov dword [0x4c2d34], esi
test dword [esp + 0x48], 0x40000000
je 0x426336
mov ecx, dword [0xc51054]
push 0xffffffffffffffec
push ecx
call dword [0x4a442c]
mov dword [esp + 0x10], eax
cmp dword [0xc51068], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], 0x40
je 0x426299
or ebx, 0xffffffff
xor edi, edi
xor esi, esi
jmp 0x4262e9
cmp dword [0xc51f88], ebp
mov edi, dword [0x4a43bc]
mov ebx, 0xfffffffe
mov dword [esp + 0x44], 0x60
je 0x4262bc
push 0xf
call edi
add dword [esp + 0x24], eax
push ebp
call edi
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub edx, esi
add eax, edx
cdq
sub eax, edx
mov esi, eax
push 1
sar esi, 1
call edi
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub ecx, edi
add eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov edx, dword [esp + 0x10]
mov eax, dword [0xc51068]
mov ecx, dword [0x4c2d88]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push edx
call dword [0x4a43dc]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
sub edx, eax
mov eax, dword [0xc51054]
push edx
push edi
push esi
push ebx
push eax
call dword [0x4a4398]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov ecx, dword [0xc51054]
push ecx
call dword [0x4a4434]
mov eax, dword [0xc51078]
lea eax, [eax + eax*2]
shl eax, 4
test byte [eax + 0x819134], 2
je 0x4263bc
mov edx, dword [eax + 0x81913c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
fild qword [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov ecx, dword [eax + 0x819140]
fidiv dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov edx, dword [0xc51054]
mov ecx, dword [0xc51074]
push edx
lea eax, [eax + 0x819120]
push eax
push ecx
fstp dword [0x4c2d5c]
fild qword [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
fidiv dword [esp + 0x1c]
fstp dword [0x4c2d60]
call fcn.0040df80
add esp, 0xc
mov edx, dword [0x4c2d38]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
fild qword [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
mov eax, dword [0x4c2d3c]
fstp dword [esp + 0x44]
fild qword [esp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fdiv dword [esp + 0x40]
fstp dword [esp + 0x3c]
fild qword [esp + 0x10]
mov dword [esp + 0x10], eax
test dword [esp + 0x48], 0x20000000
mov dword [esp + 0x14], ebp
fild qword [esp + 0x10]
fld st(1)
fdiv st(1)
jne 0x426430
fld dword [esp + 0x3c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x42642c
fstp st(0)
fld dword [esp + 0x3c]
fst dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
fst dword [0x4c2d60]
fld dword [esp + 0x40]
mov dword [0x4c2d5c], ecx
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x44]
fsub dword [esp + 0x3c]
fmul qword [0x4a4708]
call fcn.004082c0
fxch st(1)
fmul st(1)
mov dword [0xc51080], eax
fxch st(1)
fstp st(0)
fxch st(1)
fsub st(1)
fmul qword [0x4a4708]
call fcn.004082c0
fld dword [esp + 0x3c]
mov dword [0xc51084], eax
call fcn.004082c0
mov dword [0x4c2d54], eax
call fcn.004082c0
mov dword [0x4c2d58], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret