Function at 0x494cb0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7515
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], 0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edx, dword [esi]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov edx, dword [edx + 0xb4]
call fcn.00437d50
mov edi, 2
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x14], edi
and edi, 0xfffffffd
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], ebx
or edi, 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
call fcn.00487960
test eax, eax
setg al
and edi, 0xfffffffe
mov byte [ebp - 0xd], al
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], ebx
je 0x494d48
lea ecx, [ebp - 0x2c]
call fcn.0043a500
mov al, byte [ebp - 0xd]
test al, al
je 0x495266
mov edx, dword [esi]
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x20]
mov edx, dword [edx + 0xb4]
call fcn.00437d50
or edi, 0x20
mov dword [ebp - 0x14], edi
and edi, 0xffffffdf
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 5
or edi, 0x10
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x20]
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x44], eax
call fcn.0046b1b0
or edi, 0x100
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
call fcn.00469fe0
or edi, 0x400
mov dword [ebp - 0x14], edi
and edi, 0xfffffeff
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 9
cmp dword [ebp - 0x24], 0
je 0x494dde
lea ecx, [ebp - 0x24]
call fcn.0043a500
and edi, 0xffffffef
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x20], 0
je 0x494df6
lea ecx, [ebp - 0x20]
call fcn.0043a500
cmp dword [ebp - 0x2c], 0
je 0x495248
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004372c0
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0x13
or edi, 0x4000
mov dword [ebp - 0x14], edi
and edi, 0xffffbfff
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0x12
or edi, 0x2000
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x18], 0
mov esi, dword [eax]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x4c], eax
je 0x494e5b
lea ecx, [ebp - 0x18]
call fcn.0043a500
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push ecx
push 0
push esi
call eax
test eax, eax
js 0x49527a
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.00469fe0
or edi, 0x8000
mov dword [ebp - 0x14], edi
and edi, 0xffffdfff
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x18], 0
je 0x494e9f
lea ecx, [ebp - 0x18]
call fcn.0043a500
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x40], 0
je 0x494eb1
lea ecx, [ebp - 0x40]
call fcn.0043a500
cmp dword [ebp - 0x20], 0
je 0x49522d
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x20]
call fcn.0044ca40
or edi, 0x80000
mov dword [ebp - 0x14], edi
and edi, 0xfff7ffff
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0x20
or edi, 0x40000
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x24]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
test eax, eax
js 0x495280
and edi, 0xfffbffff
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x24], 0
je 0x494f1a
lea ecx, [ebp - 0x24]
call fcn.0043a500
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push eax
lea ecx, [ebp - 0x20]
xor esi, esi
call fcn.004372c0
mov byte [ebp - 4], 0x24
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x24], esi
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
js 0x49527a
nop word [eax + eax]
cmp esi, dword [ebp - 0x24]
setb al
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x3c], 0
je 0x494f6e
lea ecx, [ebp - 0x3c]
call fcn.0043a500
mov al, byte [ebp - 0xd]
test al, al
je 0x4951b1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004372c0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x44]
push esi
push ecx
mov ecx, eax
call fcn.00468f00
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x18]
mov edx, dword [eax]
call fcn.00495290
or edi, 0x400000
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0x2b
cmp dword [ebp - 0x44], 0
je 0x494fbb
lea ecx, [ebp - 0x44]
call fcn.0043a500
mov byte [ebp - 4], 0x2f
cmp dword [ebp - 0x4c], 0
je 0x494fcd
lea ecx, [ebp - 0x4c]
call fcn.0043a500
cmp dword [ebp - 0x18], 0
je 0x495165
lea ecx, [ebp - 0x18]
call fcn.004668f0
movd xmm1, dword [ebp - 0x40]
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x494ffd
lea ecx, [ebp - 0x18]
call fcn.004668f0
cvttsd2si eax, xmm0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x18]
call fcn.004668f0
mulsd xmm0, qword [0x638650]
divsd xmm0, qword [0x638668]
movsd qword [ebp - 0x28], xmm0
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x18]
call fcn.0044ca40
or edi, 0x4000000
mov dword [ebp - 0x14], edi
and edi, 0xfbffffff
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0x33
or edi, 0x2000000
mov dword [ebp - 0x14], edi
sub esp, 8
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x28]
movsd qword [esp], xmm0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
test eax, eax
js 0x49527a
and edi, 0xfdffffff
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0x2f
cmp dword [ebp - 0x30], 0
je 0x495084
lea ecx, [ebp - 0x30]
call fcn.0043a500
xorps xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x18]
call fcn.0044ca40
or edi, 0x40000000
mov dword [ebp - 0x14], edi
and edi, 0xbfffffff
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0x37
or edi, 0x20000000
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
js 0x49527a
and edi, 0xdfffffff
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0x2f
cmp dword [ebp - 0x34], 0
je 0x4950ed
lea ecx, [ebp - 0x34]
call fcn.0043a500
movsd xmm0, qword [ebp - 0x28]
mulsd xmm0, qword [0x638650]
divsd xmm0, qword [0x638668]
movsd qword [ebp - 0x54], xmm0
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x18]
call fcn.0044ca40
or ebx, 4
mov dword [ebp - 0x1c], ebx
and ebx, 0xfffffffb
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x3b
or ebx, 2
movsd xmm0, qword [ebp - 0x54]
sub esp, 8
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x38]
movsd qword [esp], xmm0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x49527a
and ebx, 0xfffffffd
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0x2f
cmp dword [ebp - 0x38], 0
je 0x495165
lea ecx, [ebp - 0x38]
call fcn.0043a500
and edi, 0xffbfffff
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x18], 0
je 0x495180
lea ecx, [ebp - 0x18]
call fcn.0043a500
lea eax, [ebp - 0x3c]
inc esi
push eax
lea ecx, [ebp - 0x20]
call fcn.004372c0
mov byte [ebp - 4], 0x24
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x24], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
jns 0x494f50
jmp 0x49527a
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
call fcn.0044ca40
or ebx, 0x40
mov dword [ebp - 0x1c], ebx
and ebx, 0xffffffbf
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x42
or ebx, 0x20
mov dword [ebp - 0x1c], ebx
sub esp, 8
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x48]
mov eax, dword [ebp - 0x40]
lea edx, [eax*8]
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
push ecx
call esi
test eax, eax
js 0x495286
and ebx, 0xffffffdf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x3c], 0
je 0x49522d
lea ecx, [ebp - 0x3c]
call fcn.0043a500
and edi, 0xffff7fff
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x20], 0
je 0x495248
lea ecx, [ebp - 0x20]
call fcn.0043a500
and edi, 0xfffffbff
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0
je 0x495266
lea ecx, [ebp - 0x2c]
call fcn.0043a500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.0043c310
push eax
call fcn.0043c310
push eax
call fcn.0043c310
int3