Function at 0x1400174b0
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, 0xd8
mov r12, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140049630
test al, al
je 0x140017527
mov byte [rsi + 0x20], 3
lea rcx, [r12 + 0x18]
mov rax, qword [r12]
mov rdx, qword [r12 + 8]
mov r8, qword [r12 + 0x10]
call qword [rax + 0x20]
mov rax, qword [r15]
test rax, rax
je 0x140017868
mov rax, qword [rax + 0x20]
lea rcx, [r15 + 0x18]
mov rdx, qword [r15 + 8]
mov r8, qword [r15 + 0x10]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp rax
mov qword [rsp + 0x28], rsi
mov rcx, rdi
mov rdx, r15
call fcn.140048ca0
mov ebx, eax
movzx eax, word [rdi + 0x58]
and ax, bx
movzx r14d, ax
xor ebp, ebp
jmp 0x140017566
movzx eax, byte [rcx + 8]
cmp al, byte [r15 + 8]
je 0x140017605
nop word cs:[rax + rax]
inc rbp
inc r14
cmp r14, qword [rdi + 0x50]
jb 0x140017578
mov rax, qword [rdi + 0x50]
test rax, rax
je 0x140017570
xor r14d, r14d
mov rax, qword [rdi + 0x48]
movzx r13d, word [rax + r14*4]
cmp r13, 0xffff
je 0x1400176b3
movzx eax, word [rax + r14*4 + 2]
movzx ecx, word [rdi + 0x58]
mov edx, eax
and edx, ecx
mov r8d, r14d
sub r8d, edx
and r8d, ecx
cmp r8, rbp
jb 0x1400177c5
cmp ax, bx
jne 0x140017560
mov rdx, qword [rdi + 0x28]
cmp rdx, r13
jbe 0x1400179b9
mov rax, qword [rdi + 0x20]
imul rsi, r13, 0x68
mov r8, qword [rax + rsi + 0x40]
test r8, r8
setne cl
cmp qword [r15], 0
sete r9b
cmp cl, r9b
je 0x140017560
lea rcx, [rax + rsi]
add rcx, 0x40
test r8, r8
je 0x140017548
mov rdx, r15
call fcn.140116340
test al, al
je 0x140017560
mov rdx, qword [rdi + 0x28]
mov rax, qword [r12 + 0x20]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
cmp rdx, r13
jbe 0x1400179d7
mov rax, qword [rdi + 0x20]
cmp qword [rax + rsi], 0
mov rbx, qword [rsp + 0x28]
je 0x140017650
add rax, rsi
mov rdx, qword [rax + 8]
mov rcx, rdi
call fcn.140049c00
mov rdx, qword [rdi + 0x28]
cmp rdx, r13
jbe 0x1400179e6
mov rax, qword [rdi + 0x20]
movups xmm0, xmmword [rax + rsi + 0x18]
movups xmm1, xmmword [rax + rsi + 0x28]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
movzx ecx, byte [rax + rsi + 0x38]
mov edx, dword [rax + rsi + 0x3c]
mov dword [rbx + 0x24], edx
mov edx, dword [rax + rsi + 0x39]
mov dword [rbx + 0x21], edx
mov rdx, qword [rsp + 0x50]
mov qword [rax + rsi + 0x38], rdx
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rax + rsi + 0x18], xmm0
movups xmmword [rax + rsi + 0x28], xmm1
mov byte [rbx + 0x20], cl
mov rax, qword [r15]
test rax, rax
jne 0x140017501
jmp 0x140017868
mov rsi, qword [rdi + 0x28]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [r12 + 0x20]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
cmp rsi, 0x7fff
ja 0x140017820
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [r12 + 0x20]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
cmp rsi, qword [rdi + 0x18]
jne 0x140017746
lea rcx, [rdi + 0x18]
call fcn.14004ae50
mov rax, qword [rdi + 0x20]
imul rcx, rsi, 0x68
mov qword [rax + rcx], 0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rax + rcx + 0x18], xmm0
movups xmmword [rax + rcx + 0x28], xmm1
mov rdx, qword [rsp + 0x50]
mov qword [rax + rcx + 0x38], rdx
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
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
mov rdx, qword [rdi + 0x50]
cmp r14, rdx
jae 0x1400179c8
mov rax, qword [rdi + 0x48]
mov word [rax + r14*4], si
mov word [rax + r14*4 + 2], bx
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x20], 2
jmp 0x140017868
cmp rbp, 0x200
setae bpl
cmp qword [rdi], 2
setne r13b
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [r12 + 0x20]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov rsi, qword [rdi + 0x28]
cmp rsi, 0x7fff
jbe 0x14001787c
lea rcx, [rsp + 0x98]
mov rax, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
call qword [rax + 0x20]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14001785f
lea rcx, [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
call qword [rax + 0x20]
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x20], 3
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [r12 + 0x20]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
cmp rsi, qword [rdi + 0x18]
jne 0x1400178c3
lea rcx, [rdi + 0x18]
call fcn.14004ae50
and bpl, r13b
mov rax, qword [rdi + 0x20]
imul rcx, rsi, 0x68
mov qword [rax + rcx], 0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rax + rcx + 0x18], xmm0
movups xmmword [rax + rcx + 0x28], xmm1
mov rdx, qword [rsp + 0x50]
mov qword [rax + rcx + 0x38], rdx
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
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
mov rax, qword [rdi + 0x48]
mov rcx, qword [rdi + 0x50]
xor r8d, r8d
xor edx, edx
cmp r14, rcx
cmovae r14, r8
jb 0x140017945
nop word cs:[rax + rax]
test rcx, rcx
je 0x140017980
movzx r9d, word [rax + r14*4]
cmp r9w, 0xffff
je 0x140017982
inc rdx
movzx r10d, word [rax + r14*4 + 2]
mov word [rax + r14*4], si
mov word [rax + r14*4 + 2], bx
inc r14
mov ebx, r10d
mov esi, r9d
cmp r14, rcx
cmovae r14, r8
jae 0x140017940
jmp 0x140017945
jmp 0x140017980
mov word [rax + r14*4], si
mov word [rax + r14*4 + 2], bx
cmp rdx, 0x80
setb al
not bpl
test bpl, al
jne 0x1400177b7
cmp qword [rdi], 0
jne 0x1400177b7
mov qword [rdi], 1
jmp 0x1400177b7
lea r8, [0x14015d818]
mov rcx, r13
call fcn.140159120
lea r8, [0x14015d830]
mov rcx, r14
call fcn.140159120
lea r8, [0x14015d848]
mov rcx, r13
call fcn.140159120
lea r8, [0x14015d860]
mov rcx, r13
call fcn.140159120
int3