Function at 0x1805c0150
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.1805bf2b0
test al, al
jne 0x1805c05e9
mov rcx, rdi
mov rdx, r14
call fcn.1805beb20
mov ebx, eax
movzx eax, word [rdi + 0x58]
and ax, bx
movzx r12d, ax
xor ebp, ebp
jmp 0x1805c01b6
movzx ecx, byte [rcx + 8]
cmp cl, byte [r14 + 8]
je 0x1805c0259
nop
inc rbp
inc r12
cmp r12, qword [rdi + 0x50]
jb 0x1805c01c8
mov rax, qword [rdi + 0x50]
test rax, rax
je 0x1805c01c0
xor r12d, r12d
mov rax, qword [rdi + 0x48]
movzx r13d, word [rax + r12*4]
cmp r13, 0xffff
je 0x1805c031b
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 0x1805c0458
cmp ax, bx
jne 0x1805c01b0
mov rax, qword [rdi + 0x28]
cmp rax, r13
jbe 0x1805c0650
mov rcx, qword [rdi + 0x20]
imul rsi, r13, 0x68
mov rdx, qword [rcx + rsi + 0x40]
test rdx, rdx
setne r8b
cmp qword [r14], 0
sete r9b
cmp r8b, r9b
je 0x1805c01b0
add rcx, rsi
add rcx, 0x40
test rdx, rdx
je 0x1805c01a0
mov rdx, r14
call fcn.180658560
test al, al
je 0x1805c01b0
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, r13
jbe 0x1805c0650
mov rcx, qword [rdi + 0x20]
cmp qword [rcx + rsi], 0
je 0x1805c029c
add rcx, rsi
mov rdx, qword [rcx + 8]
mov rcx, rdi
call fcn.1805bf5f0
mov rax, qword [rdi + 0x28]
cmp rax, r13
jbe 0x1805c0650
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 0x1805c030d
lea rcx, [r14 + 0x18]
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
call qword [rax + 0x20]
cmp bl, 3
jne 0x1805c0414
jmp 0x1805c0650
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 0x1805c0611
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 0x1805c03a4
call fcn.180519430
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 0x1805c0650
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 rbp, 0x200
setae bpl
cmp qword [rdi], 2
setne r13b
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
mov rsi, qword [rdi + 0x28]
cmp rsi, 0x7fff
ja 0x1805c0611
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 0x1805c04f4
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 0x1805c0575
nop word cs:[rax + rax]
test rcx, rcx
je 0x1805c05b0
movzx r9d, word [rax + r12*4]
cmp r9w, 0xffff
je 0x1805c05b2
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 0x1805c0570
jmp 0x1805c0575
jmp 0x1805c05b0
mov word [rax + r12*4], si
mov word [rax + r12*4 + 2], bx
cmp rdx, 0x80
setb al
not bpl
test bpl, al
jne 0x1805c0412
cmp qword [rdi], 0
jne 0x1805c0412
mov qword [rdi], 1
jmp 0x1805c0412
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 0x1805c0650
lea rcx, [r14 + 0x18]
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
jmp 0x1805c064d
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 0x1805c0650
lea rcx, [rsp + 0x98]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
call qword [rax + 0x20]
ud2