Function at 0x416bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x41721f
sub esp, 0x88
mov ecx, dword [0xc6bb28]
test ecx, ecx
jge 0x41704a
mov eax, 0xffffffff
mov ecx, 0xffffffff
fldz
fld qword [esp + 0x8c]
fld st(1)
fucomp st(1)
mov dword [esp + 0x78], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x78]
fstp st(0)
fstp st(0)
jbe 0x416fe2
fldz
fld st(0)
fstp qword [esp + 0x8c]
fstp st(0)
fld qword [esp + 0x8c]
fld st(0)
fstp qword [0xc6f350]
mov edx, dword [0xc6bb28]
test edx, edx
fstp st(0)
jge 0x416e6d
mov edx, 0xffffffff
mov ebx, 0xffffffff
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [0xc6f358], edx
mov dword [0xc6f35c], ebx
mov dword [0xc6ddc8], ecx
mov dword [0xc6ddcc], eax
movzx eax, byte [0xc639a8]
test al, al
jne 0x416e5b
mov eax, dword [0xc6bb2c]
test eax, eax
jne 0x416e40
mov eax, dword [0xc5d550]
test eax, eax
je 0x416cdf
fldz
fld st(0)
fstp qword [0xc5d5b0]
fstp st(0)
call fcn.0041e530
add esp, 0x88
ret
lea eax, [0xc6f360]
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x18]
mov edx, ecx
sub ecx, eax
mov ebx, ecx
add ecx, 0xfff00000
mov ebp, dword [esp + 8]
mov dword [esp + 0x34], ebp
sub edx, eax
mov edx, dword [esp + 0x1c]
sbb edx, ebp
add ebx, 0xfff00000
adc edx, 0xffffffff
test edx, edx
setl bl
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ecx, 0x2000
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, esi
or ebx, edi
test bl, bl
je 0x416e35
xor ecx, ecx
mov edx, 0x2000
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
lea eax, [0xc5d598]
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
mov ecx, dword [0xc5d590]
sub ecx, eax
mov edx, dword [esp + 8]
mov ebx, dword [0xc5d594]
sbb ebx, edx
test ebx, ebx
xchg ebp, ebx
setl bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
test ecx, ecx
xchg edi, ebx
setbe bl
xchg edi, ebx
and edi, esi
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
je 0x416dac
fldz
fld st(0)
fstp qword [0xc5d5b0]
fstp st(0)
jmp 0x416cd3
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.0044c790
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x80]
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
fstp st(0)
call fcn.0044c790
fld qword [esp + 8]
fld qword [esp + 0x80]
fld st(1)
fdivp st(1)
fld st(0)
fstp qword [0xc5d5b0]
mov eax, dword [esp + 0x30]
mov dword [0xc5d5a8], eax
mov eax, dword [esp + 0x34]
mov dword [0xc5d5ac], eax
lea eax, [0xc5d5a0]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
fstp st(0)
fstp st(0)
call fcn.00402130
jmp 0x416cd3
mov ebx, ecx
mov ecx, edx
mov edx, ebx
jmp 0x416d4a
lea eax, [0xc6c380]
mov dword [esp], eax
call fcn.00415f60
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x416cbd
call fcn.00446c90
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x416caf
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov eax, dword [0xc6f374]
mov ecx, dword [0xc6f370]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044c880
fld qword [esp + 8]
fld1
fld qword [esp + 0x8c]
fld st(0)
faddp st(2)
fld st(2)
fmulp st(2)
fld st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.0044c740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [0xc1641c]
mov ebx, dword [0xc16418]
mov ebp, dword [0xc5d550]
test ebp, ebp
je 0x416f76
cmp eax, edx
xchg ebp, ebx
setb bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ecx, ebx
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, esi
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x416f6a
mov eax, ebx
mov ecx, edx
test edx, edx
xchg ebp, ebx
setl bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
test ebx, ebx
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, esi
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4170a6
mov eax, dword [esp + 0x44]
cmp edx, eax
seta cl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x40]
cmp ebx, esi
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebp
or edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
je 0x416f5e
mov eax, ebx
mov ecx, edx
mov ebp, edx
mov edx, eax
mov eax, ebp
mov esi, ebx
mov ebx, ecx
mov ecx, esi
jmp 0x416c80
mov eax, ebx
mov ecx, edx
mov ebx, esi
mov edx, dword [esp + 0x44]
jmp 0x416f4d
mov ebp, eax
mov eax, ebx
mov ebx, ecx
mov ecx, edx
mov edx, ebp
jmp 0x416efb
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
lea eax, [0xc6f360]
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
add eax, 0x100000
mov ecx, dword [esp + 8]
adc ecx, 0
mov edx, dword [esp + 0x2c]
cmp ecx, edx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x28]
cmp eax, esi
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebp
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x416fdc
mov ebx, eax
mov edx, ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
jmp 0x416ed4
mov eax, esi
mov ecx, edx
jmp 0x416fcb
mov edx, dword [0xc6bb28]
test edx, edx
jl 0x416c57
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
fld qword [0x966bf8]
fld st(0)
fmulp st(2)
fld qword [0x966c50]
fstp st(1)
fld st(0)
fdivp st(2)
fld st(1)
fstp qword [esp + 0x70]
fld qword [esp + 0x8c]
fstp st(1)
fld st(0)
fucomp st(2)
mov dword [esp + 0x78], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x78]
fstp st(0)
fstp st(0)
jbe 0x416c57
fld qword [esp + 0x70]
fld st(0)
fstp qword [esp + 0x8c]
fstp st(0)
jmp 0x416c57
mov eax, dword [0xc6f370]
mov dword [esp + 0x6c], eax
mov ebx, eax
mul ecx
mov ebp, dword [0xc6f374]
mov dword [esp + 0x68], ebp
mov dword [esp], eax
mov esi, ecx
sar ecx, 0x1f
imul ecx, ebx
imul esi, ebp
add edx, esi
add ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
call fcn.0044ca20
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
add ecx, edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x68]
adc eax, edx
jmp 0x416c28
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
mov eax, dword [0xc6ddcc]
mov dword [esp + 0x64], eax
mov ecx, dword [0xc6ddc8]
mov dword [esp + 0x60], ecx
mov edx, dword [0xc6f374]
mov dword [esp + 0x5c], edx
mov ebx, dword [0xc6f370]
mov dword [esp + 0x58], ebx
mov ebp, dword [0xc6f364]
mov dword [esp + 0x54], ebp
mov esi, dword [0xc6f360]
mov dword [esp + 0x50], esi
mov edi, dword [0xc59444]
mov dword [esp + 0x4c], edi
mov edi, dword [0xc59440]
mov dword [esp + 0x48], edi
call fcn.0042c8a0
lea eax, [0x8c5924]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042d270
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0042cf80
lea eax, [0x8c2ef0]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042d270
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.0042cf80
lea eax, [0x8c200e]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042d270
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0042cf80
lea eax, [0x8c5170]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042d270
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0042cf80
lea eax, [0x8c3522]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042d270
fld qword [esp + 0x8c]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.0042cb60
lea eax, [0x8c26d6]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0042d270
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.0042cf80
call fcn.0042cac0
call fcn.0042c910
lea eax, [0x8c77c3]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042ba70
nop
call fcn.004507b0
jmp fcn.00416bf0