Function at 0x1402a9630
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 [0x140672360]
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.140315020
test eax, eax
jne 0x1402a9dc3
mov rcx, rbx
call fcn.1402dea40
mov qword [rsp + 0x60], rax
mov r12, rax
test rax, rax
je 0x1402a9dc3
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 fcn.14035c350
movzx ecx, byte [r13 + 0x24]
xor edi, edi
test cl, cl
je 0x1402a97a6
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 0x1402a9775
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 0x1402a9760
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.140244b70
movzx eax, byte [r13 + 0x24]
inc edi
add esi, r15d
add rbx, 8
movzx ecx, al
cmp edi, eax
jl 0x1402a9740
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 0x1402a9be9
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 xmm7, xmm7
xorps xmm6, xmm6
xorps xmm8, xmm8
cmp r15d, edi
jg 0x1402a9b90
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 0x1402a9a38
lea r11, [r9 + 4]
nop word [rax + rax]
movsxd rax, dword [r11]
xor edx, edx
lea r9, [rax + rax*2]
shl r9, 4
cmp r10, rbp
jge 0x1402a9994
lea rax, [rsp + 0xe0]
sub r9, rax
add r9, r14
test sil, sil
jne 0x1402a9952
lea rax, [rsp + 0xe0]
movss xmm0, dword [rax]
add edx, 2
movss xmm1, dword [rax + 4]
minss xmm0, dword [r9 + rax + 8]
maxss xmm1, dword [r9 + rax + 0xc]
lea rax, [rax + 8]
movss dword [rax - 8], xmm0
movss dword [rax - 4], xmm1
cmp edx, ebx
jl 0x1402a9921
jmp 0x1402a9a1f
lea r8, [rsp + 0xe0]
nop word [rax + rax]
mov ecx, dword [r8]
cmp ecx, dword [r8 + r9 + 8]
cmovge ecx, dword [r8 + r9 + 8]
mov dword [r8], ecx
mov ecx, dword [r8 + 4]
cmp ecx, dword [r8 + r9 + 0xc]
cmovle ecx, dword [r8 + r9 + 0xc]
add edx, 2
mov dword [r8 + 4], ecx
lea r8, [r8 + 8]
cmp edx, ebx
jl 0x1402a9960
jmp 0x1402a9a1f
lea rax, [rsp + 0xb0]
sub r9, rax
add r9, r14
test sil, sil
jne 0x1402a99de
lea rax, [rsp + 0xb0]
nop
movss xmm0, dword [rax]
add edx, 2
movss xmm1, dword [rax + 4]
minss xmm0, dword [rax + r9 + 8]
maxss xmm1, dword [rax + r9 + 0xc]
lea rax, [rax + 8]
movss dword [rax - 8], xmm0
movss dword [rax - 4], xmm1
cmp edx, ebx
jl 0x1402a99b0
jmp 0x1402a9a1f
lea r8, [rsp + 0xb0]
nop word [rax + rax]
mov ecx, dword [r8]
cmp ecx, dword [r8 + r9 + 8]
cmovge ecx, dword [r8 + r9 + 8]
mov dword [r8], ecx
mov ecx, dword [r8 + 4]
cmp ecx, dword [r8 + r9 + 0xc]
cmovle ecx, dword [r8 + r9 + 0xc]
add edx, 2
mov dword [r8 + 4], ecx
lea r8, [r8 + 8]
cmp edx, ebx
jl 0x1402a99f0
inc r10
add r11, 4
cmp r10, r12
jl 0x1402a98f0
mov edi, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
xorps xmm2, xmm2
mov rax, rcx
nop
test sil, sil
jne 0x1402a9a5f
movss xmm0, dword [rsp + rax*4 + 0xe4]
movss xmm1, dword [rsp + rax*4 + 0xe0]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
jmp 0x1402a9a79
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 0x1402a9a40
addsd xmm7, xmm2
xorps xmm3, xmm3
mov rax, rcx
test sil, sil
jne 0x1402a9ab0
movss xmm0, dword [rsp + rax*4 + 0xb4]
movss xmm1, dword [rsp + rax*4 + 0xb0]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
jmp 0x1402a9aca
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 0x1402a9a91
mov r9d, 1
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0xd8]
mov rcx, r13
addsd xmm7, xmm3
call fcn.14024d9e0
lea rdx, [rsp + 0xa8]
mov rcx, r13
movaps xmm3, xmm0
call fcn.14024d8d0
mov rcx, r13
lea rdx, [rsp + 0xd8]
movaps xmm4, xmm0
call fcn.14024d8d0
addsd xmm4, xmm0
cmp r15d, dword [rsp + 0x3c]
je 0x1402a9b40
comisd xmm6, xmm3
ja 0x1402a9b40
ucomisd xmm3, xmm6
jp 0x1402a9b50
jne 0x1402a9b50
comisd xmm8, xmm4
jbe 0x1402a9b50
mov eax, r15d
movaps xmm6, xmm3
mov dword [rsp + 0x34], eax
movaps xmm8, xmm4
jmp 0x1402a9b54
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 0x1402a9881
mov r8d, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x48]
test r8d, r8d
je 0x1402a9b9c
comisd xmm9, xmm7
jbe 0x1402a9bad
mov dword [rsp + 0x44], r8d
movaps xmm9, xmm7
mov esi, eax
mov dword [rsp + 0x30], eax
jmp 0x1402a9bb1
mov esi, dword [rsp + 0x30]
inc r8d
add rdx, 8
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x58], rdx
cmp r8d, r9d
jl 0x1402a9820
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 0x1402a9d52
xor ebx, ebx
nop word [rax + rax]
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 0x1402a9d28
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 0x1402a9d0c
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 0x1402a9cf0
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.14024dd80
mov esi, dword [rsp + 0x30]
inc edi
mov rdx, qword [rsp + 0x68]
inc rbx
mov rcx, qword [rsp + 0x70]
cmp rbx, r15
jl 0x1402a9c70
cmp dword [0x14066e1b0], 0
mov rdi, qword [rsp + 0x158]
mov rbp, qword [rsp + 0x160]
je 0x1402a9db6
mov rcx, qword [0x140682a00]
test rcx, rcx
je 0x1402a9d7d
call qword [0x14066e230]
mov rcx, r12
call qword [0x14066e1e8]
dec qword [0x140682998]
movsxd rcx, eax
sub qword [0x140682950], rcx
mov rcx, r12
call qword [0x14066e1d8]
mov rcx, qword [0x140682a00]
test rcx, rcx
je 0x1402a9dbf
call qword [0x14066e240]
xor eax, eax
jmp 0x1402a9dc8
mov rcx, r12
call qword [0x14066e1d8]
xor eax, eax
jmp 0x1402a9dc8
mov eax, 7
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140359070
movaps xmm9, xmmword [rsp + 0x110]
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret