Function at 0x140038890
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.140028590
test al, al
je 0x140038907
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 + 0x18]
mov rax, qword [r15]
test rax, rax
je 0x140038c4e
mov rax, qword [rax + 0x18]
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.140027bf0
mov ebx, eax
movzx eax, word [rdi + 0x58]
and ax, bx
movzx r14d, ax
xor ebp, ebp
jmp 0x140038946
movzx eax, byte [rcx + 8]
cmp al, byte [r15 + 8]
je 0x1400389e5
nop word cs:[rax + rax]
inc rbp
inc r14
cmp r14, qword [rdi + 0x50]
jb 0x140038958
mov rax, qword [rdi + 0x50]
test rax, rax
je 0x140038950
xor r14d, r14d
mov rax, qword [rdi + 0x48]
movzx r13d, word [rax + r14*4]
cmp r13, 0xffff
je 0x140038a93
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 0x140038bab
cmp ax, bx
jne 0x140038940
mov rdx, qword [rdi + 0x28]
cmp rdx, r13
jbe 0x140038d99
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 0x140038940
lea rcx, [rax + rsi]
add rcx, 0x40
test r8, r8
je 0x140038928
mov rdx, r15
call fcn.14010a2a0
test al, al
je 0x140038940
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 0x140038db7
mov rax, qword [rdi + 0x20]
cmp qword [rax + rsi], 0
mov rbx, qword [rsp + 0x28]
je 0x140038a30
add rax, rsi
mov rdx, qword [rax + 8]
mov rcx, rdi
call fcn.140028b30
mov rdx, qword [rdi + 0x28]
cmp rdx, r13
jbe 0x140038dc6
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 0x1400388e1
jmp 0x140038c4e
mov r13, 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 r13, 0x7fff
ja 0x140038c06
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
mov rax, r13
cmp r13, qword [rdi + 0x18]
jne 0x140038b30
lea rcx, [rdi + 0x18]
mov rdx, r13
call fcn.14000ce00
mov rax, qword [rdi + 0x28]
mov rcx, qword [rdi + 0x20]
imul rax, rax, 0x68
mov qword [rcx + rax], 0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rcx + rax + 0x18], xmm0
movups xmmword [rcx + rax + 0x28], xmm1
mov rdx, qword [rsp + 0x50]
mov qword [rcx + rax + 0x38], rdx
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movups xmmword [rcx + rax + 0x40], xmm0
movups xmmword [rcx + rax + 0x50], xmm1
mov word [rcx + rax + 0x60], bx
inc qword [rdi + 0x28]
mov rdx, qword [rdi + 0x50]
cmp r14, rdx
jae 0x140038da8
mov rax, qword [rdi + 0x48]
mov word [rax + r14*4], r13w
mov word [rax + r14*4 + 2], bx
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x20], 2
jmp 0x140038c4e
cmp rbp, 0x200
setae bpl
cmp qword [rdi], 2
setne sil
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 r13, qword [rdi + 0x28]
cmp r13, 0x7fff
jbe 0x140038c62
lea rcx, [rsp + 0x98]
mov rax, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140038c45
lea rcx, [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
call qword [rax + 0x18]
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
mov rax, r13
cmp r13, qword [rdi + 0x18]
jne 0x140038cb3
lea rcx, [rdi + 0x18]
mov rdx, r13
call fcn.14000ce00
mov rax, qword [rdi + 0x28]
and bpl, sil
mov rcx, qword [rdi + 0x20]
imul rax, rax, 0x68
mov qword [rcx + rax], 0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rcx + rax + 0x18], xmm0
movups xmmword [rcx + rax + 0x28], xmm1
mov rdx, qword [rsp + 0x50]
mov qword [rcx + rax + 0x38], rdx
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movups xmmword [rcx + rax + 0x40], xmm0
movups xmmword [rcx + rax + 0x50], xmm1
mov word [rcx + rax + 0x60], bx
inc qword [rdi + 0x28]
mov rax, qword [rdi + 0x48]
mov rcx, qword [rdi + 0x50]
xor r8d, r8d
xor edx, edx
cmp r14, rcx
cmovae r14, r8
jb 0x140038d25
nop dword [rax]
test rcx, rcx
je 0x140038d60
movzx r9d, word [rax + r14*4]
cmp r9w, 0xffff
je 0x140038d62
inc rdx
movzx r10d, word [rax + r14*4 + 2]
mov word [rax + r14*4], r13w
mov word [rax + r14*4 + 2], bx
inc r14
mov ebx, r10d
mov r13d, r9d
cmp r14, rcx
cmovae r14, r8
jae 0x140038d20
jmp 0x140038d25
jmp 0x140038d60
mov word [rax + r14*4], r13w
mov word [rax + r14*4 + 2], bx
cmp rdx, 0x80
setb al
not bpl
test bpl, al
jne 0x140038b9d
cmp qword [rdi], 0
jne 0x140038b9d
mov qword [rdi], 1
jmp 0x140038b9d
lea r8, [0x140231c70]
mov rcx, r13
call fcn.14021a080
lea r8, [0x140231c88]
mov rcx, r14
call fcn.14021a080
lea r8, [0x140231ca0]
mov rcx, r13
call fcn.14021a080
lea r8, [0x140231cb8]
mov rcx, r13
call fcn.14021a080
int3