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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
push rdi
push r13
push r14
push r15
mov eax, 0x20
call fcn.1402f6840
sub rsp, rax
mov edi, dword [rsp + 0x88]
xor eax, eax
mov r13d, ecx
cmp edi, 3
je 0x1402b814f
xor edx, edx
mov qword [rsp], rdx
cmp edi, 6
jne 0x1402b815a
mov eax, 1
mov edx, eax
mov qword [rsp], rax
mov r14, qword [rsp + 0x98]
test eax, eax
mov r15, qword [rsp + 0xa0]
mov r10, qword [r14]
mov r11, qword [r15]
mov rbp, r10
cmove rbp, r11
test rbp, rbp
je 0x1402b846b
mov qword [rsp + 0x50], rbx
test eax, eax
mov qword [rsp + 0x18], rsi
mov rbx, r11
mov esi, dword [rsp + 0x80]
cmove rbx, r10
mov qword [rsp + 0x10], r12
mov r12d, dword [rsp + 0x90]
nop dword [rax]
mov r8, rbx
mov rcx, rbx
mov r9, rbx
test rbx, rbx
je 0x1402b8449
test rdx, rdx
je 0x1402b81cd
mov rbx, qword [rbx + 0x18]
jmp 0x1402b81d1
mov rbx, qword [rbx + 0x10]
mov rdx, qword [rcx]
test r12d, r12d
js 0x1402b81e8
cmp r12d, dword [rdx + 0x44]
jne 0x1402b843c
jmp 0x1402b8272
test r13d, r13d
je 0x1402b81f7
cmp r13d, dword [rdx + 0x18]
jne 0x1402b843c
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1402b8208
test dword [rdx + 0x1c], eax
je 0x1402b843c
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1402b8219
test dword [rdx + 0x20], eax
je 0x1402b843c
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x1402b822a
test dword [rdx + 0x24], eax
je 0x1402b843c
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1402b823b
test dword [rdx + 0x28], eax
je 0x1402b843c
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x1402b824c
cmp eax, dword [rdx + 0x2c]
jne 0x1402b843c
test sil, 0x1f
je 0x1402b825f
mov eax, dword [rdx + 0x3c]
and eax, esi
test al, 0x1f
je 0x1402b843c
test sil, 0x20
je 0x1402b8272
mov eax, dword [rdx + 0x3c]
and eax, esi
test al, 0x20
je 0x1402b843c
cmp edi, 1
jne 0x1402b82cf
cmp dword [rcx + 8], 0
jne 0x1402b843c
cmp rcx, r11
je 0x1402b82c3
mov rax, qword [r8 + 0x10]
cmp rcx, r10
jne 0x1402b8292
mov r10, rax
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x1402b829f
mov qword [rdx + 0x10], rax
mov rdx, qword [r8 + 0x10]
test rdx, rdx
je 0x1402b82b0
mov rax, qword [rcx + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r11 + 0x10], rcx
mov qword [rcx + 0x18], r11
mov r11, rcx
mov qword [r8 + 0x10], 0
mov dword [rcx + 8], 1
jmp 0x1402b843c
cmp edi, 4
jne 0x1402b8329
cmp dword [rcx + 8], 0
je 0x1402b843c
cmp rcx, r11
je 0x1402b843c
mov rax, qword [r8 + 0x10]
cmp rcx, r10
jne 0x1402b82f3
mov r10, rax
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x1402b8300
mov qword [rdx + 0x10], rax
mov rdx, qword [r8 + 0x10]
test rdx, rdx
je 0x1402b8311
mov rax, qword [rcx + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r11 + 0x10], rcx
mov qword [rcx + 0x18], r11
mov r11, rcx
mov qword [r8 + 0x10], 0
jmp 0x1402b843c
cmp edi, 3
jne 0x1402b838a
cmp dword [rcx + 8], 0
je 0x1402b843c
cmp rcx, r10
je 0x1402b8380
mov rax, qword [r8 + 0x18]
cmp rcx, r11
jne 0x1402b8349
mov r11, rax
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x1402b8356
mov qword [rdx + 0x18], rax
mov rdx, qword [r8 + 0x18]
test rdx, rdx
je 0x1402b8367
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r10 + 0x18], rcx
xor eax, eax
mov qword [rcx + 0x10], r10
mov r10, rcx
mov qword [r8 + 0x18], rax
mov dword [rcx + 8], eax
jmp 0x1402b843c
xor eax, eax
mov dword [rcx + 8], eax
jmp 0x1402b843c
cmp edi, 6
jne 0x1402b83e1
cmp dword [rcx + 8], 0
je 0x1402b843c
cmp rcx, r10
je 0x1402b843c
mov rax, qword [r8 + 0x18]
cmp rcx, r11
jne 0x1402b83ae
mov r11, rax
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x1402b83bb
mov qword [rdx + 0x18], rax
mov rdx, qword [r8 + 0x18]
test rdx, rdx
je 0x1402b83cc
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r10 + 0x18], rcx
mov qword [rcx + 0x10], r10
mov r10, rcx
mov qword [r8 + 0x18], 0
jmp 0x1402b843c
cmp edi, 2
jne 0x1402b843c
mov rdx, qword [r9 + 0x10]
cmp r10, rcx
jne 0x1402b83f8
mov r10, rdx
add r8, 0x18
jmp 0x1402b8408
mov rax, qword [rcx + 0x18]
lea r8, [rcx + 0x18]
mov qword [rax + 0x10], rdx
mov rdx, qword [r9 + 0x10]
mov rax, qword [r8]
cmp r11, rcx
jne 0x1402b8413
mov r11, rax
mov dword [rcx + 8], 0
test rdx, rdx
je 0x1402b8423
mov qword [rdx + 0x18], rax
mov rdx, qword [r8]
test rdx, rdx
je 0x1402b8433
mov rax, qword [r9 + 0x10]
mov qword [rdx + 0x10], rax
xor eax, eax
mov qword [r9 + 0x10], rax
mov qword [r8], rax
mov rdx, qword [rsp]
cmp rcx, rbp
jne 0x1402b81b0
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x10]
mov qword [r14], r10
mov qword [r15], r11
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov qword [r14], r10
mov qword [r15], r11
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret