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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r15, r9
mov r14, r8
mov rdi, rdx
mov qword [rsp + 0xc0], rcx
mov rcx, rdx
call fcn.1401056f0
test al, al
jne 0x140106a59
mov rcx, rdi
mov rdx, r14
call fcn.140104f60
mov ebx, eax
movzx eax, word [rdi + 0x58]
and ax, bx
movzx r12d, ax
xor r13d, r13d
jmp 0x140106616
movzx ecx, byte [rcx + 8]
cmp cl, byte [r14 + 8]
je 0x1401066cc
nop
inc r13
inc r12
mov rax, qword [rdi + 0x50]
cmp r12, rax
jb 0x140106638
mov rax, qword [rdi + 0x50]
nop word cs:[rax + rax]
test rax, rax
je 0x140106630
xor r12d, r12d
mov rdx, qword [rdi + 0x48]
movzx ebp, word [rdx + r12*4]
cmp rbp, 0xffff
je 0x14010678e
movzx ecx, word [rdx + r12*4 + 2]
movzx r8d, word [rdi + 0x58]
mov r9d, ecx
and r9d, r8d
mov r10d, r12d
sub r10d, r9d
and r10d, r8d
cmp r10, r13
jb 0x1401068cb
cmp cx, bx
jne 0x140106610
mov rax, qword [rdi + 0x28]
cmp rax, rbp
jbe 0x140106ac0
mov rcx, qword [rdi + 0x20]
imul rsi, rbp, 0x68
mov rdx, qword [rcx + rsi + 0x40]
test rdx, rdx
setne r8b
cmp qword [r14], 0
sete r9b
cmp r8b, r9b
je 0x140106610
add rcx, rsi
add rcx, 0x40
test rdx, rdx
je 0x140106601
mov rdx, r14
call fcn.14019d8d0
test al, al
je 0x140106610
mov rax, qword [rdi + 0x28]
mov rcx, qword [r15 + 0x20]
mov qword [rsp + 0x70], rcx
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
cmp rax, rbp
jbe 0x140106ac0
mov rcx, qword [rdi + 0x20]
cmp qword [rcx + rsi], 0
je 0x14010670f
add rcx, rsi
mov rdx, qword [rcx + 8]
mov rcx, rdi
call fcn.140105a30
mov rax, qword [rdi + 0x28]
cmp rax, rbp
jbe 0x140106ac0
mov rax, qword [rdi + 0x20]
movups xmm0, xmmword [rax + rsi + 0x18]
movups xmm1, xmmword [rax + rsi + 0x28]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
movzx ebx, byte [rax + rsi + 0x38]
mov ecx, dword [rax + rsi + 0x3c]
mov dword [rsp + 0xa3], ecx
mov ecx, dword [rax + rsi + 0x39]
mov dword [rsp + 0xa0], ecx
mov rcx, qword [rsp + 0x70]
mov qword [rax + rsi + 0x38], rcx
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + rsi + 0x18], xmm0
movups xmmword [rax + rsi + 0x28], xmm1
mov rax, qword [r14]
test rax, rax
je 0x140106780
lea rcx, [r14 + 0x18]
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
call qword [rax + 0x20]
cmp bl, 3
jne 0x140106887
jmp 0x140106ac0
mov rsi, qword [rdi + 0x28]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [r15 + 0x20]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
cmp rsi, 0x7fff
ja 0x140106a81
lea rcx, [rdi + 0x18]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [r15 + 0x20]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
cmp rsi, qword [rcx]
jne 0x140106817
call fcn.1400663f0
mov rax, qword [rdi + 0x20]
imul rcx, rsi, 0x68
mov qword [rax + rcx], 0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + rcx + 0x18], xmm0
movups xmmword [rax + rcx + 0x28], xmm1
mov rdx, qword [rsp + 0x70]
mov qword [rax + rcx + 0x38], rdx
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmm1, xmmword [rsp + 0xb0]
movups xmmword [rax + rcx + 0x40], xmm0
movups xmmword [rax + rcx + 0x50], xmm1
mov word [rax + rcx + 0x60], bx
lea rax, [rsi + 1]
mov qword [rdi + 0x28], rax
cmp r12, qword [rdi + 0x50]
jae 0x140106ac0
mov rax, qword [rdi + 0x48]
mov word [rax + r12*4], si
mov word [rax + r12*4 + 2], bx
mov bl, 2
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
mov rax, qword [rsp + 0xc0]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov byte [rax + 0x20], bl
mov edx, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0xa3]
mov dword [rax + 0x21], edx
mov dword [rax + 0x24], ecx
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp r13, 0x200
setae bpl
cmp qword [rdi], 2
setne sil
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov rcx, qword [r15 + 0x20]
mov qword [rsp + 0x40], rcx
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov r13, qword [rdi + 0x28]
cmp r13, 0x7fff
ja 0x140106a81
lea rcx, [rdi + 0x18]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov r8, qword [r15 + 0x20]
mov qword [rsp + 0x70], r8
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
cmp r13, qword [rcx]
jne 0x14010696f
call fcn.1400663f0
mov rdx, qword [rdi + 0x48]
mov rax, qword [rdi + 0x50]
and bpl, sil
mov rcx, qword [rdi + 0x20]
imul r8, r13, 0x68
mov qword [rcx + r8], 0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rcx + r8 + 0x18], xmm0
movups xmmword [rcx + r8 + 0x28], xmm1
mov r9, qword [rsp + 0x70]
mov qword [rcx + r8 + 0x38], r9
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmm1, xmmword [rsp + 0xb0]
movups xmmword [rcx + r8 + 0x40], xmm0
movups xmmword [rcx + r8 + 0x50], xmm1
mov word [rcx + r8 + 0x60], bx
lea rcx, [r13 + 1]
mov qword [rdi + 0x28], rcx
xor r8d, r8d
xor ecx, ecx
cmp r12, rax
cmovae r12, r8
jb 0x1401069e5
nop word [rax + rax]
test rax, rax
je 0x140106a20
movzx r9d, word [rdx + r12*4]
cmp r9w, 0xffff
je 0x140106a22
inc rcx
movzx r10d, word [rdx + r12*4 + 2]
mov word [rdx + r12*4], r13w
mov word [rdx + r12*4 + 2], bx
inc r12
mov ebx, r10d
mov r13d, r9d
cmp r12, rax
cmovae r12, r8
jae 0x1401069e0
jmp 0x1401069e5
jmp 0x140106a20
mov word [rdx + r12*4], r13w
mov word [rdx + r12*4 + 2], bx
cmp rcx, 0x80
setb al
not bpl
test bpl, al
jne 0x140106885
cmp qword [rdi], 0
jne 0x140106885
mov qword [rdi], 1
jmp 0x140106885
lea rcx, [r15 + 0x18]
mov rax, qword [r15]
mov rdx, qword [r15 + 8]
mov r8, qword [r15 + 0x10]
call qword [rax + 0x20]
mov rax, qword [r14]
test rax, rax
je 0x140106ac0
lea rcx, [r14 + 0x18]
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
jmp 0x140106abd
lea rcx, [rsp + 0x38]
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
call qword [rax + 0x20]
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x140106ac0
lea rcx, [rsp + 0x98]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
call qword [rax + 0x20]
ud2