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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4180c6
sub esp, 0x98
mov ecx, dword [0x7e3270]
test ecx, ecx
jge 0x417eef
mov eax, 0xffffffff
mov ecx, 0xffffffff
mov edx, dword [0x7e3270]
test edx, edx
jl 0x417eb5
mov dword [esp + 0x88], edx
fild dword [esp + 0x88]
fld qword [0x6c7228]
fld st(0)
fdivp st(2)
fld st(1)
fstp qword [esp + 0x70]
fld qword [0x6c7068]
fstp st(1)
fld st(1)
fmulp st(1)
fld st(0)
fstp qword [esp + 0x80]
fld qword [esp + 0x9c]
fld st(0)
fucomp st(2)
mov dword [esp + 0x88], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x88]
fstp st(0)
fstp st(0)
fstp st(0)
jbe 0x417acf
fld qword [esp + 0x80]
fld st(0)
fstp qword [esp + 0x9c]
fstp st(0)
fld qword [0x6c6fd0]
fld qword [esp + 0x70]
fld st(0)
fmulp st(2)
fld st(1)
fstp qword [esp + 0x78]
fld qword [esp + 0x9c]
fstp st(1)
fld st(1)
fucomp st(1)
mov dword [esp + 0x88], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x88]
fstp st(0)
fstp st(0)
jbe 0x417b16
fld qword [esp + 0x78]
fld st(0)
fstp qword [esp + 0x9c]
fstp st(0)
fld qword [esp + 0x9c]
fld st(0)
fstp qword [0x7e6cf0]
mov edx, dword [0x7e3270]
test edx, edx
fstp st(0)
jge 0x417d40
mov edx, 0xffffffff
mov ebx, 0xffffffff
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [0x7e6cf8], edx
mov dword [0x7e6cfc], ebx
mov dword [0x7e5768], eax
mov dword [0x7e576c], ecx
movzx eax, byte [0x7db128]
test al, al
jne 0x417d2e
mov eax, dword [0x7e3274]
test eax, eax
jne 0x417d13
mov eax, dword [0x7d48d0]
test eax, eax
je 0x417b9e
fldz
fld st(0)
fstp qword [0x7d4930]
fstp st(0)
call fcn.0041ed70
add esp, 0x98
ret
lea eax, [0x7e6d00]
mov dword [esp], eax
call fcn.00402960
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 edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x417d08
xor ecx, ecx
mov edx, 0x2000
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
lea eax, [0x7d4918]
mov dword [esp], eax
call fcn.00402960
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
lea edx, [0x7d4910]
mov dword [esp], edx
call fcn.00402960
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
sub eax, ecx
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x24]
sbb edx, ebx
test edx, edx
xchg ebp, ebx
setl bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
test eax, eax
xchg edi, ebx
setbe bl
xchg edi, ebx
and edi, esi
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
je 0x417c87
fldz
fld st(0)
fstp qword [0x7d4930]
fstp st(0)
jmp 0x417b92
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00453eb0
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x90]
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
fstp st(0)
call fcn.00453eb0
fld qword [esp + 8]
fld qword [esp + 0x90]
fld st(1)
fdivp st(1)
fld st(0)
fstp qword [0x7d4930]
mov eax, dword [esp + 0x30]
mov dword [0x7d4928], eax
mov eax, dword [esp + 0x34]
mov dword [0x7d492c], eax
lea eax, [0x7d4920]
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.00402980
jmp 0x417b92
mov ebx, ecx
mov ecx, edx
mov edx, ebx
jmp 0x417c0b
lea eax, [0x7e3a80]
mov dword [esp], eax
call fcn.00416d80
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x417b7c
call fcn.0044e550
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x417b6e
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov eax, dword [0x7e6d10]
mov ecx, dword [0x7e6d14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00453fa0
fld qword [esp + 8]
fld1
fld qword [esp + 0x9c]
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.00453e60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [0x5e7190]
mov ebx, dword [0x5e7194]
mov ebp, dword [0x7d48d0]
test ebp, ebp
je 0x417e49
cmp ebx, ecx
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp edx, eax
xchg edi, ebx
seta bl
xchg edi, ebx
and esi, edi
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x417e3d
mov eax, ebx
mov ecx, edx
test ebx, ebx
xchg ebp, ebx
setl bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
test edx, edx
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, esi
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x417f4d
mov eax, dword [esp + 0x44]
cmp eax, ebx
setb cl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x40]
cmp esi, edx
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, ebp
or edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
je 0x417e31
mov eax, edx
mov ecx, ebx
mov ebp, edx
mov edx, eax
mov eax, ebp
mov esi, ebx
mov ebx, ecx
mov ecx, esi
jmp 0x417b3f
mov eax, edx
mov ecx, ebx
mov edx, esi
mov ebx, dword [esp + 0x44]
jmp 0x417e20
mov ebp, eax
mov eax, ebx
mov ebx, ecx
mov ecx, edx
mov edx, ebp
jmp 0x417dce
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
lea eax, [0x7e6d00]
mov dword [esp], eax
call fcn.00402960
mov eax, dword [esp + 4]
add eax, 0x100000
mov ecx, dword [esp + 8]
adc ecx, 0
mov edx, dword [esp + 0x2c]
cmp edx, ecx
setb bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x28]
cmp esi, eax
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, ebp
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x417eaf
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
jmp 0x417da7
mov ecx, edx
mov eax, esi
jmp 0x417e9e
fldz
fld qword [esp + 0x9c]
fld st(1)
fucomp st(1)
mov dword [esp + 0x88], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x88]
fstp st(0)
fstp st(0)
jbe 0x417b16
fldz
fld st(0)
fstp qword [esp + 0x9c]
fstp st(0)
jmp 0x417b16
mov eax, dword [0x7e6d10]
mov dword [esp + 0x6c], eax
mov ebx, eax
mul ecx
mov ebp, dword [0x7e6d14]
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.00454120
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
add edx, ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x68]
adc ecx, ebx
mov eax, edx
jmp 0x417a58
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
mov eax, dword [0x7e5768]
mov dword [esp + 0x64], eax
mov ecx, dword [0x7e576c]
mov dword [esp + 0x60], ecx
mov edx, dword [0x7e6d10]
mov dword [esp + 0x5c], edx
mov ebx, dword [0x7e6d14]
mov dword [esp + 0x58], ebx
mov ebp, dword [0x7e6d00]
mov dword [esp + 0x54], ebp
mov esi, dword [0x7e6d04]
mov dword [esp + 0x50], esi
mov edi, dword [0x7e3e40]
mov dword [esp + 0x4c], edi
mov edi, dword [0x7e3e44]
mov dword [esp + 0x48], edi
call fcn.00433c00
lea eax, [0x67dc34]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004345e0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.004342e0
lea eax, [0x67bef1]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004345e0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.004342e0
lea eax, [0x67b332]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004345e0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.004342e0
lea eax, [0x67d75b]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004345e0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call fcn.004342e0
lea eax, [0x67c3de]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004345e0
fld qword [esp + 0x9c]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.00433ec0
lea eax, [0x67b88d]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.004345e0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.004342e0
call fcn.00433e20
call fcn.00433c70
lea eax, [0x67f035]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00432350
nop
call fcn.0045b380
jmp fcn.00417a20