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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push r13
push r14
mov eax, 0x20
call fcn.14022aff0
sub rsp, rax
mov ebx, dword [rsp + 0x88]
xor eax, eax
mov r13d, r9d
mov ebp, ecx
cmp ebx, 3
je 0x1401cf2cb
xor ecx, ecx
mov qword [rsp], rcx
cmp ebx, 6
jne 0x1401cf2d6
mov eax, 1
mov ecx, eax
mov qword [rsp], rax
mov rsi, qword [rsp + 0x98]
test eax, eax
mov r14, qword [rsp + 0xa0]
mov r10, qword [rsi]
mov r9, qword [r14]
mov rdx, r10
cmove rdx, r9
mov qword [rsp + 0x98], rdx
test rdx, rdx
je 0x1401cf5fa
mov qword [rsp + 0x50], rdi
test eax, eax
mov edi, dword [rsp + 0x80]
mov r11, r9
mov qword [rsp + 0x18], r12
cmove r11, r10
mov r12d, dword [rsp + 0x78]
mov qword [rsp + 0x10], r15
mov r15d, dword [rsp + 0x90]
nop dword [rax]
nop word [rax + rax]
mov rax, r11
mov r8, r11
test r11, r11
je 0x1401cf5d9
test rcx, rcx
je 0x1401cf35a
mov r11, qword [r11 + 0x18]
jmp 0x1401cf35e
mov r11, qword [r11 + 0x10]
mov rdx, qword [rax]
test r15d, r15d
js 0x1401cf375
cmp r15d, dword [rdx + 0x44]
jne 0x1401cf5c7
jmp 0x1401cf3fb
test ebp, ebp
je 0x1401cf382
cmp ebp, dword [rdx + 0x18]
jne 0x1401cf5c7
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x1401cf393
test dword [rdx + 0x1c], ecx
je 0x1401cf5c7
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x1401cf3a4
test dword [rdx + 0x20], ecx
je 0x1401cf5c7
test r13d, r13d
je 0x1401cf3b3
test dword [rdx + 0x24], r13d
je 0x1401cf5c7
mov ecx, dword [rsp + 0x70]
test ecx, ecx
je 0x1401cf3c4
test dword [rdx + 0x28], ecx
je 0x1401cf5c7
test r12d, r12d
je 0x1401cf3d3
cmp r12d, dword [rdx + 0x2c]
jne 0x1401cf5c7
test dil, 0x1f
je 0x1401cf3e7
mov ecx, dword [rdx + 0x3c]
and ecx, edi
test cl, 0x1f
je 0x1401cf5c7
test dil, 0x20
je 0x1401cf3fb
mov ecx, dword [rdx + 0x3c]
and ecx, edi
test cl, 0x20
je 0x1401cf5c7
cmp ebx, 1
jne 0x1401cf459
cmp dword [rax + 8], 0
jne 0x1401cf5c7
cmp rax, r9
je 0x1401cf44d
cmp rax, r10
jne 0x1401cf418
mov r10, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x1401cf429
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1401cf43a
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov qword [r9 + 0x10], rax
mov qword [rax + 0x18], r9
mov r9, rax
mov qword [rax + 0x10], 0
mov dword [rax + 8], 1
jmp 0x1401cf5c7
cmp ebx, 4
jne 0x1401cf4b4
cmp dword [rax + 8], 0
je 0x1401cf5c7
cmp rax, r9
je 0x1401cf5c7
cmp rax, r10
jne 0x1401cf47a
mov r10, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x1401cf48b
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1401cf49c
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov qword [r9 + 0x10], rax
mov qword [rax + 0x18], r9
mov r9, rax
mov qword [rax + 0x10], 0
jmp 0x1401cf5c7
cmp ebx, 3
jne 0x1401cf51a
cmp dword [rax + 8], 0
je 0x1401cf5c7
cmp rax, r10
je 0x1401cf50e
cmp rax, r9
jne 0x1401cf4d1
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1401cf4e2
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x1401cf4f3
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [r10 + 0x18], rax
xor r8d, r8d
mov qword [rax + 0x10], r10
mov r10, rax
mov qword [rax + 0x18], r8
mov dword [rax + 8], r8d
jmp 0x1401cf5c7
xor r8d, r8d
mov dword [rax + 8], r8d
jmp 0x1401cf5c7
cmp ebx, 6
jne 0x1401cf572
cmp dword [rax + 8], 0
je 0x1401cf5c7
cmp rax, r10
je 0x1401cf5c7
cmp rax, r9
jne 0x1401cf53b
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1401cf54c
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x1401cf55d
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [r10 + 0x18], rax
mov qword [rax + 0x10], r10
mov r10, rax
mov qword [rax + 0x18], 0
jmp 0x1401cf5c7
cmp ebx, 2
jne 0x1401cf5c7
mov rdx, qword [r8 + 0x10]
cmp r10, rax
jne 0x1401cf585
mov r10, rdx
jmp 0x1401cf591
mov rcx, qword [rax + 0x18]
mov qword [rcx + 0x10], rdx
mov rdx, qword [r8 + 0x10]
cmp r9, rax
jne 0x1401cf59a
mov r9, qword [rax + 0x18]
xor r8d, r8d
mov dword [rax + 8], r8d
test rdx, rdx
je 0x1401cf5ae
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x1401cf5bf
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [rax + 0x10], r8
mov qword [rax + 0x18], r8
mov rcx, qword [rsp]
cmp rax, qword [rsp + 0x98]
jne 0x1401cf340
mov r12, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x10]
mov qword [rsi], r10
mov qword [r14], r9
add rsp, 0x20
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
mov qword [rsi], r10
mov qword [r14], r9
add rsp, 0x20
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret