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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1402a1fc0]
xor rax, rsp
mov qword [rbp - 0x50], rax
mov rdi, qword [rbp + 0xc0]
mov rsi, rcx
mov ecx, dword [rcx + 0x14]
mov ebx, r9d
mov r14, qword [0x140369a98]
mov dword [rbp - 0x78], ebx
mov qword [rbp - 0x80], r8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x78], rdi
test cl, 0x42
jne 0x14004a1d7
cmp byte [rsi + 0x108], 0
jg 0x14004a1d7
cmp byte [rsi + 0x109], 0
jg 0x14004a1d7
cmp byte [rsi + 0xec], 0
je 0x14004a1d7
movss xmm1, dword [r14 + 0x3d50]
movss xmm0, dword [rsi + 0x88]
movaps xmm2, xmm1
mulss xmm1, dword [0x1402575a4]
mov qword [r11 + 0x10], r12
mulss xmm2, dword [0x140257688]
movzx r12d, byte [r14 + 0x66]
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0x48], xmm6
movaps xmmword [r11 - 0x58], xmm7
movaps xmmword [r11 - 0x68], xmm8
movaps xmmword [r11 - 0x78], xmm9
movaps xmmword [r11 - 0x88], xmm10
movaps xmmword [r11 - 0x98], xmm11
movaps xmmword [r11 - 0xa8], xmm12
movaps xmmword [r11 - 0xb8], xmm13
xorps xmm13, xmm13
movaps xmmword [r11 - 0xc8], xmm14
movss xmm14, dword [0x140257644]
movaps xmmword [r11 - 0xd8], xmm15
addss xmm0, xmm14
mov byte [rsp + 0x33], 0
mov byte [rsp + 0x32], r12b
addss xmm0, xmm1
maxss xmm2, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x140257608]
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rsp + 0x3c], xmm0
test r12b, r12b
je 0x1400496d7
movss xmm7, dword [0x1402577b4]
jmp 0x1400496da
xorps xmm7, xmm7
cmp byte [r14 + 0x67], 0
mov rax, qword [rbp + 0xc8]
movss dword [rsp + 0x40], xmm7
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
je 0x140049751
and ecx, 1
jne 0x140049751
mov rcx, qword [rsi]
movss xmm1, dword [rsi + 0x2c8]
mov rax, qword [rsi + 0x3a8]
mov byte [rsp + 0x30], 1
mulss xmm1, dword [rcx + 0x3d54]
mulss xmm1, dword [rsi + 0x2cc]
test rax, rax
je 0x14004972f
mulss xmm1, dword [rax + 0x2c8]
movss xmm0, dword [rcx + 0x3918]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [rsp + 0x64]
subss xmm1, xmm0
movss dword [rsp + 0x38], xmm1
jmp 0x140049762
movss xmm0, dword [rsp + 0x64]
movss dword [rsp + 0x38], xmm0
mov byte [rsp + 0x30], 0
test dword [r14 + 0xc], 0x800
movss xmm15, dword [0x140257910]
movaps xmm9, xmm15
movaps xmm10, xmm15
movaps xmm12, xmm15
movaps xmm6, xmm15
je 0x14004979b
mov eax, dword [rsi + 0x40]
cmp dword [r14 + 0xe24], eax
jne 0x14004979b
mov rax, qword [rsi + 0x38]
test byte [rax + 4], 8
jne 0x1400497e0
mov rax, qword [rsi + 0x38]
movss xmm3, dword [rax + 8]
movss xmm0, dword [rax + 0xc]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x10]
shufps xmm3, xmm3, 0xe1
movaps xmm2, xmm0
addss xmm2, dword [rax + 0x14]
movss xmm3, xmm0
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm2
shufps xmm3, xmm3, 0x39
movups xmmword [rbp - 0x70], xmm3
movups xmmword [rsi + 0x270], xmm3
lea rcx, str.RESIZE
mov qword [rsp + 0x168], r13
mov dword [rsi + 0x190], 1
call fcn.14004f700
movss xmm11, dword [rsp + 0x60]
xor r15d, r15d
movss xmm8, dword [0x1402579a0]
test ebx, ebx
jle 0x140049bda
movss xmm11, dword [rsp + 0x3c]
mov r13, rdi
lea rdi, [0x140213b78]
nop word [rax + rax]
movss xmm0, dword [rsi + 0x50]
movss xmm1, dword [rsi + 0x54]
movaps xmm3, xmm0
addss xmm3, dword [rsi + 0x58]
movaps xmm2, xmm1
addss xmm2, dword [rsi + 0x5c]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [rdi - 8]
mulss xmm2, dword [rdi - 4]
addss xmm3, xmm0
movss xmm0, dword [rdi]
movaps xmm5, xmm0
mulss xmm0, xmm7
addss xmm2, xmm1
mulss xmm5, xmm11
movss xmm1, dword [rdi + 4]
movaps xmm4, xmm1
mulss xmm1, xmm7
addss xmm5, xmm3
mulss xmm4, xmm11
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [rbp - 0x68], xmm5
comiss xmm3, xmm5
movss dword [rbp - 0x70], xmm3
movss dword [rbp - 0x6c], xmm2
movss dword [rbp - 0x64], xmm4
jbe 0x1400498b8
movss dword [rbp - 0x70], xmm5
movss dword [rbp - 0x68], xmm3
comiss xmm2, xmm4
jbe 0x1400498c7
movss dword [rbp - 0x6c], xmm4
movss dword [rbp - 0x64], xmm2
mov edx, r15d
mov rcx, rsi
call fcn.140043840
mov r9d, 8
lea rcx, [rbp - 0x70]
xor r8d, r8d
mov edx, eax
mov ebx, eax
call fcn.140052510
lea r9, [rsp + 0x34]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x31]
mov edx, ebx
lea rcx, [rbp - 0x70]
call fcn.1400bd9e0
movzx r12d, byte [rsp + 0x31]
movzx ebx, byte [rsp + 0x34]
test r12b, r12b
jne 0x14004991d
test bl, bl
je 0x140049b55
mov eax, r15d
not eax
and eax, 1
add eax, 5
mov dword [r14 + 0x4e40], eax
test bl, bl
je 0x140049b55
cmp word [r14 + 0x375a], 2
jne 0x140049983
test r15d, r15d
jne 0x140049983
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.140048e20
xor edx, edx
mov byte [rsp + 0x33], 1
xor ecx, ecx
movss xmm12, dword [rax]
movss xmm6, dword [rax + 4]
call fcn.140043aa0
test bl, bl
je 0x140049b74
mov eax, 0x20
jmp 0x140049b80
movss xmm11, dword [rdi - 4]
ucomiss xmm11, xmm14
jp 0x140049991
je 0x1400499a0
ucomiss xmm11, xmm13
jp 0x1400499a8
jne 0x1400499a8
cmp byte [rsp + 0x30], 0
je 0x1400499a8
movss xmm7, dword [rsp + 0x38]
jmp 0x1400499ac
movaps xmm7, xmm8
movss xmm12, dword [rdi - 8]
ucomiss xmm12, xmm14
jp 0x1400499c2
jne 0x1400499c2
movss xmm6, dword [rsp + 0x60]
jmp 0x1400499c6
movaps xmm6, xmm8
ucomiss xmm11, xmm13
jp 0x1400499d7
jne 0x1400499d7
movss xmm9, dword [rsp + 0x6c]
jmp 0x1400499db
movaps xmm9, xmm15
ucomiss xmm12, xmm13
jp 0x1400499ec
jne 0x1400499ec
movss xmm8, dword [rsp + 0x68]
jmp 0x1400499f0
movaps xmm8, xmm15
movss xmm0, dword [rdi]
movss xmm4, dword [rsp + 0x3c]
movaps xmm1, xmm0
xorps xmm4, xmmword [0x140258400]
mulss xmm1, dword [rsp + 0x40]
movaps xmm5, xmm4
movss xmm2, dword [rdi + 4]
mulss xmm5, xmm0
movaps xmm3, xmm2
mulss xmm3, dword [rsp + 0x40]
movss xmm0, dword [r14 + 0xe08]
subss xmm5, xmm1
subss xmm0, dword [r14 + 0x408c]
mulss xmm4, xmm2
mulss xmm5, xmm12
subss xmm4, xmm3
addss xmm5, xmm1
movss xmm1, dword [r14 + 0xe0c]
subss xmm1, dword [r14 + 0x4090]
mulss xmm4, xmm11
addss xmm5, xmm0
addss xmm4, xmm3
addss xmm1, xmm4
comiss xmm7, xmm1
ja 0x140049a76
movaps xmm7, xmm9
minss xmm7, xmm1
comiss xmm6, xmm5
ja 0x140049a83
movaps xmm6, xmm8
minss xmm6, xmm5
movss xmm0, dword [rsi + 0x50]
lea r8, [rsp + 0x50]
movss xmm1, dword [rsi + 0x54]
lea rcx, [rsp + 0x58]
movaps xmm9, xmm0
movaps xmm10, xmm1
addss xmm0, dword [rsi + 0x58]
addss xmm1, dword [rsi + 0x5c]
subss xmm9, xmm6
mov rdx, rsi
subss xmm10, xmm7
mulss xmm9, xmm12
mulss xmm10, xmm11
addss xmm9, xmm6
subss xmm6, xmm0
addss xmm10, xmm7
subss xmm7, xmm1
mulss xmm6, xmm12
mulss xmm7, xmm11
addss xmm6, xmm0
addss xmm7, xmm1
subss xmm6, xmm9
subss xmm7, xmm10
movss dword [rsp + 0x50], xmm6
movss dword [rsp + 0x54], xmm7
call fcn.140048e20
movss xmm0, dword [rdi - 8]
ucomiss xmm0, xmm13
movss xmm12, dword [rsp + 0x58]
jp 0x140049b20
jne 0x140049b20
movaps xmm0, xmm12
subss xmm0, xmm6
subss xmm9, xmm0
movss xmm0, dword [rdi - 4]
ucomiss xmm0, xmm13
movss xmm6, dword [rsp + 0x5c]
jp 0x140049b3f
jne 0x140049b3f
movaps xmm0, xmm6
subss xmm0, xmm7
subss xmm10, xmm0
movss xmm7, dword [rsp + 0x40]
movss xmm8, dword [0x1402579a0]
movss xmm11, dword [rsp + 0x3c]
test r15d, r15d
je 0x140049971
test bl, bl
jne 0x140049979
test r12b, r12b
jne 0x140049b74
mov r11, qword [0x140369a98]
jmp 0x140049bb6
xor eax, eax
test r12b, r12b
setne al
add rax, 0x1e
mov r11, qword [0x140369a98]
lea rcx, [rbp - 0x60]
add rax, rax
movups xmm0, xmmword [r11 + rax*8 + 0x39bc]
movups xmmword [rbp - 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r11 + 0x38d8]
movss dword [rbp - 0x54], xmm0
call fcn.14003de90
mov dword [r13], eax
inc r15d
add rdi, 0x18
add r13, 4
cmp r15d, dword [rbp - 0x78]
jl 0x140049830
movss xmm11, dword [rsp + 0x60]
movzx r12d, byte [rsp + 0x32]
jmp 0x140049be1
mov r11, qword [0x140369a98]
xor edi, edi
neg r12b
sbb rax, rax
and eax, 4
mov qword [rsp + 0x48], rax
jbe 0x140049e8d
movss xmm14, dword [0x14025757c]
lea rax, [0x1402138e4]
mov qword [rsp + 0x40], rax
nop dword [rax]
cmp edi, 1
jbe 0x140049c2d
mov r15d, 3
lea rax, [rbp - 0x74]
mov r12d, 0xe0c
mov r13d, 0x4090
jmp 0x140049c43
mov r15d, 4
lea rax, [rbp - 0x78]
mov r12d, 0xe08
mov r13d, 0x408c
movss xmm0, dword [0x1402577b4]
lea rcx, [rbp - 0x60]
movss xmm3, dword [rsp + 0x3c]
mov r8d, edi
mov rdx, rsi
movss dword [rsp + 0x20], xmm0
mov qword [rsp + 0x58], rax
call fcn.140049450
lea edx, [rdi + 4]
mov rcx, rsi
call fcn.140043840
mov r9d, 8
lea rcx, [rbp - 0x60]
xor r8d, r8d
mov edx, eax
mov ebx, eax
call fcn.140052510
lea r9, [rsp + 0x32]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x31]
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.1400bd9e0
cmp byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x32]
je 0x140049cc4
movss xmm0, dword [r14 + 0x4070]
comiss xmm0, xmm14
ja 0x140049ccc
test al, al
je 0x140049e5a
mov dword [r14 + 0x4e40], r15d
test al, al
je 0x140049e5a
mov rax, qword [rbp - 0x80]
mov dword [rax], edi
cmp edi, 3
je 0x140049cf2
cmp edi, 2
jne 0x140049cf9
cmp byte [rsp + 0x30], 0
je 0x140049cf9
movss xmm8, dword [rsp + 0x38]
cmp edi, 1
jne 0x140049e2b
movaps xmm7, xmm11
movaps xmm2, xmm15
movaps xmm3, xmm15
movsd xmm0, qword [rsi + 0x50]
movss xmm1, dword [r12 + r14]
subss xmm1, dword [r14 + r13]
mov rax, qword [rsp + 0x58]
movsd qword [rbp - 0x78], xmm0
addss xmm1, dword [0x1402577b4]
movss dword [rax], xmm1
movss xmm0, dword [rbp - 0x74]
comiss xmm8, xmm0
ja 0x140049d49
movaps xmm8, xmm2
minss xmm8, xmm0
movss xmm0, dword [rbp - 0x78]
comiss xmm7, xmm0
ja 0x140049d5a
movaps xmm7, xmm3
minss xmm7, xmm0
mov rbx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
movss xmm0, dword [rsi + 0x50]
lea rcx, [rsp + 0x70]
movss xmm1, dword [rsi + 0x54]
movaps xmm9, xmm0
addss xmm0, dword [rsi + 0x58]
movss xmm11, dword [rbx - 8]
subss xmm9, xmm7
minss xmm11, dword [rbx]
movss xmm6, dword [rbx - 0xc]
movaps xmm10, xmm1
minss xmm6, dword [rbx - 4]
addss xmm1, dword [rsi + 0x5c]
subss xmm10, xmm8
mov rdx, rsi
mulss xmm9, xmm6
mulss xmm10, xmm11
addss xmm9, xmm7
subss xmm7, xmm0
addss xmm10, xmm8
subss xmm8, xmm1
mulss xmm7, xmm6
mulss xmm8, xmm11
addss xmm7, xmm0
addss xmm8, xmm1
subss xmm7, xmm9
subss xmm8, xmm10
movss dword [rsp + 0x50], xmm7
movss dword [rsp + 0x54], xmm8
call fcn.140048e20
ucomiss xmm6, xmm13
movss xmm12, dword [rsp + 0x70]
jp 0x140049e0e
jne 0x140049e0e
movaps xmm0, xmm12
subss xmm0, xmm7
subss xmm9, xmm0
ucomiss xmm11, xmm13
movss xmm6, dword [rsp + 0x74]
jp 0x140049e5f
jne 0x140049e5f
movaps xmm0, xmm6
subss xmm0, xmm8
subss xmm10, xmm0
jmp 0x140049e5f
movss xmm7, dword [0x1402579a0]
cmp edi, 2
jne 0x140049e43
movss xmm2, dword [rsp + 0x6c]
jmp 0x140049d0a
movaps xmm2, xmm15
test edi, edi
jne 0x140049d0a
movss xmm3, dword [rsp + 0x68]
jmp 0x140049d0e
mov rbx, qword [rsp + 0x40]
movss xmm8, dword [0x1402579a0]
add rbx, 0x1c
movss xmm11, dword [rsp + 0x60]
inc edi
sub qword [rsp + 0x48], 1
mov qword [rsp + 0x40], rbx
jne 0x140049c10
mov r11, qword [0x140369a98]
mov rax, qword [r11 + 0x4018]
movaps xmm14, xmmword [rsp + 0xd0]
movaps xmm11, xmmword [rsp + 0x100]
mov r15, qword [rsp + 0x160]
dec dword [rax + 0x128]
mov r13, qword [rsp + 0x168]
mov r12, qword [rsp + 0x1a8]
mov dword [rsi + 0x190], 0
mov rax, qword [r14 + 0x4c80]
test rax, rax
je 0x14004a107
cmp qword [rax + 0x3c8], rsi
jne 0x14004a107
mov eax, dword [r14 + 0x4ad4]
cmp eax, 2
jne 0x140049f39
cmp byte [r14 + 0xe29], 0
je 0x14004a107
mov edx, 0x203
mov rcx, r11
call fcn.14004f940
mov edx, 0x201
mov rcx, r11
mov r10, rax
call fcn.14004f940
mov edx, 0x202
mov rcx, r11
mov r9, rax
call fcn.14004f940
mov edx, 0x204
jmp 0x140049f74
cmp eax, 3
jne 0x14004a107
mov edx, 0x271
mov rcx, r11
call fcn.14004f940
mov edx, 0x26f
mov rcx, r11
mov r10, rax
call fcn.14004f940
mov edx, 0x270
mov rcx, r11
mov r9, rax
call fcn.14004f940
mov edx, 0x272
movss xmm2, dword [rax + 0xc]
mov rcx, r11
subss xmm2, dword [r9 + 0xc]
call fcn.14004f940
ucomiss xmm2, xmm13
movss xmm3, dword [rax + 0xc]
subss xmm3, dword [r10 + 0xc]
jp 0x140049fa6
jne 0x140049fa6
ucomiss xmm3, xmm13
jp 0x140049fa6
je 0x14004a107
movss xmm1, dword [r14 + 0x50]
lea rcx, [rbp - 0x60]
minss xmm1, dword [r14 + 0x54]
movss xmm0, dword [r14 + 0x18]
mulss xmm0, dword [0x1402578c8]
mulss xmm1, xmm0
movss xmm0, dword [rsp + 0x60]
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [r14 + 0x4cac]
addss xmm3, dword [r14 + 0x4cb0]
movss dword [r14 + 0x4cac], xmm2
movss dword [r14 + 0x4cb0], xmm3
subss xmm0, dword [rsi + 0x50]
subss xmm0, dword [rsi + 0x58]
maxss xmm2, xmm0
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsi + 0x54]
subss xmm0, dword [rsi + 0x5c]
movss dword [r14 + 0x4cac], xmm2
mov byte [r14 + 0x4ca0], 0
mov byte [r14 + 0x4aeb], 1
maxss xmm3, xmm0
movss dword [r14 + 0x4cb0], xmm3
movups xmm0, xmmword [r11 + 0x3bbc]
movups xmmword [rbp - 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r11 + 0x38d8]
movss dword [rbp - 0x54], xmm0
call fcn.14003de90
mov rcx, qword [rsp + 0x78]
mov dword [rcx], eax
cvttss2si eax, dword [r14 + 0x4cac]
movd xmm8, eax
cvttss2si eax, dword [r14 + 0x4cb0]
cvtdq2ps xmm8, xmm8
movd xmm7, eax
ucomiss xmm8, xmm13
cvtdq2ps xmm7, xmm7
jp 0x14004a09a
jne 0x14004a09a
ucomiss xmm7, xmm13
jp 0x14004a09a
je 0x14004a107
movaps xmm0, xmm8
lea r8, [rsp + 0x48]
addss xmm0, dword [rsi + 0x60]
movaps xmm1, xmm7
lea rcx, [rsp + 0x78]
addss xmm1, dword [rsi + 0x64]
mov rdx, rsi
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
call fcn.140048e20
movss xmm0, dword [r14 + 0x4cac]
movss xmm1, dword [r14 + 0x4cb0]
subss xmm0, xmm8
mov r11, qword [0x140369a98]
subss xmm1, xmm7
movss xmm12, dword [rax]
movss xmm6, dword [rax + 4]
movss dword [r14 + 0x4cac], xmm0
movss dword [r14 + 0x4cb0], xmm1
ucomiss xmm12, xmm15
movaps xmm8, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x140]
jp 0x14004a120
je 0x14004a149
test dword [rsi + 0x14], 0x100
movss dword [rsi + 0x60], xmm12
movss dword [rsi + 0x64], xmm6
jne 0x14004a149
comiss xmm13, dword [r11 + 0x5ee4]
jb 0x14004a149
mov eax, dword [r11 + 0x1c]
mov dword [r11 + 0x5ee4], eax
movaps xmm12, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x150]
ucomiss xmm9, xmm15
movaps xmm15, xmmword [rsp + 0xc0]
jp 0x14004a16b
je 0x14004a1ab
test dword [rsi + 0x14], 0x100
cvttss2si eax, xmm9
movd xmm1, eax
cvttss2si eax, xmm10
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x50], xmm1
movss dword [rsi + 0x54], xmm0
jne 0x14004a1ab
comiss xmm13, dword [r11 + 0x5ee4]
jb 0x14004a1ab
mov ecx, dword [r11 + 0x1c]
mov dword [r11 + 0x5ee4], ecx
movsd xmm0, qword [rsi + 0x60]
movzx eax, byte [rsp + 0x33]
movaps xmm13, xmmword [rsp + 0xe0]
movaps xmm10, xmmword [rsp + 0x110]
movaps xmm9, xmmword [rsp + 0x120]
movsd qword [rsi + 0x58], xmm0
jmp 0x14004a1d9
xor al, al
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.1401e0b10
add rsp, 0x170
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret