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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r14d, r14d
mov r12, rdx
mov rbx, rcx
mov edi, r14d
test rdx, rdx
je 0x1800378ba
mov esi, dword [rdx + 0x18]
mov ecx, 0x200
call fcn.180028660
mov r15, rax
test rax, rax
je 0x1800378b0
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x1fc
call fcn.180131080
mov dword [r15], esi
lea rsi, [rbx + 0x60]
mov eax, dword [r12 + 0x18]
mov rcx, qword [rsi]
mov r13, rcx
mov dword [rbx + 0x20], eax
movzx eax, byte [rbx + 0x10]
mov byte [rbx + 0x17], al
mov qword [rsp + 0x30], rcx
cmp qword [rbx + 0x128], rdi
jne 0x1800379e7
mov rbp, qword [r12 + 8]
mov rax, qword [r12]
test rbp, rbp
mov qword [rsi], rax
cmove rbp, rcx
nop dword [rax]
cmp qword [rsi], rbp
jge 0x1800379f0
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r15
mov rdx, rsi
mov rcx, rbx
call fcn.1800369a0
mov edi, eax
test eax, eax
je 0x180037880
jmp 0x180037aa5
mov eax, 7
jmp 0x180037b83
mov eax, dword [rcx + 0x24]
mov r15, r14
mov rsi, qword [rcx + 0x128]
mov dword [rcx + 0x20], eax
movzx eax, byte [rcx + 0x10]
mov byte [rcx + 0x17], al
test rsi, rsi
je 0x1800379d7
mov eax, dword [rcx + 0x24]
mov dword [rcx + 0x20], eax
cmp byte [rsi + 0x40], dil
je 0x180037973
mov r15d, dword [rsi + 0x58]
mov rax, qword [rsi + 0x30]
mov rcx, qword [rax]
movups xmm0, xmmword [rcx]
movups xmmword [rsi + 0x48], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x58], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsi + 0x68], xmm0
mov edi, dword [rsi + 0x58]
inc edi
lea ebp, [rdi + 0x1000]
cmp edi, r15d
ja 0x180037965
mov r8, qword [rsi + 0x30]
mov eax, ebp
sub rax, 0xfdf
shr rax, 0xc
test eax, eax
jne 0x18003793c
mov rax, qword [r8]
mov edx, dword [rax + rdi*4 + 0x84]
jmp 0x180037952
cdqe
lea edx, [rdi - 1]
add rdx, 0x22
and edx, 0xfff
mov rcx, qword [r8 + rax*8]
mov edx, dword [rcx + rdx*4]
mov rcx, rbx
call fcn.180037510
inc edi
inc ebp
mov r14d, eax
test eax, eax
je 0x180037917
cmp r15d, dword [rsi + 0x58]
je 0x180037973
mov rcx, rsi
call fcn.18003b880
mov rdx, qword [rbx + 0x120]
mov rcx, qword [rdx]
test rcx, rcx
je 0x1800379a3
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx + 0x38]
mov qword [rcx + 0x20], rax
mov rcx, rax
test rax, rax
jne 0x180037990
mov rcx, qword [rdx]
call fcn.1800340a0
test rax, rax
je 0x1800379cf
nop dword [rax]
test r14d, r14d
jne 0x1800379cf
mov edx, dword [rax + 0x30]
mov rcx, rbx
mov rdi, qword [rax + 0x20]
call fcn.180037510
mov r14d, eax
mov rax, rdi
test rdi, rdi
jne 0x1800379b0
mov eax, r14d
jmp 0x180037b83
mov rax, qword [rcx + 0x60]
lea rsi, [rcx + 0x60]
mov qword [rsp + 0x30], rax
mov r13, rax
mov qword [rsi], r14
nop word [rax + rax]
cmp qword [rsi], r13
jge 0x180037a94
lea rax, [rsp + 0x98]
mov dword [rsp + 0x90], r14d
lea r9, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r8, r13
xor edx, edx
mov rcx, rbx
call fcn.180035d50
mov r12d, dword [rsp + 0x90]
mov edi, eax
test r12d, r12d
jne 0x180037a5f
mov eax, dword [rbx + 0xb8]
add rax, qword [rbx + 0x68]
mov rcx, qword [rsi]
cmp rax, rcx
jne 0x180037a5f
mov rax, qword [rsp + 0x30]
sub rax, rcx
mov rcx, qword [rbx + 0xc8]
add rcx, 8
cqo
idiv rcx
mov r12, rax
mov ebp, r14d
test edi, edi
jne 0x180037a94
cmp ebp, r12d
jae 0x1800379f0
cmp qword [rsi], r13
jge 0x180037a94
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r15
mov rdx, rsi
mov rcx, rbx
call fcn.1800369a0
inc ebp
mov edi, eax
test eax, eax
je 0x180037a66
mov r12, qword [rsp + 0x88]
test r12, r12
je 0x180037b4b
mov rax, qword [rbx + 0xc8]
mov ebp, dword [r12 + 0x1c]
add rax, 4
mov rcx, qword [rbx + 0x128]
imul rax, rbp
mov qword [rsp + 0x88], rax
test rcx, rcx
je 0x180037b1b
mov eax, dword [rcx + 0x88]
cmp dword [r12 + 0x30], eax
je 0x180037aef
mov dword [r12 + 0x24], r14d
mov eax, dword [rcx + 0x88]
mov dword [r12 + 0x30], eax
mov eax, r14d
jmp 0x180037af4
mov eax, dword [r12 + 0x24]
cmp eax, dword [rcx + 0x58]
jae 0x180037b11
mov dword [rcx + 0x58], eax
mov eax, dword [r12 + 0x28]
mov dword [rcx + 0x60], eax
mov eax, dword [r12 + 0x2c]
mov dword [rcx + 0x64], eax
call fcn.18003b880
mov ebp, dword [r12 + 0x1c]
mov edi, r14d
jmp 0x180037b20
test edi, edi
jne 0x180037b4b
nop
cmp ebp, dword [rbx + 0x3c]
jae 0x180037b4b
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8, r15
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.1800369a0
inc ebp
mov edi, eax
test eax, eax
je 0x180037b20
test r15, r15
je 0x180037b7a
cmp dword [r15 + 8], r14d
je 0x180037b72
lea rbx, [r15 + 0x10]
mov ebp, 0x3e
nop
mov rcx, qword [rbx]
call fcn.180033810
lea rbx, [rbx + 8]
sub rbp, 1
jne 0x180037b60
mov rcx, r15
call fcn.180028850
test edi, edi
jne 0x180037b81
mov qword [rsi], r13
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x10], edx
push rsi
push r14
sub rsp, 0x38
mov r14d, dword [rcx + 0x30]
mov rsi, rcx
test r14d, r14d
jne 0x18003ac11
mov eax, dword [rcx + 0x80]
cmp r8d, eax
jge 0x18003ac11
xor ecx, ecx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x28], r13
cmp edx, 1
mov r13d, ecx
mov qword [rsp + 0x20], r15
setne r13b
add r13d, r8d
mov r15d, r13d
cmp r13d, eax
jge 0x18003ab5f
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
movsxd rax, r13d
mov qword [rsp + 0x30], r12
imul r12, rax, 0x38
nop word [rax + rax]
mov rax, qword [rsi + 0x78]
mov rbp, qword [r12 + rax + 0x10]
test rbp, rbp
je 0x18003ab3a
cmp dword [rbp + 8], 0
je 0x18003ab32
lea rbx, [rbp + 0x10]
mov edi, 0x3e
nop dword [rax]
mov rcx, qword [rbx]
call fcn.180033810
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x18003ab20
mov rcx, rbp
call fcn.180028850
inc r15d
add r12, 0x38
cmp r15d, dword [rsi + 0x80]
jl 0x18003ab00
mov edx, dword [rsp + 0x58]
xor ecx, ecx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
mov dword [rsi + 0x80], r13d
cmp edx, 1
jne 0x18003abcd
movsxd rax, r13d
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x78]
cmp dword [rbx + 0x20], 0
je 0x18003abb8
mov rcx, qword [rsi + 0x58]
mov r8, qword [rcx]
test r8, r8
je 0x18003abb8
lea rax, [0x18015a9d0]
cmp r8, rax
jne 0x18003abb2
mov rdx, qword [rsi + 0xc8]
mov eax, dword [rbx + 0x1c]
add rdx, 4
imul rdx, rax
call qword [r8 + 0x20]
mov r14d, eax
mov ecx, dword [rbx + 0x1c]
mov dword [rsi + 0x3c], ecx
mov rbx, qword [rsp + 0x50]
mov eax, r14d
mov r13, qword [rsp + 0x28]
add rsp, 0x38
pop r14
pop rsi
ret
cmp qword [rsi + 0x128], 0
jne 0x18003abe1
mov rax, qword [rsi + 0x50]
cmp qword [rax], 0
je 0x18003abb8
test r13d, r13d
je 0x18003abf5
lea eax, [r13 - 1]
movsxd rcx, eax
imul rcx, rcx, 0x38
add rcx, qword [rsi + 0x78]
mov rdx, rcx
mov rcx, rsi
mov rbx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x28]
add rsp, 0x38
pop r14
pop rsi
jmp 0x1800377e0
mov eax, r14d
add rsp, 0x38
pop r14
pop rsi
ret