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

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41fdd9
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.00420690
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x93e140], eax
mov dword [0x93e144], 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 + 0x48], ebx
mov ecx, dword [esp + 0x8c]
sbb ecx, edx
mov dword [esp + 0x4c], ecx
test ecx, ecx
setg dl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebp, esi
or edx, ebp
mov byte [esp + 0x17], dl
test dl, dl
jne 0x41fa45
movsd xmm1, qword [0x7d9720]
jmp 0x41faca
mov edx, eax
mov eax, ebx
mov ebp, dword [esp + 0x90]
mov esi, edx
mul ebp
mov dword [esp + 0x64], eax
imul ecx, ebp
add ecx, edx
sar ebp, 0x1f
imul ebp, ebx
add ecx, ebp
mov dword [esp + 0x60], ecx
lea ebp, [esi + 0xc0]
mov dword [esp], ebp
call fcn.00403740
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004578d0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x58], xmm0
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.004578d0
movsd xmm0, qword [esp + 0x58]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x7d9720]
addsd xmm1, xmm0
mov eax, dword [esp + 0x84]
movsd qword [esp + 0x30], xmm1
lea ecx, [eax + 0x68]
mov dword [esp + 0x7c], ecx
mov dword [esp], ecx
call fcn.004038c0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ebx, dword [esp + 8]
cmp dword [esp + 4], ecx
setbe cl
cmp ebx, edx
sete dl
setb bl
and edx, ecx
or ebx, edx
test bl, bl
jne 0x41fcd2
movzx ecx, byte [esp + 0x17]
test cl, cl
jne 0x41fb1c
xorps xmm0, xmm0
jmp 0x41fb9d
mov ecx, eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x90]
mov ebx, edx
mov ebp, eax
mul edx
mov dword [esp + 0x64], eax
mov esi, dword [esp + 0x4c]
imul esi, ebx
add edx, esi
sar ebx, 0x1f
imul ebp, ebx
add edx, ebp
mov dword [esp + 0x60], edx
lea ebx, [ecx + 0xd8]
mov dword [esp], ebx
call fcn.00403740
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004578d0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x58], xmm0
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.004578d0
movsd xmm0, qword [esp + 0x58]
divsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x84]
movsd xmm1, qword [esp + 0x30]
addsd xmm0, xmm1
movsd qword [esp + 0x58], xmm0
movsd xmm2, qword [0x7d96b4]
subsd xmm2, xmm1
movsd qword [esp + 0x50], xmm2
lea ecx, [eax + 0xa0]
mov dword [esp + 0x78], ecx
lea edx, [eax + 0xa8]
mov dword [esp + 0x74], edx
lea ebx, [eax + 0xb0]
mov dword [esp + 0x70], ebx
mov dword [esp], ecx
call fcn.00403740
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.00403740
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.00403740
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call fcn.004038c0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add esi, edi
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
adc edi, eax
mov eax, dword [esp + 0x18]
add eax, esi
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x24]
adc edi, esi
mov dword [esp + 0x3c], edi
sub ebx, ecx
mov dword [esp], ebx
sbb ebp, edx
mov dword [esp + 4], ebp
call fcn.004579a0
movsd xmm0, qword [esp + 0x58]
mulsd xmm0, qword [esp + 8]
movsd qword [esp + 0x58], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.004578d0
movsd xmm0, qword [esp + 0x50]
mulsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x58]
divsd xmm1, xmm0
mov eax, dword [esp + 0x84]
movsd qword [eax + 0x20], xmm1
xor ecx, ecx
jmp 0x41fcd7
sub esp, 0xffffff80
ret
inc ecx
cmp ecx, 4
jge 0x41fcf4
movsd xmm0, qword [eax + ecx*8 + 0x28]
movsd xmm2, qword [eax + 0x20]
ucomisd xmm0, xmm2
jbe 0x41fcd6
movsd qword [eax + 0x20], xmm0
jmp 0x41fcd6
movsd qword [esp + 0x40], 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.0045fa40
movsd xmm0, qword [esp + 0x40]
mov eax, dword [esp + 0x84]
movsd qword [eax + 0x40], xmm0
mov ecx, dword [0x93d838]
test ecx, ecx
jle 0x41fdd5
call fcn.004364f0
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.00403740
nop
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00403740
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00403740
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004038c0
nop
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004038c0
nop
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004038c0
mov eax, dword [0x93d128]
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 0x41fdd5
nop
nop
lea eax, [0x93d0bc]
mov dword [esp], eax
call fcn.0040ad50
sub esp, 0xffffff80
ret
call fcn.0045dcb0
jmp fcn.0041f9b0