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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push r12
push r14
mov eax, 0x20
call fcn.1402b6820
sub rsp, rax
mov ebx, dword [rsp + 0x88]
xor edx, edx
mov r12d, ecx
mov eax, edx
cmp ebx, 3
je 0x14018c810
mov qword [rsp], rdx
mov ecx, edx
cmp ebx, 6
jne 0x14018c81b
mov eax, 1
mov ecx, eax
mov qword [rsp], rax
mov rsi, qword [rsp + 0x98]
test eax, eax
mov r14, qword [rsp + 0xa0]
mov r9, qword [rsi]
mov r10, qword [r14]
mov rbp, r9
cmove rbp, r10
test rbp, rbp
je 0x14018cb22
mov qword [rsp + 0x50], rdi
test eax, eax
mov edi, dword [rsp + 0x80]
mov r11, r10
mov qword [rsp + 0x18], r13
cmove r11, r9
mov r13d, dword [rsp + 0x78]
mov qword [rsp + 0x10], r15
mov r15d, dword [rsp + 0x90]
nop
mov rax, r11
mov r8, r11
test r11, r11
je 0x14018cb01
test rcx, rcx
je 0x14018c88a
mov r11, qword [r11 + 0x18]
jmp 0x14018c88e
mov r11, qword [r11 + 0x10]
mov rdx, qword [rax]
test r15d, r15d
js 0x14018c8a5
cmp r15d, dword [rdx + 0x44]
jne 0x14018caf4
jmp 0x14018c92f
test r12d, r12d
je 0x14018c8b4
cmp r12d, dword [rdx + 0x18]
jne 0x14018caf4
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x14018c8c5
test dword [rdx + 0x1c], ecx
je 0x14018caf4
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x14018c8d6
test dword [rdx + 0x20], ecx
je 0x14018caf4
mov ecx, dword [rsp + 0x68]
test ecx, ecx
je 0x14018c8e7
test dword [rdx + 0x24], ecx
je 0x14018caf4
mov ecx, dword [rsp + 0x70]
test ecx, ecx
je 0x14018c8f8
test dword [rdx + 0x28], ecx
je 0x14018caf4
test r13d, r13d
je 0x14018c907
cmp r13d, dword [rdx + 0x2c]
jne 0x14018caf4
test dil, 0x1f
je 0x14018c91b
mov ecx, edi
and ecx, dword [rdx + 0x3c]
test cl, 0x1f
je 0x14018caf4
test dil, 0x20
je 0x14018c92f
mov ecx, dword [rdx + 0x3c]
and ecx, edi
test cl, 0x20
je 0x14018caf4
cmp ebx, 1
jne 0x14018c98c
cmp dword [rax + 8], 0
jne 0x14018caf4
cmp rax, r10
je 0x14018c980
mov rcx, qword [rax + 0x10]
cmp rax, r9
jne 0x14018c94f
mov r9, rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14018c95c
mov qword [rdx + 0x10], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14018c96d
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov qword [r10 + 0x10], rax
mov qword [rax + 0x18], r10
mov r10, rax
mov qword [rax + 0x10], 0
mov dword [rax + 8], 1
jmp 0x14018caf4
cmp ebx, 4
jne 0x14018c9e6
cmp dword [rax + 8], 0
je 0x14018caf4
cmp rax, r10
je 0x14018caf4
mov rcx, qword [rax + 0x10]
cmp rax, r9
jne 0x14018c9b0
mov r9, rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14018c9bd
mov qword [rdx + 0x10], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14018c9ce
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov qword [r10 + 0x10], rax
mov qword [rax + 0x18], r10
mov r10, rax
mov qword [rax + 0x10], 0
jmp 0x14018caf4
cmp ebx, 3
jne 0x14018ca47
cmp dword [rax + 8], 0
je 0x14018caf4
cmp rax, r9
je 0x14018ca3d
mov rcx, qword [rax + 0x18]
cmp rax, r10
jne 0x14018ca06
mov r10, rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14018ca13
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14018ca24
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [r9 + 0x18], rax
xor edx, edx
mov qword [rax + 0x10], r9
mov r9, rax
mov qword [rax + 0x18], rdx
mov dword [rax + 8], edx
jmp 0x14018caf4
xor edx, edx
mov dword [rax + 8], edx
jmp 0x14018caf4
cmp ebx, 6
jne 0x14018ca9e
cmp dword [rax + 8], 0
je 0x14018caf4
cmp rax, r9
je 0x14018caf4
mov rcx, qword [rax + 0x18]
cmp rax, r10
jne 0x14018ca6b
mov r10, rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14018ca78
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14018ca89
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [r9 + 0x18], rax
mov qword [rax + 0x10], r9
mov r9, rax
mov qword [rax + 0x18], 0
jmp 0x14018caf4
cmp ebx, 2
jne 0x14018caf4
mov rdx, qword [r8 + 0x10]
cmp r9, rax
jne 0x14018cab1
mov r9, rdx
jmp 0x14018cabd
mov rcx, qword [rax + 0x18]
mov qword [rcx + 0x10], rdx
mov rdx, qword [r8 + 0x10]
mov rcx, qword [rax + 0x18]
cmp r10, rax
jne 0x14018cac9
mov r10, rcx
mov dword [rax + 8], 0
test rdx, rdx
je 0x14018cad9
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14018caea
mov rcx, qword [r8 + 0x10]
mov qword [rdx + 0x10], rcx
xor edx, edx
mov qword [r8 + 0x10], rdx
mov qword [rax + 0x18], rdx
mov rcx, qword [rsp]
cmp rax, rbp
jne 0x14018c870
mov r13, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x10]
mov qword [rsi], r9
mov qword [r14], r10
add rsp, 0x20
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret
mov qword [rsi], r9
mov qword [r14], r10
add rsp, 0x20
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret