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

Disassembly:
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x168
movaps xmmword [rsp + 0x110], xmm9
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x1c0]
mov r13, rcx
mov rcx, qword [rsp + 0x1d0]
xor esi, esi
mov qword [rsp + 0x98], rax
mov r14, rdx
mov rax, qword [rsp + 0x1c8]
xorps xmm9, xmm9
movzx ebx, byte [r13 + 0x24]
mov qword [rsp + 0x68], rax
inc rbx
movsxd r15, r8d
mov rax, r15
mov qword [rsp + 0xa0], r9
mov qword [rsp + 0x90], rax
add rax, 2
imul rbx, rax
mov qword [rsp + 0x70], rcx
shl rbx, 2
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x30], esi
call fcn.1803315d0
test eax, eax
jne 0x180357b13
mov rcx, rbx
call fcn.180294f00
mov qword [rsp + 0x60], rax
mov r12, rax
test rax, rax
je 0x180357b13
movzx r9d, byte [r13 + 0x24]
mov r8, rbx
mov ecx, r9d
mov qword [rsp + 0x160], rbp
imul ecx, r15d
mov qword [rsp + 0x158], rdi
movsxd rdx, ecx
lea rcx, [rdx + r9*2]
xor edx, edx
lea rbp, [rax + rcx*4]
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
movzx ecx, byte [r13 + 0x24]
xor edi, edi
test cl, cl
je 0x180357506
mov rbx, r12
nop dword [rax]
nop word [rax + rax]
movzx ecx, cl
movsxd rax, esi
lea rcx, [rax + rcx*2]
lea rdx, [r12 + rcx*4]
xor ecx, ecx
mov qword [rbx], rdx
test r15d, r15d
jle 0x1803574d5
xor edx, edx
nop word [rax + rax]
mov rax, qword [rbx]
lea rdx, [rdx + 4]
mov dword [rdx + rax - 4], ecx
inc ecx
cmp ecx, r15d
jl 0x1803574c0
mov rdx, qword [rbx]
mov qword [rsp + 0x28], rbp
mov r9d, edi
mov r8d, r15d
mov qword [rsp + 0x20], r14
mov rcx, r13
call fcn.1803571a0
movzx eax, byte [r13 + 0x24]
inc edi
add esi, r15d
add rbx, 8
movzx ecx, al
cmp edi, eax
jl 0x1803574a0
mov esi, dword [rsp + 0x30]
xor r8d, r8d
movzx r9d, cl
mov dword [rsp + 0x48], r9d
mov dword [rsp + 0x40], r8d
test cl, cl
je 0x180357943
movzx ecx, byte [r13 + 0x27]
lea r12, [r15 - 1]
mov eax, dword [r13 + 0x20]
sub eax, 4
movaps xmmword [rsp + 0x140], xmm6
cdq
movaps xmmword [rsp + 0x130], xmm7
idiv ecx
movaps xmmword [rsp + 0x120], xmm8
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov rdx, qword [rsp + 0x60]
sub r15d, ecx
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x38], r15d
mov edi, r15d
mov qword [rsp + 0x58], rdx
nop dword [rax]
nop dword [rax + rax]
xor eax, eax
movsxd r15, ecx
mov dword [rsp + 0x34], eax
xorps xmm6, xmm6
xorps xmm7, xmm7
xorps xmm8, xmm8
cmp r15d, edi
jg 0x1803578ea
mov r9, qword [rdx]
mov rbp, r15
movzx ebx, byte [r13 + 0x25]
movzx esi, byte [r13 + 0x26]
mov qword [rsp + 0x88], r9
movsxd rcx, dword [r9 + r12*4]
movsxd rax, dword [r9]
lea r8, [rcx + rcx*2]
lea rdx, [rax + rax*2]
shl rdx, 4
lea rcx, [rbx - 2]
shl r8, 4
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x50], rcx
movups xmm0, xmmword [rdx + r14]
mov r10d, 1
movups xmm1, xmmword [rdx + r14 + 0x10]
movups xmmword [rsp + 0xd8], xmm0
movups xmm0, xmmword [rdx + r14 + 0x20]
movups xmmword [rsp + 0xe8], xmm1
movups xmm1, xmmword [r8 + r14]
movups xmmword [rsp + 0xf8], xmm0
movups xmm0, xmmword [r8 + r14 + 0x10]
movups xmmword [rsp + 0xa8], xmm1
movups xmm1, xmmword [r8 + r14 + 0x20]
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm1
cmp r12, r10
jle 0x18035779a
movzx edi, byte [r13 + 0x26]
lea r11, [r9 + 4]
nop dword [rax + rax]
movsxd rax, dword [r11]
xor r8d, r8d
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, r14
cmp r10, rbp
jge 0x1803576f6
lea rax, [rsp + 0xe0]
sub rdx, rax
test dil, dil
jne 0x1803576b3
lea rax, [rsp + 0xe0]
movss xmm0, dword [rax]
add r8d, 2
movss xmm1, dword [rax + 4]
minss xmm0, dword [rdx + rax + 8]
maxss xmm1, dword [rdx + rax + 0xc]
lea rax, [rax + 8]
movss dword [rax - 8], xmm0
movss dword [rax - 4], xmm1
cmp r8d, ebx
jl 0x180357682
jmp 0x180357781
lea r9, [rsp + 0xe0]
nop dword [rax + rax]
mov ecx, dword [r9]
cmp ecx, dword [r9 + rdx + 8]
cmovge ecx, dword [r9 + rdx + 8]
mov dword [r9], ecx
mov ecx, dword [r9 + 4]
cmp ecx, dword [r9 + rdx + 0xc]
cmovle ecx, dword [r9 + rdx + 0xc]
add r8d, 2
mov dword [r9 + 4], ecx
lea r9, [r9 + 8]
cmp r8d, ebx
jl 0x1803576c0
jmp 0x180357781
lea rax, [rsp + 0xb0]
sub rdx, rax
test dil, dil
jne 0x18035773e
lea rax, [rsp + 0xb0]
nop
movss xmm0, dword [rax]
add r8d, 2
movss xmm1, dword [rax + 4]
minss xmm0, dword [rax + rdx + 8]
maxss xmm1, dword [rax + rdx + 0xc]
lea rax, [rax + 8]
movss dword [rax - 8], xmm0
movss dword [rax - 4], xmm1
cmp r8d, ebx
jl 0x180357710
jmp 0x180357781
lea r9, [rsp + 0xb0]
nop word [rax + rax]
mov ecx, dword [r9]
cmp ecx, dword [r9 + rdx + 8]
cmovge ecx, dword [r9 + rdx + 8]
mov dword [r9], ecx
mov ecx, dword [r9 + 4]
cmp ecx, dword [r9 + rdx + 0xc]
cmovle ecx, dword [r9 + rdx + 0xc]
add r8d, 2
mov dword [r9 + 4], ecx
lea r9, [r9 + 8]
cmp r8d, ebx
jl 0x180357750
inc r10
add r11, 4
cmp r10, r12
jl 0x180357650
mov edi, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
xorps xmm2, xmm2
mov rax, rcx
test sil, sil
jne 0x1803577bf
movss xmm0, dword [rsp + rax*4 + 0xe4]
movss xmm1, dword [rsp + rax*4 + 0xe0]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
jmp 0x1803577d9
movd xmm0, dword [rsp + rax*4 + 0xe4]
movd xmm1, dword [rsp + rax*4 + 0xe0]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
sub rax, 2
subsd xmm0, xmm1
addsd xmm2, xmm0
jns 0x1803577a0
addsd xmm6, xmm2
xorps xmm3, xmm3
mov rax, rcx
test sil, sil
jne 0x180357810
movss xmm0, dword [rsp + rax*4 + 0xb4]
movss xmm1, dword [rsp + rax*4 + 0xb0]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
jmp 0x18035782a
movd xmm0, dword [rsp + rax*4 + 0xb4]
movd xmm1, dword [rsp + rax*4 + 0xb0]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
sub rax, 2
subsd xmm0, xmm1
addsd xmm3, xmm0
jns 0x1803577f1
lea r8, [rsp + 0xa8]
mov rcx, r13
lea rdx, [rsp + 0xd8]
addsd xmm6, xmm3
call fcn.1803568a0
mov rcx, r13
lea rdx, [rsp + 0xa8]
movaps xmm5, xmm0
call fcn.1803566f0
mov rcx, r13
lea rdx, [rsp + 0xd8]
movaps xmm3, xmm0
call fcn.1803566f0
addsd xmm3, xmm0
cmp r15d, dword [rsp + 0x3c]
je 0x18035789a
comisd xmm7, xmm5
ja 0x18035789a
ucomisd xmm5, xmm7
jp 0x1803578aa
jne 0x1803578aa
comisd xmm8, xmm3
jbe 0x1803578aa
mov eax, r15d
movaps xmm7, xmm5
mov dword [rsp + 0x34], eax
movaps xmm8, xmm3
jmp 0x1803578ae
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
inc r15d
mov rdx, qword [rsp + 0x78]
inc rbp
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
cmp r15d, edi
jle 0x1803575e1
mov r8d, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x48]
test r8d, r8d
je 0x1803578f6
comisd xmm9, xmm6
jbe 0x180357907
mov dword [rsp + 0x44], r8d
movaps xmm9, xmm6
mov esi, eax
mov dword [rsp + 0x30], eax
jmp 0x18035790b
mov esi, dword [rsp + 0x30]
inc r8d
add rdx, 8
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x58], rdx
cmp r8d, r9d
jl 0x180357580
mov r12, qword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0x140]
mov rdx, qword [rsp + 0x68]
xor edi, edi
movsxd rbp, dword [rsp + 0x44]
mov r15, qword [rsp + 0x90]
mov rax, qword [r12 + rbp*8]
movsxd rcx, dword [rax]
lea rax, [rcx + rcx*2]
movsxd rcx, esi
add rax, rax
movups xmm0, xmmword [r14 + rax*8]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [r14 + rax*8 + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [r14 + rax*8 + 0x20]
movups xmmword [rdx + 0x20], xmm0
mov rax, qword [r12 + rbp*8]
movsxd rcx, dword [rax + rcx*4]
lea rax, [rcx + rcx*2]
mov rcx, qword [rsp + 0x70]
add rax, rax
movups xmm0, xmmword [r14 + rax*8]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [r14 + rax*8 + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [r14 + rax*8 + 0x20]
movups xmmword [rcx + 0x20], xmm0
test r15, r15
jle 0x180357aa2
xor ebx, ebx
nop
mov rax, qword [r12 + rbp*8]
cmp edi, esi
mov r11, qword [rsp + 0x98]
mov rsi, rcx
cmovl r11, qword [rsp + 0xa0]
cmp edi, dword [rsp + 0x30]
movsxd rcx, dword [rax + rbx*4]
cmovl rsi, rdx
mov r8, qword [r11 + 0x18]
lea r10, [rcx + rcx*2]
movzx ecx, byte [r13 + 0x27]
shl r10, 4
movzx eax, byte [r8 + 3]
add r10, r14
movzx r9d, byte [r8 + 2]
shl r9d, 8
add r9d, eax
mov eax, dword [r13 + 0x20]
sub eax, 4
cdq
idiv ecx
cmp r9d, eax
jge 0x180357a78
mov rax, qword [r10]
imul ecx, r9d
bswap rax
add rcx, r8
xor r8d, r8d
mov qword [rcx + 4], rax
add rcx, 0xc
cmp byte [r13 + 0x25], r8b
jbe 0x180357a5c
lea rdx, [r10 + 8]
nop dword [rax]
mov eax, dword [rdx]
lea rcx, [rcx + 4]
bswap eax
mov dword [rcx - 4], eax
lea rdx, [rdx + 4]
movzx eax, byte [r13 + 0x25]
inc r8d
cmp r8d, eax
jl 0x180357a40
mov rcx, qword [r11 + 0x18]
inc r9d
mov eax, r9d
shr eax, 8
mov byte [rcx + 2], al
mov byte [rcx + 3], r9b
mov dword [r11 + 0x14], 1
mov r8, r10
mov rdx, rsi
mov rcx, r13
call fcn.180356800
mov esi, dword [rsp + 0x30]
inc edi
mov rdx, qword [rsp + 0x68]
inc rbx
mov rcx, qword [rsp + 0x70]
cmp rbx, r15
jl 0x1803579c0
cmp dword [0x1804cb130], 0
mov rdi, qword [rsp + 0x158]
mov rbp, qword [rsp + 0x160]
je 0x180357b06
mov rcx, qword [0x1804dc468]
test rcx, rcx
je 0x180357acd
call qword [0x1804cb1b0]
mov rcx, r12
call qword [0x1804cb168]
dec qword [0x1804dc1f8]
movsxd rcx, eax
sub qword [0x1804dc1b0], rcx
mov rcx, r12
call qword [0x1804cb158]
mov rcx, qword [0x1804dc468]
test rcx, rcx
je 0x180357b0f
call qword [0x1804cb1c0]
xor eax, eax
jmp 0x180357b18
mov rcx, r12
call qword [0x1804cb158]
xor eax, eax
jmp 0x180357b18
mov eax, 7
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.180385c10
movaps xmm9, xmmword [rsp + 0x110]
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret