Function at 0x1401b8780
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, 0x30
xor esi, esi
mov r13, rdx
mov rdi, rcx
test rdx, rdx
je 0x1401b87ff
mov ebx, dword [rdx + 0x18]
mov ecx, 0x200
call fcn.1401cd740
mov r12, rax
test rax, rax
je 0x1401b87f5
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x1fc
call fcn.1400b4b10
mov dword [r12], ebx
lea rbx, [rdi + 0x60]
mov eax, dword [r13 + 0x18]
mov dword [rdi + 0x20], eax
movzx eax, byte [rdi + 0x10]
mov byte [rdi + 0x17], al
mov rax, qword [rbx]
mov qword [rsp + 0x80], rax
mov r15, rax
jmp 0x1401b8969
mov eax, 7
jmp 0x1401b8ade
mov eax, dword [rcx + 0x24]
xor r12d, r12d
mov dword [rcx + 0x20], eax
movzx eax, byte [rcx + 0x10]
mov byte [rcx + 0x17], al
mov rcx, qword [rcx + 0x128]
test rcx, rcx
je 0x1401b8951
mov eax, dword [rdi + 0x24]
mov r8, rdi
mov dword [rdi + 0x20], eax
call fcn.1401b02b0
mov rcx, qword [rdi + 0x120]
mov esi, eax
call fcn.1401bd4e0
test rax, rax
je 0x1401b8adc
test esi, esi
jne 0x1401b8adc
mov ebp, dword [rax + 0x30]
xor r8d, r8d
mov rcx, qword [rdi + 0x120]
mov edx, ebp
mov r14, qword [rax + 0x20]
mov rax, qword [0x14023d7b0]
mov rcx, qword [rcx + 0x48]
call qword [case.0x1400faf48.0]
mov r8, rax
test rax, rax
je 0x1401b8926
mov rbx, qword [r8 + 8]
mov rax, qword [rdi + 0x120]
cmp qword [rbx], rsi
jne 0x1401b889b
mov edx, ebp
mov rcx, rax
call fcn.1401bdef0
mov rbx, rax
jmp 0x1401b88a3
inc qword [rax + 0x18]
inc qword [rbx + 0x38]
test rbx, rbx
je 0x1401b8926
cmp qword [rbx + 0x38], 1
mov rcx, rbx
jne 0x1401b88b9
call fcn.1401bdd60
jmp 0x1401b8926
call fcn.1401b90a0
mov esi, eax
test eax, eax
jne 0x1401b88d4
mov rax, qword [rdi + 0x108]
mov rcx, rbx
call qword [case.0x1400faf48.0]
test byte [rbx + 0x34], 0x20
je 0x1401b891e
mov r9, qword [rbx + 0x28]
dec dword [r9 + 0x98]
mov rax, qword [r9 + 0xa8]
mov qword [rbx + 0x20], rax
mov rcx, qword [r9 + 0x48]
mov qword [r9 + 0xa8], rbx
mov edx, dword [rbx + 0x30]
dec edx
mov r8, qword [rcx]
imul rdx, qword [r9 + 0xc8]
mov rax, qword [r8 + 0x90]
mov r8, qword [rbx + 8]
call qword [case.0x1400faf48.0]
jmp 0x1401b8926
mov rcx, rbx
call fcn.1401bde00
mov rax, qword [rdi + 0x70]
test rax, rax
je 0x1401b8940
nop
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x1401b8930
mov rax, r14
test r14, r14
jne 0x1401b8844
jmp 0x1401b8adc
mov rax, qword [rdi + 0x60]
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x80], rax
mov r15, rax
test r13, r13
je 0x1401b89b0
cmp qword [rdi + 0x128], rsi
jne 0x1401b89b0
mov rbp, qword [r13 + 8]
test rbp, rbp
cmove rbp, rax
mov rax, qword [r13]
mov qword [rbx], rax
cmp qword [rbx], rbp
jge 0x1401b89b3
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r12
mov rdx, rbx
mov rcx, rdi
call fcn.1401b9a50
mov esi, eax
test eax, eax
je 0x1401b8984
jmp 0x1401b8a6e
mov qword [rbx], rsi
mov r13, qword [rsp + 0x80]
nop dword [rax + rax]
cmp qword [rbx], r15
jge 0x1401b8a64
lea rax, [rsp + 0x88]
mov dword [rsp + 0x80], 0
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r8, r15
xor edx, edx
mov rcx, rdi
call fcn.1401baac0
mov r14d, dword [rsp + 0x80]
mov esi, eax
test r14d, r14d
jne 0x1401b8a30
mov eax, dword [rdi + 0xb8]
add rax, qword [rdi + 0x68]
mov rcx, qword [rbx]
cmp rax, rcx
jne 0x1401b8a30
mov rax, r13
sub rax, rcx
mov rcx, qword [rdi + 0xc8]
add rcx, 8
cqo
idiv rcx
mov r14, rax
xor ebp, ebp
test esi, esi
jne 0x1401b8a64
cmp ebp, r14d
jae 0x1401b89c0
cmp qword [rbx], r15
jge 0x1401b8a64
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r12
mov rdx, rbx
mov rcx, rdi
call fcn.1401b9a50
inc ebp
mov esi, eax
test eax, eax
je 0x1401b8a36
mov r13, qword [rsp + 0x78]
test r13, r13
je 0x1401b8acd
mov rax, qword [rdi + 0xc8]
mov ebp, dword [r13 + 0x1c]
add rax, 4
mov rcx, qword [rdi + 0x128]
imul rax, rbp
mov qword [rsp + 0x78], rax
test rcx, rcx
je 0x1401b8aa1
lea rdx, [r13 + 0x24]
call fcn.1401b0220
mov ebp, dword [r13 + 0x1c]
mov esi, eax
test esi, esi
jne 0x1401b8acd
cmp ebp, dword [rdi + 0x3c]
jae 0x1401b8acd
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8, r12
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.1401b9a50
inc ebp
mov esi, eax
test eax, eax
je 0x1401b8aa5
mov rcx, r12
call fcn.1401be740
test esi, esi
jne 0x1401b8adc
mov qword [rbx], r15
mov eax, esi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret