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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41d0c5
sub esp, 0x74
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
test eax, eax
jl 0x41cbd9
mov dword [esp + 0x68], eax
mov edx, dword [ecx + 0x40]
mov dword [esp + 0x64], edx
mov ebx, edx
mov ebp, eax
mul edx
mov dword [esp + 0x60], edx
mov esi, eax
shr eax, 1
mov edi, 0xa3d70a3e
mul edi
shr edx, 5
mov dword [esp + 0x5c], edx
add edx, 0
mov dword [esp + 0x58], edx
mov ecx, dword [ecx + 0x44]
mov dword [esp + 0x54], ecx
sar ebp, 0x1f
imul ebp, ebx
mov ebx, dword [esp + 0x60]
add ebx, ebp
mov ebp, dword [esp + 0x68]
imul ecx, ebp
add ecx, ebx
mov ebx, ecx
shr ecx, 1
mov eax, ecx
mov ecx, edx
mul edi
shr edx, 5
mov dword [esp + 0x60], edx
imul ebp, edx, 0x64
sub ebx, ebp
mov eax, ebx
mov ebp, 0x28f5c28
mul ebp
mov dword [esp + 0x50], edx
add ecx, eax
mov edx, dword [esp + 0x5c]
imul ebp, edx, 0x64
sub esi, ebp
lea ebx, [ebx + ebx*2]
shl ebx, 5
add ebx, esi
shr ebx, 1
mov ebp, eax
mov eax, ebx
mov ebx, edx
mul edi
shr edx, 5
mov esi, edx
add edx, ecx
mov edi, dword [esp + 0x64]
mov eax, edi
add edi, edx
mov dword [esp + 0x38], edi
add ebx, 0
mov ebx, dword [esp + 0x60]
adc ebx, 0
mov edi, dword [esp + 0x58]
add edi, ebp
mov ebp, dword [esp + 0x50]
adc ebx, ebp
add esi, ecx
adc ebx, 0
add eax, edx
mov ecx, dword [esp + 0x54]
adc ebx, ecx
mov ecx, dword [esp + 0x68]
test ecx, ecx
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x38]
jmp 0x41cbe3
mov ebx, 0xffffffff
mov edx, 0xffffffff
jl 0x41cc29
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x5069e4]
divsd xmm0, xmm1
movsd xmm1, qword [0x5069ac]
mulsd xmm1, xmm0
movsd xmm2, qword [esp + 0x7c]
ucomisd xmm2, xmm1
ja 0x41cc11
movsd xmm1, xmm2
movsd xmm2, qword [0x50699c]
mulsd xmm2, xmm0
ucomisd xmm2, xmm1
ja 0x41cc3f
movsd xmm2, xmm1
jmp 0x41cc3f
xorps xmm0, xmm0
movsd xmm1, qword [esp + 0x7c]
ucomisd xmm0, xmm1
jbe 0x41cc3b
xorps xmm1, xmm1
movsd xmm2, xmm1
movsd qword [ecx + 0x10], xmm2
mov eax, dword [ecx]
test eax, eax
jge 0x41cc59
mov eax, 0xffffffff
mov ebp, 0xffffffff
jmp 0x41cd9c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], edx
movsd qword [esp + 0x6c], xmm2
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004566e0
movsd xmm0, qword [0x5069b4]
movsd xmm1, qword [esp + 0x6c]
addsd xmm0, xmm1
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.004565c0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x10], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x14], ebp
call fcn.0041fda0
movzx eax, byte [esp]
test al, al
je 0x41ccd4
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
jmp 0x41cd1c
mov eax, dword [esp + 0x78]
lea ecx, [eax + 0x30]
mov dword [esp], ecx
call fcn.004020c0
mov eax, dword [esp + 4]
add eax, 0x100000
mov ecx, dword [esp + 8]
adc ecx, 0
mov edx, dword [esp + 0x24]
cmp edx, ecx
setb bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x20]
cmp eax, esi
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebp
or ebx, edi
test bl, bl
jne 0x41cd1c
mov eax, esi
mov ecx, edx
mov edx, dword [esp + 0x14]
cmp ecx, edx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x10]
cmp eax, esi
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebp
or ebx, edi
test bl, bl
je 0x41cd47
mov edx, ecx
mov ebx, eax
jmp 0x41cd51
mov edx, ecx
mov ebx, eax
mov ecx, dword [esp + 0x14]
mov eax, esi
test ecx, ecx
jl 0x41cf5d
mov edx, dword [esp + 0x3c]
cmp edx, ecx
setb bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x4c]
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 0x41cd86
mov edx, ecx
mov ebx, eax
jmp 0x41cd90
mov edx, ecx
mov ebx, eax
mov ecx, dword [esp + 0x3c]
mov eax, esi
mov ebp, edx
mov edx, eax
mov eax, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], ebp
lea esi, [ecx + 0x20]
mov dword [esp], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call fcn.004020e0
movzx eax, byte [0x59f6a8]
test al, al
je 0x41cdcd
call fcn.004507a0
mov eax, dword [0x5bb088]
test eax, eax
je 0x41cde3
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0041bfb0
call fcn.0041fda0
movzx eax, byte [esp]
test al, al
je 0x41ce00
xorps xmm0, xmm0
movsd qword [0x59b148], xmm0
jmp 0x41cf54
mov eax, dword [esp + 0x78]
add eax, 0x30
mov dword [esp], eax
call fcn.004020c0
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov edx, ecx
sub ecx, eax
mov ebx, ecx
add ecx, 0xfff00000
mov ebp, dword [esp + 8]
mov dword [esp + 0x2c], ebp
sub edx, eax
mov edx, dword [esp + 0x14]
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 0x41ce6a
xor edx, edx
mov ecx, 0x2000
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
lea eax, [0x59b130]
mov dword [esp], eax
call fcn.004020c0
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
lea edx, [0x59b128]
mov dword [esp], edx
call fcn.004020c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
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 0x41cee2
xorps xmm0, xmm0
movsd qword [0x59b148], xmm0
jmp 0x41cf54
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00456610
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x6c], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00456610
movsd xmm0, qword [esp + 0x6c]
divsd xmm0, qword [esp + 8]
movsd qword [0x59b148], xmm0
mov eax, dword [esp + 0x2c]
mov dword [0x59b144], eax
mov eax, dword [esp + 0x28]
mov dword [0x59b140], eax
lea eax, [0x59b138]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.004020e0
call fcn.0041d370
add esp, 0x74
ret
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x58], edx
mov ebx, dword [eax + 0x40]
mov dword [esp + 0x54], ebx
mov ebp, dword [eax + 0x44]
mov dword [esp + 0x50], ebp
mov esi, dword [eax + 0x30]
mov dword [esp + 0x4c], esi
mov eax, dword [eax + 0x34]
mov dword [esp + 0x48], eax
mov edi, dword [0x5bbb4c]
mov dword [esp + 0x44], edi
mov edi, dword [0x5bbb50]
mov dword [esp + 0x40], edi
call fcn.00433cd0
lea eax, [0x4e32e5]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.004345b0
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00434250
lea eax, [0x4e1958]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.004345b0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.00434250
lea eax, [0x4e48f7]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.004345b0
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00434250
lea eax, [0x4e2b67]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004345b0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00434250
lea eax, [0x4e1fc8]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004345b0
movsd xmm0, qword [esp + 0x6c]
movsd qword [esp], xmm0
call fcn.00433f90
lea eax, [0x4e1970]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.004345b0
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00434250
call fcn.00433ef0
call fcn.00433d40
lea eax, [0x4e2f1f]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004327b0
nop
call fcn.0045ab60
jmp fcn.0041cae0