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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x118
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x80], xmm15
movaps xmmword [rbp + 0x70], xmm14
movaps xmmword [rbp + 0x60], xmm13
movaps xmmword [rbp + 0x50], xmm12
movaps xmmword [rbp + 0x40], xmm11
movdqa xmmword [rbp + 0x30], xmm10
movaps xmmword [rbp + 0x20], xmm9
movaps xmmword [rbp + 0x10], xmm8
movdqa xmmword [rbp], xmm7
movaps xmmword [rbp - 0x10], xmm6
mov rax, qword [0x140208a80]
xor rax, rbp
mov qword [rbp - 0x18], rax
cmp r9d, 0x1000000
jae 0x140057a12
mov rcx, qword [rbp - 0x18]
xor rcx, rbp
sub rsp, 0x20
call fcn.14010bb50
add rsp, 0x20
movaps xmm6, xmmword [rbp - 0x10]
movaps xmm7, xmmword [rbp]
movaps xmm8, xmmword [rbp + 0x10]
movaps xmm9, xmmword [rbp + 0x20]
movaps xmm10, xmmword [rbp + 0x30]
movaps xmm11, xmmword [rbp + 0x40]
movaps xmm12, xmmword [rbp + 0x50]
movaps xmm13, xmmword [rbp + 0x60]
movaps xmm14, xmmword [rbp + 0x70]
movaps xmm15, xmmword [rbp + 0x80]
lea rsp, [rbp + 0x98]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov esi, r9d
mov rdi, r8
mov rbx, rdx
mov r14, rcx
movss xmm3, dword [rbp + 0x118]
mov edx, dword [rbp + 0x110]
xorps xmm0, xmm0
ucomiss xmm3, xmm0
setbe al
mov ecx, edx
and ecx, 0x1f0
cmp ecx, 0x100
sete cl
or cl, al
test edx, 0x200
mov byte [rbp - 0x39], cl
je 0x140057ab6
test cl, cl
jne 0x140057ab6
sub rsp, 0x30
mov dword [rsp + 0x20], edx
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.1400551b0
add rsp, 0x30
movsxd r8, dword [r14 + 0x78]
lea rax, [r8*8 + 0xf]
mov qword [rbp - 0x58], r8
shl r8, 3
and rax, 0xfffffffffffffff0
call fcn.14010bd10
sub rsp, rax
mov rcx, rsp
mov rdx, qword [r14 + 0x80]
sub rsp, 0x20
mov qword [rbp - 0x50], rcx
call sub.VCRUNTIME140.dll_memcpy
add rsp, 0x20
mov dword [r14 + 0x78], 0
jmp 0x140057ae5
test edx, 0x200
jne 0x140057ad9
sub rsp, 0x20
mov rcx, r14
mov edx, 0x36
mov r8d, 0x24
call fcn.1400532a0
add rsp, 0x20
xor eax, eax
mov qword [rbp - 0x50], rax
xor eax, eax
mov qword [rbp - 0x58], rax
movss xmm3, dword [rbp + 0x100]
mov r12d, 0xc
xor r8d, r8d
mov r13d, dword [rbp + 0x110]
jmp 0x140057b15
inc r8
mov r12, qword [rbp - 0x60]
add r12, 0x10
cmp r8, 3
je 0x1400579b7
mov qword [rbp - 0x60], r12
xor r15d, r15d
mov qword [rbp - 0x48], r8
jmp 0x140057bb9
mov rax, qword [rbp + 0x108]
movsd xmm1, qword [rax]
movaps xmm2, xmm0
unpcklps xmm2, xmm6
addps xmm2, xmm1
movlps qword [rbp - 0x30], xmm2
shufps xmm13, xmm0, 0xd4
shufps xmm13, xmm0, 0x52
addps xmm13, xmm1
movlps qword [rbp - 0x38], xmm13
sub rsp, 0x40
mov dword [rsp + 0x38], esi
mov rax, qword [rbp - 0x58]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov rcx, r14
lea rdx, [rbp - 0x38]
lea r8, [rbp - 0x30]
lea r9, [rbp - 0x20]
call fcn.1400582c0
mov r8, qword [rbp - 0x48]
movss xmm3, dword [rbp + 0x100]
mov r13d, dword [rbp + 0x110]
add rsp, 0x40
inc r15
add r12, 0x30
cmp r15, 3
je 0x140057b00
cmp r8d, 2
je 0x140057bf0
cmp r8d, 1
je 0x140057be0
xorps xmm0, xmm0
test r8d, r8d
jne 0x140057bfe
movss xmm0, dword [rbx]
movaps xmm1, xmm0
subss xmm1, xmm3
jmp 0x140057bfb
movss xmm1, dword [rbx]
movss xmm0, dword [rdi]
jmp 0x140057bfb
movss xmm1, dword [rdi]
movaps xmm0, xmm1
addss xmm0, xmm3
unpcklps xmm0, xmm1
cmp r15d, 2
je 0x140057c40
cmp r15d, 1
je 0x140057c30
xorps xmm6, xmm6
xorps xmm13, xmm13
test r15d, r15d
jne 0x140057c4e
movss xmm6, dword [rbx + 4]
movaps xmm13, xmm6
subss xmm13, xmm3
jmp 0x140057c4e
movss xmm13, dword [rbx + 4]
movss xmm6, dword [rdi + 4]
jmp 0x140057c4e
movss xmm13, dword [rdi + 4]
movaps xmm6, xmm13
addss xmm6, xmm3
mov rax, qword [r14 + 0x38]
mov rax, qword [rax + 0x218]
movss xmm8, dword [rax + r12 - 0xc]
movd xmm10, dword [rax + r12 - 8]
movss xmm14, dword [rax + r12 - 4]
movd xmm7, dword [rax + r12]
movss dword [rbp - 0x20], xmm8
movd dword [rbp - 0x1c], xmm10
movss dword [rbp - 0x28], xmm14
movd dword [rbp - 0x24], xmm7
test r13d, 0x200
jne 0x140057db0
mov ecx, dword [rbp - 0x28]
mov eax, dword [rbp - 0x20]
mov edx, dword [r14 + 0x34]
mov r8, qword [r14 + 0x50]
lea r9d, [rdx + 1]
lea r10d, [rdx + 2]
mov r11, rbx
mov rbx, rdi
mov rdi, qword [rbp + 0x108]
movsd xmm1, qword [rdi]
mov rdi, rbx
mov rbx, r11
mov word [r8], dx
mov r8, qword [r14 + 0x50]
mov word [r8 + 2], r9w
mov r8, qword [r14 + 0x50]
mov word [r8 + 4], r10w
mov r8, qword [r14 + 0x50]
mov word [r8 + 6], dx
add edx, 3
shufps xmm13, xmm0, 0xd4
shufps xmm13, xmm0, 0x52
addps xmm13, xmm1
mov r8, qword [r14 + 0x50]
mov word [r8 + 8], r10w
mov r8, qword [r14 + 0x50]
mov word [r8 + 0xa], dx
mov rdx, qword [r14 + 0x48]
movlps qword [rdx], xmm13
mov rdx, qword [r14 + 0x48]
mov r8, qword [rbp - 0x20]
mov qword [rdx + 8], r8
mov r8, qword [rbp - 0x48]
mov rdx, qword [r14 + 0x48]
mov dword [rdx + 0x10], esi
mov rdx, qword [r14 + 0x48]
movaps xmm2, xmm13
shufps xmm2, xmm13, 0x55
movss dword [rdx + 0x18], xmm2
movlhps xmm6, xmm0
shufps xmm6, xmm0, 0xe2
addps xmm6, xmm1
movss dword [rdx + 0x14], xmm6
mov rdx, qword [r14 + 0x48]
mov dword [rdx + 0x1c], ecx
movd dword [rdx + 0x20], xmm10
mov rcx, qword [r14 + 0x48]
mov dword [rcx + 0x24], esi
mov rcx, qword [r14 + 0x48]
movlps qword [rcx + 0x28], xmm6
mov rcx, qword [r14 + 0x48]
mov rdx, qword [rbp - 0x28]
mov qword [rcx + 0x30], rdx
mov rcx, qword [r14 + 0x48]
mov dword [rcx + 0x38], esi
mov rcx, qword [r14 + 0x48]
movss dword [rcx + 0x3c], xmm13
shufps xmm6, xmm6, 0x55
movss dword [rcx + 0x40], xmm6
mov rcx, qword [r14 + 0x48]
mov dword [rcx + 0x44], eax
movd dword [rcx + 0x48], xmm7
mov rax, qword [r14 + 0x48]
mov dword [rax + 0x4c], esi
add qword [r14 + 0x48], 0x50
add dword [r14 + 0x34], 4
add qword [r14 + 0x50], 0xc
jmp 0x140057ba8
cmp byte [rbp - 0x39], 0
je 0x140057b30
mov rax, qword [rbp + 0x108]
movsd xmm11, qword [rax]
movlhps xmm6, xmm0
shufps xmm6, xmm0, 0xe2
movaps xmm9, xmm11
addps xmm9, xmm6
shufps xmm13, xmm0, 0xd4
shufps xmm13, xmm0, 0x52
addps xmm11, xmm13
ucomiss xmm11, xmm9
jae 0x140057ba8
movaps xmm2, xmm9
shufps xmm2, xmm9, 0x55
movaps xmm12, xmm11
shufps xmm12, xmm11, 0x55
ucomiss xmm12, xmm2
jae 0x140057ba8
movsd xmm15, qword [rbx]
movsd xmm4, qword [rdi]
movaps xmm0, xmm9
movlhps xmm0, xmm15
movaps xmm1, xmm4
movlhps xmm1, xmm11
cmpltps xmm1, xmm0
pslld xmm1, 0x1f
movmskps eax, xmm1
test eax, eax
je 0x140057ba8
maxps xmm15, xmm11
minps xmm4, xmm9
ucomiss xmm15, xmm4
jae 0x140058159
movaps xmm0, xmm15
shufps xmm0, xmm15, 0x55
movaps xmm1, xmm4
shufps xmm1, xmm4, 0x55
ucomiss xmm0, xmm1
jae 0x140058159
sub rsp, 0x20
mov rcx, r14
mov edx, 0x18
mov r8d, 0xc
movaps xmm8, xmm2
movaps xmm14, xmm4
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
call fcn.1400532a0
movaps xmm5, xmm14
movaps xmm4, xmm8
add rsp, 0x20
mov rax, qword [r14 + 0x50]
mov rdx, qword [r14 + 0x48]
mov ecx, dword [r14 + 0x34]
movlps qword [rdx], xmm11
mov r8d, dword [rbp - 0x20]
mov dword [rdx + 8], r8d
movd dword [rdx + 0xc], xmm10
mov dword [rdx + 0x10], esi
movss dword [rdx + 0x14], xmm9
movss dword [rdx + 0x18], xmm12
mov r9d, dword [rbp - 0x28]
mov dword [rdx + 0x1c], r9d
movd dword [rdx + 0x20], xmm10
mov dword [rdx + 0x24], esi
movlps qword [rdx + 0x28], xmm9
mov dword [rdx + 0x30], r9d
movd dword [rdx + 0x34], xmm7
mov dword [rdx + 0x38], esi
movss dword [rdx + 0x3c], xmm11
movss dword [rdx + 0x40], xmm8
mov dword [rdx + 0x44], r8d
movd dword [rdx + 0x48], xmm7
mov dword [rdx + 0x4c], esi
subps xmm6, xmm13
rcpps xmm0, xmm6
movd xmm1, r9d
punpcklqdq xmm7, xmm1
shufps xmm7, xmm1, 0xe2
movd xmm1, r8d
punpcklqdq xmm10, xmm1
shufps xmm10, xmm1, 0xe2
subps xmm7, xmm10
movaps xmm1, xmm7
mulps xmm1, xmm0
mulps xmm6, xmm1
subps xmm7, xmm6
mulps xmm7, xmm0
addps xmm7, xmm1
rcpps xmm0, xmm7
movaps xmm1, xmm10
mulps xmm1, xmm0
movaps xmm2, xmm7
mulps xmm2, xmm1
subps xmm10, xmm2
mulps xmm10, xmm0
addps xmm10, xmm1
movaps xmm0, xmm10
subps xmm0, xmm11
movaps xmm1, xmm0
addps xmm1, xmm15
mulps xmm1, xmm7
movaps xmm2, xmm15
movlhps xmm2, xmm1
movups xmmword [rdx + 0x50], xmm2
mov dword [rdx + 0x60], esi
movss dword [rdx + 0x64], xmm14
movaps xmm6, xmmword [rbp - 0x70]
movss dword [rdx + 0x68], xmm6
movaps xmm2, xmm1
shufps xmm2, xmm1, 0x55
movss dword [rdx + 0x70], xmm2
mov dword [rdx + 0x74], esi
movlps qword [rdx + 0x78], xmm14
movaps xmm2, xmm14
addps xmm2, xmm0
mulps xmm2, xmm7
movss dword [rdx + 0x6c], xmm2
movlps qword [rdx + 0x80], xmm2
mov dword [rdx + 0x88], esi
movss dword [rdx + 0x8c], xmm15
movaps xmm8, xmmword [rbp - 0x80]
movss dword [rdx + 0x90], xmm8
movss dword [rdx + 0x94], xmm1
movaps xmm3, xmm2
shufps xmm3, xmm2, 0x55
movss dword [rdx + 0x98], xmm3
mov dword [rdx + 0x9c], esi
movss dword [rdx + 0xa0], xmm15
movss dword [rdx + 0xa4], xmm12
mulps xmm10, xmm7
shufps xmm10, xmm10, 0x55
movss dword [rdx + 0xa8], xmm1
movss dword [rdx + 0xac], xmm10
mov dword [rdx + 0xb0], esi
movss dword [rdx + 0xb4], xmm14
movss dword [rdx + 0xb8], xmm12
movss dword [rdx + 0xbc], xmm2
movss dword [rdx + 0xc0], xmm10
mov dword [rdx + 0xc4], esi
movss dword [rdx + 0xc8], xmm14
movss dword [rdx + 0xcc], xmm4
addps xmm0, xmm9
mulps xmm0, xmm7
shufps xmm0, xmm0, 0x55
movss dword [rdx + 0xd0], xmm2
movss dword [rdx + 0xd4], xmm0
mov dword [rdx + 0xd8], esi
movss dword [rdx + 0xdc], xmm15
movss dword [rdx + 0xe0], xmm4
movss dword [rdx + 0xe4], xmm1
movss dword [rdx + 0xe8], xmm0
mov dword [rdx + 0xec], esi
add qword [r14 + 0x48], 0xf0
add dword [r14 + 0x34], 0xc
ucomiss xmm15, xmm11
movaps xmm0, xmm8
movaps xmm1, xmm6
jbe 0x1400580d4
mov word [rax], cx
lea edx, [rcx + 8]
mov word [rax + 2], dx
lea edx, [rcx + 0xb]
mov word [rax + 4], dx
mov word [rax + 6], cx
mov word [rax + 8], dx
lea edx, [rcx + 3]
mov word [rax + 0xa], dx
add rax, 0xc
mov r13d, dword [rbp + 0x110]
movss xmm3, dword [rbp + 0x100]
ucomiss xmm1, xmm12
ja 0x140058247
ucomiss xmm9, xmm5
ja 0x14005827d
ucomiss xmm4, xmm0
jbe 0x140058128
lea edx, [rcx + 7]
mov word [rax], dx
lea r8d, [rcx + 6]
mov word [rax + 2], r8w
lea r8d, [rcx + 0xa]
mov word [rax + 4], r8w
mov word [rax + 6], dx
mov word [rax + 8], r8w
add ecx, 0xb
mov word [rax + 0xa], cx
add rax, 0xc
mov r8, qword [rbp - 0x48]
mov rcx, rax
sub rcx, qword [r14 + 0x50]
shr rcx, 1
mov qword [r14 + 0x50], rax
mov eax, 0x18
sub eax, ecx
mov rcx, qword [r14 + 8]
movsxd rdx, dword [r14]
imul rdx, rdx, 0x38
sub dword [rdx + rcx - 0x18], eax
sub dword [r14 + 0x10], eax
jmp 0x140057ba8
sub rsp, 0x20
mov rcx, r14
mov edx, 6
mov r8d, 4
movaps xmm6, xmm2
call fcn.1400532a0
mov r8, qword [rbp - 0x48]
movss xmm3, dword [rbp + 0x100]
mov r13d, dword [rbp + 0x110]
add rsp, 0x20
mov eax, dword [r14 + 0x34]
mov rcx, qword [r14 + 0x50]
mov word [rcx], ax
lea ecx, [rax + 1]
mov rdx, qword [r14 + 0x50]
mov word [rdx + 2], cx
lea ecx, [rax + 2]
mov rdx, qword [r14 + 0x50]
mov word [rdx + 4], cx
mov rdx, qword [r14 + 0x50]
mov word [rdx + 6], ax
mov rdx, qword [r14 + 0x50]
mov word [rdx + 8], cx
add eax, 3
mov rcx, qword [r14 + 0x50]
mov word [rcx + 0xa], ax
mov rax, qword [r14 + 0x48]
movlps qword [rax], xmm11
mov rax, qword [r14 + 0x48]
mov rcx, qword [rbp - 0x20]
mov qword [rax + 8], rcx
mov rax, qword [r14 + 0x48]
mov dword [rax + 0x10], esi
mov rax, qword [r14 + 0x48]
movss dword [rax + 0x14], xmm9
movss dword [rax + 0x18], xmm12
mov rax, qword [r14 + 0x48]
movss dword [rax + 0x1c], xmm14
movd dword [rax + 0x20], xmm10
mov rax, qword [r14 + 0x48]
mov dword [rax + 0x24], esi
mov rax, qword [r14 + 0x48]
movlps qword [rax + 0x28], xmm9
mov rax, qword [r14 + 0x48]
mov rcx, qword [rbp - 0x28]
mov qword [rax + 0x30], rcx
mov rax, qword [r14 + 0x48]
mov dword [rax + 0x38], esi
mov rax, qword [r14 + 0x48]
movss dword [rax + 0x3c], xmm11
movss dword [rax + 0x40], xmm6
mov rax, qword [r14 + 0x48]
movss dword [rax + 0x44], xmm8
movd dword [rax + 0x48], xmm7
jmp 0x140057d95
lea edx, [rcx + 8]
mov word [rax], dx
lea r8d, [rcx + 9]
mov word [rax + 2], r8w
lea r8d, [rcx + 5]
mov word [rax + 4], r8w
mov word [rax + 6], dx
mov word [rax + 8], r8w
lea edx, [rcx + 4]
mov word [rax + 0xa], dx
add rax, 0xc
ucomiss xmm9, xmm5
jbe 0x1400580f7
lea edx, [rcx + 9]
mov word [rax], dx
lea r8d, [rcx + 1]
mov word [rax + 2], r8w
lea r8d, [rcx + 2]
mov word [rax + 4], r8w
mov word [rax + 6], dx
mov word [rax + 8], r8w
lea edx, [rcx + 0xa]
mov word [rax + 0xa], dx
add rax, 0xc
ucomiss xmm4, xmm0
ja 0x1400580fc
jmp 0x140058128