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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
je 0x41918a
movzx eax, word [edi + 0x22]
test ax, ax
je 0x418a6f
dec eax
mov word [edi + 0x22], ax
test ax, ax
jne 0x41918a
cmp byte [edi + 0x20], al
je 0x418a47
call fcn.00423ed0
mov esi, eax
push 0
sub esp, 8
mov ecx, dword [esi]
add ecx, 0x48
mov dword [esp + 0x14], ecx
mov al, byte [ecx]
mov ecx, dword [ecx + 4]
movzx edx, al
inc al
movzx ecx, word [ecx + edx*2]
mov edx, dword [esp + 0x14]
push ecx
lea ecx, [esi + 0xdc]
mov byte [edx], al
call fcn.00446390
mov ecx, dword [esp + 8]
movzx eax, byte [ecx]
cmp al, byte [ecx + 1]
jb 0x418a47
mov byte [ecx], 0
mov eax, dword [ebp + 0x10]
movq xmm0, qword [eax]
movq qword [edi + 4], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 0xc], eax
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0xc
movzx eax, word [edi + 0x24]
test ax, ax
je 0x418d87
dec eax
mov word [edi + 0x24], ax
cmp word [edi + 0x68], 0
jne 0x418c51
movss xmm0, dword [edi + 0x4c]
subss xmm0, dword [0x4f3c04]
movss dword [edi + 0x4c], xmm0
mov ax, word [edi + 0x6a]
inc ax
movzx eax, ax
mov word [edi + 0x6a], ax
cmp ax, 0x3c
jle 0x418def
mov ecx, dword [ebp + 8]
xor eax, eax
movss xmm0, dword [0x4f3e94]
xor dl, dl
mov word [edi + 0x6a], ax
mov byte [esp + 0xf], dl
mov eax, dword [ecx + 0x14]
movss dword [esp + 8], xmm0
mov dword [esp + 0x10], eax
test eax, eax
js 0x418def
imul esi, eax, 0x1c8
nop word [eax + eax]
mov eax, dword [ecx + 0xc]
cmp byte [esi + eax], 0
je 0x418b9d
cmp dword [esi + eax + 0x168], 0
jle 0x418b9d
movss xmm1, dword [esi + eax + 0x20]
movss xmm0, dword [esi + eax + 0x28]
subss xmm0, dword [edi + 0xc]
subss xmm1, dword [edi + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x418b3f
sqrtsd xmm0, xmm0
jmp 0x418b44
call fcn.004c5db0
movss xmm1, dword [esp + 8]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x418b96
mov eax, dword [esp + 0x10]
mov dl, 1
movzx ecx, ax
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 8]
movss dword [esp + 8], xmm0
mov byte [esp + 0xf], dl
mov eax, dword [ecx + 0xc]
mov eax, dword [esi + eax + 0x1c0]
mov dword [edi + 0x84], eax
mov eax, dword [ecx + 0xc]
movq xmm0, qword [esi + eax + 0x20]
mov eax, dword [esi + eax + 0x28]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], eax
jmp 0x418b9d
mov ecx, dword [ebp + 8]
mov dl, byte [esp + 0xf]
mov eax, dword [esp + 0x10]
sub esi, 0x1c8
dec eax
mov dword [esp + 0x10], eax
test eax, eax
jns 0x418af0
test dl, dl
je 0x418def
mov eax, dword [esp + 0x14]
movss xmm1, dword [esp + 0x28]
movss xmm0, dword [esp + 0x20]
movzx eax, ax
mov dword [edi + 0x80], eax
mov eax, 1
mov word [edi + 0x68], ax
subss xmm1, dword [edi + 0xc]
subss xmm0, dword [edi + 4]
call fcn.00401cc0
movss dword [edi + 0x4c], xmm0
mulss xmm0, dword [0x4f3ee0]
movss dword [edi + 0x3c], xmm0
call fcn.00423ed0
mov esi, eax
push 0
sub esp, 8
mov ecx, dword [esi]
add ecx, 0x50
mov dword [esp + 0x14], ecx
mov al, byte [ecx]
mov ecx, dword [ecx + 4]
movzx edx, al
inc al
movzx ecx, word [ecx + edx*2]
mov edx, dword [esp + 0x14]
push ecx
lea ecx, [esi + 0xdc]
mov byte [edx], al
call fcn.00446390
mov ecx, dword [esp + 8]
movzx eax, byte [ecx]
cmp al, byte [ecx + 1]
jb 0x418c43
mov byte [ecx], 0
mov eax, 0x96
mov word [edi + 0x24], ax
jmp 0x418def
movss xmm1, dword [edi + 0x74]
movss xmm0, dword [edi + 0x70]
comiss xmm1, xmm0
jbe 0x418c6d
addss xmm0, dword [0x4f3bb4]
comiss xmm0, xmm1
jmp 0x418c7d
comiss xmm0, xmm1
jbe 0x418c89
subss xmm0, dword [0x4f3bb4]
comiss xmm1, xmm0
movss dword [edi + 0x70], xmm0
jbe 0x418c89
movss dword [edi + 0x70], xmm1
movss xmm0, dword [edi + 0x70]
movss dword [esp + 0x14], xmm0
movss dword [edi + 0x18], xmm0
mov dword [edi + 0x14], 0
movss xmm0, dword [edi + 0x4c]
call fcn.00401190
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0x4c]
call fcn.004011b0
movss xmm4, dword [esp + 0x14]
xorps xmm5, xmm5
movss xmm1, dword [esp + 8]
movaps xmm2, xmm4
mulss xmm4, dword [esp + 8]
mulss xmm2, xmm0
mulss xmm1, xmm5
mulss xmm0, xmm5
addss xmm2, xmm1
subss xmm4, xmm0
movss dword [edi + 0x10], xmm2
movss dword [edi + 0x18], xmm4
mov ax, word [edi + 0x6a]
inc ax
movzx eax, ax
mov word [edi + 0x6a], ax
cmp ax, 0x3c
jle 0x418def
mov edx, dword [ebp + 8]
movzx eax, word [edi + 0x80]
cmp dword [edx + 0x14], eax
jg 0x418d7f
mov edx, dword [edx + 0xc]
imul ecx, eax, 0x1c8
cmp byte [ecx + edx], 0
je 0x418d7f
cmp dword [ecx + edx + 0x168], 0
jle 0x418d7f
mov eax, dword [ecx + edx + 0x1c0]
cmp eax, dword [edi + 0x84]
jne 0x418d7f
movq xmm0, qword [ecx + edx + 0x20]
mov eax, dword [ecx + edx + 0x28]
movq qword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [edi + 4]
mov dword [esp + 0x28], eax
movss xmm1, dword [esp + 0x28]
subss xmm1, dword [edi + 0xc]
call fcn.00401cc0
movss dword [edi + 0x4c], xmm0
mulss xmm0, dword [0x4f3ee0]
movss dword [edi + 0x3c], xmm0
xor eax, eax
mov word [edi + 0x6a], ax
jmp 0x418def
cmp word [edi + 0x68], 0
jne 0x418da0
movss xmm0, dword [edi + 0x4c]
subss xmm0, dword [0x4f3c04]
movss dword [edi + 0x4c], xmm0
movzx eax, word [edi + 0x5c]
mov edx, eax
test ax, ax
jns 0x418e96
add eax, 0xf
movzx eax, ax
mov word [edi + 0x5c], ax
mov ecx, eax
mov edx, eax
test ax, ax
jle 0x418dcc
xor eax, eax
xor ecx, ecx
mov word [edi + 0x5c], ax
xor edx, edx
movzx ecx, cx
movzx edx, dx
movzx edx, dx
movzx eax, cx
test cx, cx
jg 0x418de3
mov byte [edi], 0
movzx eax, dx
cwde
shl eax, 0x18
or eax, 0xffffff
mov dword [edi + 0x58], eax
inc byte [edi + 0x88]
xor edx, edx
cmp byte [edi + 0x88], 2
movzx ecx, byte [edi + 0x88]
cmovg ecx, edx
mov byte [edi + 0x88], cl
cmp word [edi + 0x40], dx
jg 0x418e16
mov byte [edi], dl
movzx eax, word [edi + 0x48]
test al, 8
je 0x418e25
xor eax, 8
mov word [edi + 0x48], ax
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 4]
mov eax, dword [ebp + 0x10]
movss dword [edi + 4], xmm0
movss xmm1, dword [edi + 0x14]
addss xmm1, dword [edi + 8]
movss dword [esp + 8], xmm0
movss dword [edi + 8], xmm1
movss xmm2, dword [edi + 0x18]
addss xmm2, dword [edi + 0xc]
movss dword [esp + 0x18], xmm1
movss dword [edi + 0xc], xmm2
movss xmm1, dword [eax]
subss xmm1, xmm0
movss dword [esp + 0x14], xmm2
movss xmm0, dword [eax + 8]
subss xmm0, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x418ec5
sqrtsd xmm0, xmm0
jmp 0x418eca
mov ecx, eax
test ax, ax
jle 0x418dd2
add eax, 0xfffffff1
movzx eax, ax
mov word [edi + 0x5c], ax
mov ecx, eax
mov edx, eax
test ax, ax
jns 0x418dd2
xor eax, eax
xor edx, edx
mov word [edi + 0x5c], ax
jmp 0x418ddd
call fcn.004c5db0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x4f3e84]
comiss xmm0, xmm1
jbe 0x41918a
movss xmm1, dword [0x4f4580]
movss xmm0, dword [edi + 0x50]
movsx esi, byte [edi + 0x88]
xorps xmm0, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edi + 0x54]
xorps xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [edi + 0x4c]
xorps xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
call fcn.004c5740
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x20]
call fcn.004c5be0
movss xmm4, dword [esp + 0x10]
xorps xmm7, xmm7
movss xmm6, dword [esp + 0x1c]
movaps xmm2, xmm4
cvtsd2ss xmm7, xmm0
mov dword [esp + 0xac], 0
mulss xmm2, dword [edi + 0x54]
movaps xmm3, xmm4
mulss xmm6, xmm4
movaps xmm1, xmm7
mulss xmm1, dword [edi + 0x54]
movaps xmm5, xmm7
mulss xmm5, dword [esp + 0x1c]
movaps xmm4, xmm7
mulss xmm3, dword [edi + 0x50]
movaps xmm0, xmm6
subss xmm0, xmm1
mulss xmm4, dword [edi + 0x50]
movss dword [esp + 0x1c], xmm5
movss xmm5, dword [esp + 0x10]
mulss xmm5, dword [esp + 0x34]
addss xmm0, dword [esp + 8]
mulss xmm7, dword [esp + 0x34]
movss dword [esp + 0x10], xmm5
movss dword [esp + 0x38], xmm0
subss xmm6, xmm7
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x1c]
addss xmm6, dword [esp + 8]
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x50], xmm6
movss xmm6, dword [esp + 0x18]
movss dword [esp + 0x54], xmm6
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
movss dword [esp + 0x60], xmm6
movaps xmm1, xmm5
subss xmm3, xmm7
addss xmm0, dword [esp + 8]
addss xmm3, dword [esp + 8]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x5c], xmm3
movss xmm2, dword [esp + 0x14]
addss xmm0, xmm2
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x1c]
addss xmm1, xmm4
addss xmm0, xmm2
addss xmm1, xmm2
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esi*4 + 0x4dcd34]
movss dword [esp + 0x64], xmm1
movaps xmm1, xmm0
addss xmm1, dword [0x4f3bf4]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0xb0], xmm1
mov ecx, dword [edi + 0x58]
mov eax, ecx
movss dword [esp + 0xb8], xmm0
shr eax, 0x18
movss dword [esp + 0xc0], xmm1
movss xmm1, dword [0x4f3bb0]
mov dword [esp + 0xb4], 0
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 0x10
movzx eax, al
mov dword [esp + 0xbc], 0x3e280000
mov dword [esp + 0xc4], 0x3e280000
mulss xmm0, xmm1
movss dword [esp + 0xa4], xmm0
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
mulss xmm0, xmm1
movss dword [esp + 0x98], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
mulss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0xa0], xmm0
movups xmm0, xmmword [esp + 0x98]
movups xmmword [esp + 0x88], xmm0
movups xmmword [esp + 0x78], xmm0
movups xmmword [esp + 0x68], xmm0
call fcn.0042dc50
cmp byte [eax + 0x474], 2
jbe 0x41918a
mov edx, dword [eax + 0x470]
movzx eax, word [edx + 0x714]
cmp ax, word [edx + 0x716]
jae 0x41918a
lea edi, [eax + eax*8]
mov ecx, 0x24
shl edi, 4
lea esi, [esp + 0x38]
add edi, dword [edx + 0x710]
rep movsd dword es:[edi], dword [esi]
inc word [edx + 0x714]
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0xc