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

Disassembly:
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417d3c
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.004185c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x4ea104], eax
mov dword [0x4ea100], ecx
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0xe0]
mov edx, dword [eax + 0xe4]
mov ebx, dword [esp + 0x88]
sub ebx, ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x8c]
sbb ecx, edx
mov dword [esp + 0x3c], ecx
test ecx, ecx
sete dl
xchg ebp, ebx
setg bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and edx, esi
or ebp, edx
xchg ebp, eax
mov byte [esp + 0x17], al
xchg ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4179a9
movsd xmm1, qword [0x480968]
jmp 0x417a2e
mov edx, eax
mov eax, ebx
mov ebp, dword [esp + 0x90]
mov esi, edx
mul ebp
mov dword [esp + 0x44], eax
imul ecx, ebp
add ecx, edx
sar ebp, 0x1f
imul ebp, ebx
add ecx, ebp
mov dword [esp + 0x40], ecx
lea ebp, [esi + 0xc0]
mov dword [esp], ebp
call fcn.00402200
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00448730
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call fcn.00448730
movsd xmm0, qword [esp + 0x60]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x480968]
addsd xmm1, xmm0
mov eax, dword [esp + 0x84]
movsd qword [esp + 0x48], xmm1
lea ecx, [eax + 0x68]
mov dword [esp + 0x7c], ecx
mov dword [esp], ecx
call fcn.00402360
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + 0x5c]
cmp dword [edx + 0x58], eax
setae al
cmp ebx, ecx
sete cl
seta bl
and ecx, eax
or ebx, ecx
test bl, bl
jne 0x417c35
movzx ecx, byte [esp + 0x17]
test cl, cl
jne 0x417a80
xorps xmm0, xmm0
jmp 0x417b00
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x90]
mov ebx, edx
mov ebp, eax
mul ecx
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x3c]
imul esi, ecx
add edx, esi
sar ecx, 0x1f
imul ebp, ecx
lea ecx, [edx + ebp]
mov dword [esp + 0x40], ecx
lea edx, [ebx + 0xd8]
mov dword [esp], edx
call fcn.00402200
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00448730
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call fcn.00448730
movsd xmm0, qword [esp + 0x60]
divsd xmm0, qword [esp + 8]
mov edx, dword [esp + 0x84]
movsd xmm1, qword [esp + 0x48]
addsd xmm0, xmm1
movsd qword [esp + 0x60], xmm0
movsd xmm2, qword [0x480988]
subsd xmm2, xmm1
movsd qword [esp + 0x58], xmm2
lea eax, [edx + 0xa0]
mov dword [esp + 0x78], eax
lea ecx, [edx + 0xa8]
mov dword [esp + 0x74], ecx
lea ebx, [edx + 0xb0]
mov dword [esp + 0x70], ebx
mov dword [esp], eax
call fcn.00402200
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.00402200
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00402200
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call fcn.00402360
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + 0x58]
mov ebp, dword [edx + 0x5c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add esi, edi
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
adc edi, edx
mov edx, dword [esp + 0x18]
add esi, edx
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x2c]
adc edi, edx
mov dword [esp + 0x34], edi
sub eax, ebx
sbb ecx, ebp
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00448800
movsd xmm0, qword [esp + 0x60]
mulsd xmm0, qword [esp + 8]
movsd qword [esp + 0x60], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00448730
movsd xmm0, qword [esp + 0x58]
mulsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x60]
divsd xmm1, xmm0
mov eax, dword [esp + 0x84]
movsd qword [eax + 0x20], xmm1
xor ecx, ecx
jmp 0x417c3a
sub esp, 0xffffff80
ret
inc ecx
cmp ecx, 4
jge 0x417c57
movsd xmm0, qword [eax + ecx*8 + 0x28]
movsd xmm2, qword [eax + 0x20]
ucomisd xmm0, xmm2
jbe 0x417c39
movsd qword [eax + 0x20], xmm0
jmp 0x417c39
movsd qword [esp + 0x50], xmm1
lea ecx, [eax + 0x28]
mov dword [esp], ecx
lea ecx, [eax + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
call fcn.0044d980
movsd xmm0, qword [esp + 0x50]
mov eax, dword [esp + 0x84]
movsd qword [eax + 0x40], xmm0
mov ecx, dword [0x4e9cb4]
test ecx, ecx
jle 0x417d38
call fcn.0042d920
mov eax, dword [esp + 0x84]
lea ecx, [eax + 0x80]
mov dword [esp + 0x6c], ecx
add eax, 0x90
mov dword [esp + 0x68], eax
nop
mov edx, dword [esp + 0x78]
mov dword [esp], edx
call fcn.00402200
nop
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00402200
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00402200
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00402360
nop
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00402360
nop
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00402360
mov eax, dword [0x4e99a4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
nop
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x417d38
nop
nop
lea eax, [0x4e9948]
mov dword [esp], eax
call fcn.00406540
sub esp, 0xffffff80
ret
call fcn.0044bcf0
jmp fcn.00417910