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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r14
push r15
mov eax, 0x18
call fcn.18017e6d0
sub rsp, rax
mov r10d, dword [rsp + 0x78]
xor eax, eax
mov r15d, ecx
cmp r10d, 3
je 0x18000a497
cmp r10d, 6
jne 0x18000a49c
mov eax, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov r8, qword [rdi]
mov r9, qword [rsi]
test eax, eax
je 0x18000a4be
mov r11, r9
mov r14, r8
jmp 0x18000a4c4
mov r11, r8
mov r14, r9
cdqe
mov qword [rsp + 0x88], rax
test r14, r14
je 0x18000a7b9
mov qword [rsp + 0x40], rbx
mov ebx, dword [rsp + 0x70]
mov qword [rsp + 0x10], rbp
mov ebp, dword [rsp + 0x80]
mov qword [rsp + 8], r12
mov r12d, dword [rsp + 0x68]
mov qword [rsp], r13
mov r13d, dword [rsp + 0x60]
nop
mov rdx, r11
test r11, r11
je 0x18000a795
test rax, rax
je 0x18000a517
mov r11, qword [r11 + 0x18]
jmp 0x18000a51b
mov r11, qword [r11 + 0x10]
mov rcx, qword [rdx]
test ebp, ebp
js 0x18000a530
cmp ebp, dword [rcx + 0x44]
jne 0x18000a784
jmp 0x18000a5b4
test r15d, r15d
je 0x18000a53f
cmp r15d, dword [rcx + 0x18]
jne 0x18000a784
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x18000a550
test dword [rcx + 0x1c], eax
je 0x18000a784
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x18000a561
test dword [rcx + 0x20], eax
je 0x18000a784
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x18000a572
test dword [rcx + 0x24], eax
je 0x18000a784
test r13d, r13d
je 0x18000a581
test dword [rcx + 0x28], r13d
je 0x18000a784
test r12d, r12d
je 0x18000a590
cmp r12d, dword [rcx + 0x2c]
jne 0x18000a784
test bl, 0x1f
je 0x18000a5a2
mov eax, dword [rcx + 0x3c]
and eax, ebx
test al, 0x1f
je 0x18000a784
test bl, 0x20
je 0x18000a5b4
mov eax, dword [rcx + 0x3c]
and eax, ebx
test al, 0x20
je 0x18000a784
cmp r10d, 1
jne 0x18000a613
cmp dword [rdx + 8], 0
jne 0x18000a784
cmp rdx, r9
je 0x18000a607
cmp rdx, r8
jne 0x18000a5d2
mov r8, qword [rdx + 0x10]
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x18000a5e3
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x18000a5f4
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov qword [r9 + 0x10], rdx
mov qword [rdx + 0x18], r9
mov r9, rdx
mov qword [rdx + 0x10], 0
mov dword [rdx + 8], 1
jmp 0x18000a784
cmp r10d, 4
jne 0x18000a66f
cmp dword [rdx + 8], 0
je 0x18000a784
cmp rdx, r9
je 0x18000a784
cmp rdx, r8
jne 0x18000a635
mov r8, qword [rdx + 0x10]
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x18000a646
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x18000a657
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov qword [r9 + 0x10], rdx
mov qword [rdx + 0x18], r9
mov r9, rdx
mov qword [rdx + 0x10], 0
jmp 0x18000a784
cmp r10d, 3
jne 0x18000a6d2
cmp dword [rdx + 8], 0
je 0x18000a784
cmp rdx, r8
je 0x18000a6c8
cmp rdx, r9
jne 0x18000a68d
mov r9, qword [rdx + 0x18]
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x18000a69e
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x18000a6af
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
mov qword [r8 + 0x18], rdx
xor ecx, ecx
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], rcx
mov dword [rdx + 8], ecx
mov r8, rdx
jmp 0x18000a784
xor ecx, ecx
mov dword [rdx + 8], ecx
jmp 0x18000a784
cmp r10d, 6
jne 0x18000a72b
cmp dword [rdx + 8], 0
je 0x18000a784
cmp rdx, r8
je 0x18000a784
cmp rdx, r9
jne 0x18000a6f4
mov r9, qword [rdx + 0x18]
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x18000a705
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x18000a716
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
mov qword [r8 + 0x18], rdx
mov qword [rdx + 0x10], r8
mov r8, rdx
mov qword [rdx + 0x18], 0
jmp 0x18000a784
cmp r10d, 2
jne 0x18000a784
cmp r8, rdx
jne 0x18000a73c
mov r8, qword [rdx + 0x10]
jmp 0x18000a748
mov rcx, qword [rdx + 0x18]
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
cmp r9, rdx
jne 0x18000a751
mov r9, qword [rdx + 0x18]
mov rcx, qword [rdx + 0x10]
mov dword [rdx + 8], 0
test rcx, rcx
je 0x18000a769
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x18000a77a
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
xor ecx, ecx
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rcx
mov rax, qword [rsp + 0x88]
cmp rdx, r14
jne 0x18000a500
mov r12, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x40]
mov r13, qword [rsp]
mov qword [rdi], r8
mov qword [rsi], r9
add rsp, 0x18
pop r15
pop r14
pop rdi
pop rsi
ret
mov qword [rdi], r8
mov qword [rsi], r9
add rsp, 0x18
pop r15
pop r14
pop rdi
pop rsi
ret