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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41b584
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0041bdf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5b012c], eax
mov dword [0x5b0128], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc8]
mov edx, dword [eax + 0xcc]
mov ebx, dword [esp + 0x6c]
sub ebx, ecx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x70]
sbb ecx, edx
mov dword [esp + 0x2c], 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 esi, edx
or ebp, esi
xchg ebp, eax
mov byte [esp + 0x17], al
xchg ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41b25f
movsd xmm1, qword [0x51dd28]
jmp 0x41b2e8
mov ecx, eax
mov eax, ebx
mov edx, dword [esp + 0x74]
mul edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
lea esi, [ecx + 0xa8]
mov dword [esp], esi
call fcn.004027f0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0044d900
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x4c], xmm0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x74]
imul ecx, edx
mov ebp, dword [esp + 0x38]
add ecx, ebp
sar edx, 0x1f
mov esi, dword [esp + 0x28]
imul edx, esi
add ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
call fcn.0044d900
movsd xmm0, qword [esp + 0x4c]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x51dd28]
addsd xmm1, xmm0
mov eax, dword [esp + 0x68]
movsd qword [esp + 0x3c], xmm1
lea ecx, [eax + 0x50]
mov dword [esp + 0x60], ecx
mov dword [esp], ecx
call fcn.00402970
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
cmp dword [ecx + 0x40], eax
setae al
mov edx, dword [esp + 8]
mov ebx, dword [ecx + 0x44]
cmp edx, ebx
sete dl
setb bl
and edx, eax
or ebx, edx
test bl, bl
jne 0x41b580
movzx edx, byte [esp + 0x17]
test dl, dl
jne 0x41b334
xorps xmm0, xmm0
jmp 0x41b3b1
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
mul edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
lea esi, [ecx + 0xc0]
mov dword [esp], esi
call fcn.004027f0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0044d900
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x4c], xmm0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x74]
imul ecx, edx
mov ebx, dword [esp + 0x38]
add ecx, ebx
sar edx, 0x1f
mov ebx, dword [esp + 0x28]
imul ebx, edx
add ecx, ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
call fcn.0044d900
movsd xmm0, qword [esp + 0x4c]
divsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0x68]
movsd qword [esp + 0x44], xmm0
lea eax, [ecx + 0x88]
mov dword [esp + 0x5c], eax
mov dword [esp], eax
call fcn.004027f0
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x68]
lea ebx, [edx + 0x90]
mov dword [esp + 0x58], ebx
mov dword [esp], ebx
call fcn.004027f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x1c]
adc eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x68]
lea ebx, [ecx + 0x98]
mov dword [esp + 0x54], ebx
mov dword [esp], ebx
call fcn.004027f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
add eax, edx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x30]
adc edx, ecx
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call fcn.00402970
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0x40]
mov ebp, dword [edx + 0x44]
sub eax, ebx
sbb ecx, ebp
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044d9d0
movsd xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
addsd xmm1, xmm0
mulsd xmm1, qword [esp + 8]
movsd qword [esp + 0x4c], xmm1
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044d900
movsd xmm0, qword [0x51dd48]
movsd xmm1, qword [esp + 0x3c]
subsd xmm0, xmm1
mulsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x4c]
divsd xmm1, xmm0
mov eax, dword [esp + 0x68]
movsd xmm0, qword [eax + 0x28]
addsd xmm0, xmm1
movsd xmm2, qword [0x51dd38]
mulsd xmm2, xmm0
movsd qword [eax + 0x20], xmm2
movsd qword [eax + 0x28], xmm1
mov ecx, dword [0x5afb30]
test ecx, ecx
jle 0x41b57c
call fcn.00430de0
nop
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004027f0
nop
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.004027f0
nop
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.004027f0
nop
mov eax, dword [esp + 0x68]
lea ecx, [eax + 0x68]
mov dword [esp], ecx
call fcn.00402970
nop
mov eax, dword [esp + 0x68]
add eax, 0x78
mov dword [esp], eax
call fcn.00402970
nop
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00402970
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x41b57c
nop
lea eax, [0x5af7b4]
mov dword [esp], eax
call fcn.00409300
add esp, 0x64
ret
add esp, 0x64
ret
call fcn.00451710
jmp fcn.0041b1d0