Function at 0x1805c0660
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 r14, r9
mov r15, r8
mov rdi, rdx
mov qword [rsp + 0xc0], rcx
mov rcx, rdx
call fcn.1805bf2b0
test al, al
jne 0x1805c0ad9
mov rcx, rdi
mov rdx, r15
call fcn.1805beb20
mov ebx, eax
movzx eax, word [rdi + 0x58]
and ax, bx
movzx r12d, ax
xor ebp, ebp
jmp 0x1805c06c6
movzx ecx, byte [rcx + 8]
cmp cl, byte [r15 + 8]
je 0x1805c0769
nop
inc rbp
inc r12
cmp r12, qword [rdi + 0x50]
jb 0x1805c06d8
mov rax, qword [rdi + 0x50]
test rax, rax
je 0x1805c06d0
xor r12d, r12d
mov rax, qword [rdi + 0x48]
movzx r13d, word [rax + r12*4]
cmp r13, 0xffff
je 0x1805c0816
movzx eax, word [rax + r12*4 + 2]
movzx ecx, word [rdi + 0x58]
mov edx, eax
and edx, ecx
mov r8d, r12d
sub r8d, edx
and r8d, ecx
cmp r8, rbp
jb 0x1805c0956
cmp ax, bx
jne 0x1805c06c0
mov rax, qword [rdi + 0x28]
cmp rax, r13
jbe 0x1805c0b29
mov rcx, qword [rdi + 0x20]
imul rsi, r13, 0x68
mov rdx, qword [rcx + rsi + 0x40]
test rdx, rdx
setne r8b
cmp qword [r15], 0
sete r9b
cmp r8b, r9b
je 0x1805c06c0
add rcx, rsi
add rcx, 0x40
test rdx, rdx
je 0x1805c06b0
mov rdx, r15
call fcn.180658560
test al, al
je 0x1805c06c0
mov rax, qword [rdi + 0x28]
mov rcx, qword [r14 + 0x20]
mov qword [rsp + 0x70], rcx
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
cmp rax, r13
jbe 0x1805c0b29
mov rcx, qword [rdi + 0x20]
cmp qword [rcx + rsi], 0
je 0x1805c07ac
add rcx, rsi
mov rdx, qword [rcx + 8]
mov rcx, rdi
call fcn.1805bf5f0
mov rax, qword [rdi + 0x28]
cmp rax, r13
jbe 0x1805c0b29
mov rcx, qword [rdi + 0x20]
movups xmm0, xmmword [rcx + rsi + 0x18]
movups xmm1, xmmword [rcx + rsi + 0x28]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
movzx r8d, byte [rcx + rsi + 0x38]
mov edx, dword [rcx + rsi + 0x3c]
mov dword [rsp + 0xa3], edx
mov edx, dword [rcx + rsi + 0x39]
mov dword [rsp + 0xa0], edx
mov rdx, qword [rsp + 0x70]
mov qword [rcx + rsi + 0x38], rdx
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rcx + rsi + 0x18], xmm0
movups xmmword [rcx + rsi + 0x28], xmm1
cmp r8b, 3
jne 0x1805c0911
jmp 0x1805c0b29
mov rsi, qword [rdi + 0x28]
lea rcx, [rsp + 0x80]
mov rdx, r15
call fcn.180636de0
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov r15, qword [rdi + 0x28]
cmp r15, 0x7fff
ja 0x1805c0aea
lea rcx, [rdi + 0x18]
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
cmp r15, qword [rcx]
jne 0x1805c08a1
call fcn.180519430
mov rax, qword [rdi + 0x20]
imul rcx, r15, 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
inc r15
mov qword [rdi + 0x28], r15
cmp r12, qword [rdi + 0x50]
jae 0x1805c0b29
mov rax, qword [rdi + 0x48]
mov word [rax + r12*4], si
mov word [rax + r12*4 + 2], bx
mov r8b, 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], r8b
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 rbp, 0x200
setae bpl
cmp qword [rdi], 2
setne r13b
lea rcx, [rsp + 0x80]
mov rdx, r15
call fcn.180636de0
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rsi, qword [rdi + 0x28]
cmp rsi, 0x7fff
ja 0x1805c0aea
lea rcx, [rdi + 0x18]
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
cmp rsi, qword [rcx]
jne 0x1805c09f0
call fcn.180519430
and bpl, r13b
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
mov rax, qword [rdi + 0x48]
mov rcx, qword [rdi + 0x50]
xor r8d, r8d
xor edx, edx
cmp r12, rcx
cmovae r12, r8
jb 0x1805c0a65
nop
test rcx, rcx
je 0x1805c0aa0
movzx r9d, word [rax + r12*4]
cmp r9w, 0xffff
je 0x1805c0aa2
inc rdx
movzx r10d, word [rax + r12*4 + 2]
mov word [rax + r12*4], si
mov word [rax + r12*4 + 2], bx
inc r12
mov ebx, r10d
mov esi, r9d
cmp r12, rcx
cmovae r12, r8
jae 0x1805c0a60
jmp 0x1805c0a65
jmp 0x1805c0aa0
mov word [rax + r12*4], si
mov word [rax + r12*4 + 2], bx
cmp rdx, 0x80
setb al
not bpl
test bpl, al
jne 0x1805c090e
cmp qword [rdi], 0
jne 0x1805c090e
mov qword [rdi], 1
jmp 0x1805c090e
lea rcx, [r14 + 0x18]
mov rax, qword [r14]
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
jmp 0x1805c0b26
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 0x1805c0b29
lea rcx, [rsp + 0x98]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
call qword [rax + 0x20]
ud2