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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x18025cbc0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x308]
mov rsi, rdx
mov r13, qword [rsp + 0x300]
mov r12, rcx
mov qword [rsp + 0x88], rax
mov r14, r8
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rdx]
mov qword [rsp + 0x50], r8
mov r8d, 0x200
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov r15d, dword [rcx + 8]
mov eax, dword [rcx + 4]
sub eax, dword [rcx]
mov edi, dword [rcx + 0xc]
cdq
idiv r15d
mov qword [rsp + 0x68], rcx
xor edx, edx
movsxd rbx, eax
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x2c], r15d
mov dword [rsp + 0x40], edi
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
movsxd r10, dword [rsp + 0x30]
xor ecx, ecx
mov r11, rbx
mov dword [rsp + 0x24], ecx
mov qword [rsp + 0x80], r10
mov qword [rsp + 0x70], rbx
cmp dword [rsi + 0xc], ecx
jle 0x1800cff34
xor eax, eax
mov qword [rsp + 0x2f8], rbp
mov qword [rsp + 0x60], rax
nop dword [rax]
xor edx, edx
xor r8d, r8d
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x48], r8
test r11, r11
jle 0x1800cff14
mov eax, dword [rsp + 0x30]
nop dword [rax + rax]
test ecx, ecx
jne 0x1800cfe11
movsxd r9, dword [rsp + 0x20]
xor ebp, ebp
mov r14, r9
test r9d, r9d
jle 0x1800cfd55
mov r15d, dword [rsp + 0x28]
mov rax, qword [r13 + rbp*8]
lea rdx, [rax + r8*4]
mov eax, dword [rax + r8*4]
cmp r10, 1
jle 0x1800cfcd5
lea ecx, [r15 + 1]
add rdx, 4
lea r8, [r10 - 1]
nop
imul eax, edi
cmp ecx, ebx
jge 0x1800cfcc9
add eax, dword [rdx]
inc ecx
add rdx, 4
sub r8, 1
jne 0x1800cfcc0
mov rdi, qword [rsi + 0x18]
cmp eax, dword [rdi + 4]
jge 0x1800cfd25
test eax, eax
js 0x1800cfd20
mov rcx, qword [rdi + 0x10]
cmp eax, dword [rcx + 4]
jge 0x1800cfd20
mov rdx, qword [rdi + 0x20]
movsxd rbx, eax
mov rax, qword [rcx + 8]
mov rcx, r12
mov edx, dword [rdx + rbx*4]
movsx r8d, byte [rax + rbx]
call fcn.18010de10
mov rax, qword [rdi + 0x10]
mov r10, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
movsx eax, byte [rcx + rbx]
mov ebx, dword [rsp + 0x3c]
jmp 0x1800cfd22
xor eax, eax
add dword [rsi + 0x3c], eax
mov r8, qword [rsp + 0x48]
inc rbp
mov edi, dword [rsp + 0x40]
cmp rbp, r14
jl 0x1800cfca0
mov r15d, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
mov r11, qword [rsp + 0x70]
mov eax, dword [rsp + 0x30]
mov r14, qword [rsp + 0x50]
xor r13d, r13d
mov dword [rsp + 0x34], r13d
test eax, eax
jle 0x1800cfec5
mov r12d, edx
imul r12d, r15d
mov dword [rsp + 0x38], r12d
cmp r8, r11
jge 0x1800cfeec
mov rdx, qword [rsp + 0x68]
mov r15d, dword [rdx]
add r15d, r12d
test r9d, r9d
jle 0x1800cfe83
mov rax, qword [rsp + 0x78]
mov ebp, 1
mov r13, qword [rsp + 0x60]
sub r14, rax
mov r12d, dword [rsp + 0x2c]
mov rbx, rax
rol ebp, cl
mov edi, r9d
test ecx, ecx
jne 0x1800cfe20
nop word [rax + rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + r8*4]
test dword [rdx + rcx*4 + 0x18], ebp
je 0x1800cfe05
mov rax, qword [rsi + 0x20]
mov rcx, qword [rax + rcx*8]
mov r9, qword [rcx + r13]
test r9, r9
je 0x1800cfe05
mov rax, qword [r14 + rbx]
mov r8d, r12d
movsxd rcx, r15d
lea rdx, [rax + rcx*4]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x88]
add dword [rsi + 0x38], eax
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x48]
add rbx, 8
sub rdi, 1
jne 0x1800cfdc0
jmp 0x1800cfe6f
mov r9d, dword [rsp + 0x20]
jmp 0x1800cfd5a
mov rax, qword [rbx]
movsxd rcx, dword [rax + r8*4]
test dword [rdx + rcx*4 + 0x18], ebp
je 0x1800cfe65
mov rax, qword [rsi + 0x20]
mov rcx, qword [rax + rcx*8]
mov r9, qword [rcx + r13]
test r9, r9
je 0x1800cfe65
mov rax, qword [r14 + rbx]
mov r8d, r12d
movsxd rcx, r15d
lea rdx, [rax + rcx*4]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x88]
add dword [rsi + 0x38], eax
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x48]
add rbx, 8
sub rdi, 1
jne 0x1800cfe20
mov r11, qword [rsp + 0x70]
mov r9d, dword [rsp + 0x20]
mov r13d, dword [rsp + 0x34]
mov r12d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x28]
inc r13d
mov r15d, dword [rsp + 0x2c]
inc edx
mov eax, dword [rsp + 0x30]
add r12d, r15d
mov ecx, dword [rsp + 0x24]
inc r8
mov r14, qword [rsp + 0x50]
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x48], r8
cmp r13d, eax
jl 0x1800cfd76
mov r12, qword [rsp + 0x58]
mov ebx, dword [rsp + 0x3c]
mov edi, dword [rsp + 0x40]
mov r13, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x24]
mov r10, qword [rsp + 0x80]
mov r14, qword [rsp + 0x50]
cmp r8, r11
jl 0x1800cfc80
mov rax, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov ebx, dword [rsp + 0x3c]
mov edi, dword [rsp + 0x40]
mov r13, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x24]
mov r10, qword [rsp + 0x80]
mov r14, qword [rsp + 0x50]
inc ecx
add rax, 8
mov dword [rsp + 0x24], ecx
mov qword [rsp + 0x60], rax
cmp ecx, dword [rsi + 0xc]
jl 0x1800cfc60
mov rbp, qword [rsp + 0x2f8]
xor eax, eax
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.180151320
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret