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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
test eax, eax
je 0x411b7c
cmp dword [eax + 0xa38], 0
je 0x411b7c
cmp dword [eax + 0xa2c], 0
je 0x411b7c
cvtsi2ss xmm0, dword [0x5c8584]
movss xmm1, dword [0x5652fc]
comiss xmm0, xmm1
jbe 0x41172b
movaps xmm0, xmm1
movss xmm1, dword [eax + 0xa28]
comiss xmm1, xmm0
ja 0x411b7c
cmp dword [eax + 0x9d4], 0x200
jne 0x411763
mov ecx, dword [0x6b09f8]
cmp dword [ecx + 0x9ef4], eax
jne 0x411763
cmp dword [ecx + 0x9ed4], 1
je 0x411b7c
movss xmm0, dword [eax + 0x86c]
ucomiss xmm0, dword [0x565320]
lahf
test ah, 0x44
jnp 0x411b7c
mov eax, dword [esi + 8]
test eax, eax
jne 0x411799
push eax
push eax
push 1
mov ecx, esi
call fcn.00410ef0
mov eax, dword [esi + 8]
test eax, eax
je 0x411b7c
mov edx, dword [esi]
mov ecx, dword [edx + 0x9d4]
movss xmm0, dword [0x5652d0]
movss dword [esp + 0x14], xmm0
cmp ecx, 0x200
jne 0x4117ed
movss xmm1, dword [edx + 0xa28]
movss xmm2, dword [0x565d50]
comiss xmm1, xmm2
jbe 0x4117e5
subss xmm1, xmm2
mulss xmm1, dword [0x565d4c]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x14], xmm0
cmp ecx, 0x200
je 0x4117f9
cmp edx, dword [0x5c964c]
jne 0x4118c9
xor ebp, ebp
test eax, eax
jbe 0x4118c9
xor edi, edi
xor ebx, ebx
jmp 0x411810
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0x8a4]
push eax
mov eax, dword [edx + ecx*4 + 0x3cc]
add eax, ebx
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00463530
mov edx, dword [esi + 0x3c]
movq xmm0, qword [esp + 0x40]
movq qword [edi + edx + 0xa8], xmm0
mov ecx, dword [esp + 0x48]
mov dword [edi + edx + 0xb0], ecx
lea eax, [edi + edx + 0xa8]
mov edx, dword [esi + 0x3c]
lea eax, [edi + edx]
movq xmm0, qword [eax + 0xa8]
movq qword [eax + 0x78], xmm0
lea ecx, [eax + 0xa8]
mov ecx, dword [ecx + 8]
mov dword [eax + 0x80], ecx
mov edx, dword [esi + 0x3c]
add eax, 0x78
lea eax, [edi + edx]
movq xmm0, qword [eax + 0x78]
movq qword [eax + 0x48], xmm0
lea ecx, [eax + 0x78]
mov ecx, dword [ecx + 8]
add eax, 0x48
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x3c]
lea eax, [edi + edx]
movq xmm0, qword [eax + 0x48]
lea ecx, [eax + 0x48]
add eax, 0x18
movq qword [eax], xmm0
mov ecx, dword [ecx + 8]
inc ebp
mov dword [eax + 8], ecx
add ebx, 0xc
add edi, 0xc0
cmp ebp, dword [esi + 8]
jb 0x411810
movss xmm0, dword [esp + 0x14]
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x411a39
movss xmm1, dword [0x5652f8]
xor ecx, ecx
xor eax, eax
mov edx, dword [esi + 0x18]
movss xmm2, dword [edx + eax]
mulss xmm2, xmm0
movss dword [esp + 0x18], xmm2
movss xmm2, dword [edx + eax + 4]
add edx, eax
mulss xmm2, xmm0
movss dword [esp + 0x1c], xmm2
movss xmm2, dword [edx + 8]
mov edx, dword [esi + 0x3c]
mulss xmm2, xmm0
movss dword [esp + 0x20], xmm2
movq xmm2, qword [esp + 0x18]
movq qword [edx + ecx], xmm2
mov ebx, dword [esp + 0x20]
mov dword [edx + ecx + 8], ebx
add edx, ecx
mov edx, dword [esi + 0x18]
movss xmm2, dword [edx + eax]
mulss xmm2, xmm0
add edx, eax
movss dword [esp + 0x28], xmm2
movss xmm2, dword [edx + 4]
mulss xmm2, xmm0
movaps xmm3, xmm1
subss xmm3, xmm2
movss xmm2, dword [edx + 8]
mov edx, dword [esi + 0x3c]
mulss xmm2, xmm0
movss dword [esp + 0x30], xmm2
mov ebx, dword [esp + 0x30]
lea edx, [ecx + edx + 0x30]
movss dword [esp + 0x2c], xmm3
movq xmm2, qword [esp + 0x28]
movq qword [edx], xmm2
mov dword [edx + 8], ebx
mov edx, dword [esi + 0x18]
add edx, eax
movaps xmm2, xmm0
mulss xmm2, dword [edx]
movaps xmm3, xmm1
subss xmm3, xmm2
movss xmm2, dword [edx + 4]
mulss xmm2, xmm0
movss dword [esp + 0x38], xmm2
movss xmm2, dword [edx + 8]
mov edx, dword [esi + 0x3c]
mulss xmm2, xmm0
movss dword [esp + 0x3c], xmm2
mov ebx, dword [esp + 0x3c]
lea edx, [ecx + edx + 0x60]
movss dword [esp + 0x34], xmm3
movq xmm2, qword [esp + 0x34]
movq qword [edx], xmm2
mov dword [edx + 8], ebx
mov edx, dword [esi + 0x18]
movss xmm2, dword [edx + eax]
add edx, eax
mulss xmm2, xmm0
movaps xmm3, xmm1
subss xmm3, xmm2
movss xmm2, dword [edx + 4]
movss dword [esp + 0x40], xmm3
mulss xmm2, xmm0
movaps xmm3, xmm1
subss xmm3, xmm2
movss xmm2, dword [edx + 8]
mov edx, dword [esi + 0x3c]
mulss xmm2, xmm0
lea edx, [ecx + edx + 0x90]
movss dword [esp + 0x48], xmm2
mov ebx, dword [esp + 0x48]
movss dword [esp + 0x44], xmm3
movq xmm2, qword [esp + 0x40]
movq qword [edx], xmm2
inc edi
mov dword [edx + 8], ebx
add eax, 0xc
add ecx, 0xc0
cmp edi, dword [esi + 8]
jb 0x4118e0
mov eax, dword [esi]
movss xmm0, dword [eax + 0x86c]
movaps xmm1, xmm0
mulss xmm1, dword [esi + 0x1c]
movss dword [esp + 0x40], xmm1
movss xmm1, dword [esi + 0x20]
mulss xmm1, xmm0
movss dword [esp + 0x44], xmm1
movss xmm1, dword [esi + 0x24]
xor edi, edi
mulss xmm1, xmm0
movss dword [esp + 0x48], xmm1
cmp dword [esi + 8], edi
jbe 0x411b5c
fld dword [esp + 0x40]
fld dword [0x565328]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(1), st(0)
or eax, 0xc00
fxch st(1)
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov edx, dword [esp + 0x18]
or edx, 0xffffff00
shl edx, 8
fldcw word [esp + 0x14]
fld dword [esp + 0x44]
fnstcw word [esp + 0x14]
fmul st(1)
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov ecx, dword [esp + 0x18]
and ecx, 0xff
or edx, ecx
shl edx, 8
fldcw word [esp + 0x14]
fmul dword [esp + 0x48]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
and eax, 0xff
or edx, eax
xor eax, eax
fldcw word [esp + 0x14]
jmp 0x411b20
mov ecx, dword [esi + 0x3c]
mov dword [eax + ecx + 0x9c], edx
mov ecx, dword [esi + 0x3c]
mov ebx, dword [ecx + eax + 0x9c]
add ecx, eax
mov dword [ecx + 0x6c], ebx
mov ecx, dword [esi + 0x3c]
mov ebx, dword [ecx + eax + 0x6c]
add ecx, eax
mov dword [ecx + 0x3c], ebx
mov ecx, dword [esi + 0x3c]
mov ebx, dword [ecx + eax + 0x3c]
add ecx, eax
inc edi
mov dword [ecx + 0xc], ebx
add eax, 0xc0
cmp edi, dword [esi + 8]
jb 0x411b20
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x40]
lea edx, [eax + eax*2]
add edx, edx
push edx
mov edx, dword [esi + 0x3c]
add eax, eax
add eax, eax
push eax
push ecx
push edx
mov ecx, 0x610810
call fcn.00409950
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret