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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
xor esi, esi
mov r13, rdx
mov rbx, rcx
test rdx, rdx
je 0x18006b794
mov edi, dword [rdx + 0x18]
mov ecx, 0x200
call fcn.18005aba0
mov r14, rax
test rax, rax
je 0x18006b780
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x1fc
call sub.VCRUNTIME140.dll_memset
mov dword [r14], edi
lea rdi, [rbx + 0x60]
mov eax, dword [r13 + 0x18]
mov rcx, qword [rdi]
mov r12, rcx
mov dword [rbx + 0x20], eax
movzx eax, byte [rbx + 0x10]
mov byte [rbx + 0x17], al
mov qword [rsp + 0x80], rcx
cmp qword [rbx + 0x128], rsi
jne 0x18006b82d
mov rbp, qword [r13 + 8]
mov rax, qword [r13]
test rbp, rbp
mov qword [rdi], rax
cmove rbp, rcx
cmp qword [rdi], rbp
jge 0x18006b830
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.18006a8d0
mov esi, eax
test eax, eax
je 0x18006b750
jmp 0x18006b8f3
mov eax, 7
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rcx + 0x24]
xor r14d, r14d
mov dword [rcx + 0x20], eax
movzx eax, byte [rcx + 0x10]
mov byte [rcx + 0x17], al
mov rcx, qword [rcx + 0x128]
test rcx, rcx
je 0x18006b81a
mov eax, dword [rbx + 0x24]
mov r8, rbx
mov dword [rbx + 0x20], eax
call fcn.180072190
mov esi, eax
mov rax, qword [rbx + 0x120]
mov rdx, qword [rax]
test rdx, rdx
je 0x18006b7e3
nop
mov rcx, qword [rdx + 0x40]
mov qword [rdx + 0x20], rcx
mov rdx, rcx
test rcx, rcx
jne 0x18006b7d0
mov rdx, qword [rax]
mov rcx, rdx
call fcn.180067f40
test rax, rax
je 0x18006b991
test esi, esi
jne 0x18006b991
mov edx, dword [rax + 0x30]
mov rcx, rbx
mov rdi, qword [rax + 0x20]
call fcn.18006b440
mov esi, eax
mov rax, rdi
test rdi, rdi
jne 0x18006b7f4
jmp 0x18006b991
mov rax, qword [rbx + 0x60]
lea rdi, [rbx + 0x60]
mov qword [rsp + 0x80], rax
mov r12, rax
mov qword [rdi], rsi
mov r13, qword [rsp + 0x80]
mov qword [rsp + 0x70], r15
nop dword [rax]
cmp qword [rdi], r12
jge 0x18006b8e4
lea rax, [rsp + 0x88]
mov dword [rsp + 0x80], 0
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r8, r12
xor edx, edx
mov rcx, rbx
call fcn.180069c40
mov r15d, dword [rsp + 0x80]
mov esi, eax
test r15d, r15d
jne 0x18006b8b0
mov eax, dword [rbx + 0xb8]
add rax, qword [rbx + 0x68]
mov rcx, qword [rdi]
cmp rax, rcx
jne 0x18006b8b0
mov rax, r13
sub rax, rcx
mov rcx, qword [rbx + 0xc8]
add rcx, 8
cqo
idiv rcx
mov r15, rax
xor ebp, ebp
test esi, esi
jne 0x18006b8e4
cmp ebp, r15d
jae 0x18006b840
cmp qword [rdi], r12
jge 0x18006b8e4
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.18006a8d0
inc ebp
mov esi, eax
test eax, eax
je 0x18006b8b6
mov r13, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
test r13, r13
je 0x18006b958
mov rax, qword [rbx + 0xc8]
mov ebp, dword [r13 + 0x1c]
add rax, 4
mov rcx, qword [rbx + 0x128]
imul rax, rbp
mov qword [rsp + 0x78], rax
test rcx, rcx
je 0x18006b926
lea rdx, [r13 + 0x24]
call fcn.180072280
mov ebp, dword [r13 + 0x1c]
mov esi, eax
test esi, esi
jne 0x18006b958
nop word [rax + rax]
cmp ebp, dword [rbx + 0x3c]
jae 0x18006b958
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8, r14
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.18006a8d0
inc ebp
mov esi, eax
test eax, eax
je 0x18006b930
test r14, r14
je 0x18006b98a
cmp dword [r14 + 8], 0
je 0x18006b982
lea rbx, [r14 + 0x10]
mov ebp, 0x3e
nop dword [rax]
mov rcx, qword [rbx]
call fcn.180067680
lea rbx, [rbx + 8]
sub rbp, 1
jne 0x18006b970
mov rcx, r14
call fcn.18005ad90
test esi, esi
jne 0x18006b991
mov qword [rdi], r12
mov eax, esi
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
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 0x18006e9e1
mov eax, dword [rcx + 0x80]
cmp r8d, eax
jge 0x18006e9e1
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 0x18006e92f
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 0x18006e90a
cmp dword [rbp + 8], 0
je 0x18006e902
lea rbx, [rbp + 0x10]
mov edi, 0x3e
nop dword [rax]
mov rcx, qword [rbx]
call fcn.180067680
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x18006e8f0
mov rcx, rbp
call fcn.18005ad90
inc r15d
add r12, 0x38
cmp r15d, dword [rsi + 0x80]
jl 0x18006e8d0
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 0x18006e99d
movsxd rax, r13d
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x78]
cmp dword [rbx + 0x20], 0
je 0x18006e988
mov rcx, qword [rsi + 0x58]
mov r8, qword [rcx]
test r8, r8
je 0x18006e988
lea rax, [0x180140830]
cmp r8, rax
jne 0x18006e982
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 0x18006e9b1
mov rax, qword [rsi + 0x50]
cmp qword [rax], 0
je 0x18006e988
test r13d, r13d
je 0x18006e9c5
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 0x18006b6c0
mov eax, r14d
add rsp, 0x38
pop r14
pop rsi
ret