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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push r12
push r15
mov eax, 0x48
call fcn.139ce6750
sub rsp, rax
mov r15d, dword [rsp + 0x98]
xor eax, eax
cmp r15d, 3
je 0x139af655d
mov qword [rsp], rax
cmp r15d, 6
jne 0x139af6566
mov eax, 1
mov qword [rsp], rax
mov rdx, qword [rsp + 0xa8]
test eax, eax
mov rcx, qword [rsp + 0xb0]
mov r10, qword [rdx]
mov r9, qword [rcx]
mov r12, r10
cmove r12, r9
test r12, r12
je 0x139af6930
mov ecx, dword [rsp + 0x90]
test eax, eax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r13
mov r13, r9
cmove r13, r10
mov qword [rsp + 0x18], r14
nop dword [rax]
mov rbx, r9
mov r14, r9
mov r8, r10
mov rdi, r10
mov rbp, r13
mov r11, r13
mov rax, r13
mov rsi, r13
test r13, r13
je 0x139af68f3
cmp qword [rsp], 0
je 0x139af65ee
mov r13, qword [r13 + 0x18]
jmp 0x139af65f2
mov r13, qword [r13 + 0x10]
cmp dword [rsp + 0xa0], 0
mov rdx, qword [rax]
jl 0x139af6614
mov ecx, dword [rsp + 0xa0]
cmp ecx, dword [rdx + 0x44]
jne 0x139af68e3
jmp 0x139af6713
cmp dword [rsp + 0x60], 0
je 0x139af6632
mov r15d, dword [rsp + 0x60]
cmp r15d, dword [rdx + 0x18]
mov r15d, dword [rsp + 0x98]
jne 0x139af68e3
cmp dword [rsp + 0x68], 0
je 0x139af6650
mov r15d, dword [rsp + 0x68]
test dword [rdx + 0x1c], r15d
mov r15d, dword [rsp + 0x98]
je 0x139af68e3
cmp dword [rsp + 0x70], 0
je 0x139af666e
mov r15d, dword [rsp + 0x70]
test dword [rdx + 0x20], r15d
mov r15d, dword [rsp + 0x98]
je 0x139af68e3
cmp dword [rsp + 0x78], 0
je 0x139af668c
mov r15d, dword [rsp + 0x78]
test dword [rdx + 0x24], r15d
mov r15d, dword [rsp + 0x98]
je 0x139af68e3
cmp dword [rsp + 0x80], 0
je 0x139af66b0
mov r15d, dword [rsp + 0x80]
test dword [rdx + 0x28], r15d
mov r15d, dword [rsp + 0x98]
je 0x139af68e3
cmp dword [rsp + 0x88], 0
mov r15d, dword [rsp + 0x98]
je 0x139af66dc
mov r15d, dword [rsp + 0x88]
cmp r15d, dword [rdx + 0x2c]
mov r15d, dword [rsp + 0x98]
jne 0x139af68e3
test cl, 0x1f
je 0x139af66fb
mov ecx, dword [rdx + 0x3c]
and ecx, dword [rsp + 0x90]
test cl, 0x1f
je 0x139af68e3
mov ecx, dword [rsp + 0x90]
test cl, 0x20
je 0x139af6713
mov ecx, dword [rdx + 0x3c]
and ecx, dword [rsp + 0x90]
test cl, 0x20
je 0x139af68e3
cmp r15d, 1
jne 0x139af6773
cmp dword [rax + 8], 0
jne 0x139af68e3
cmp rax, r9
je 0x139af6767
mov rdx, qword [r11 + 0x10]
cmp rax, rdi
mov rcx, qword [rax + 0x18]
mov r10, rdx
cmovne r10, r8
test rcx, rcx
je 0x139af6747
mov qword [rcx + 0x10], rdx
mov rdx, qword [r11 + 0x10]
test rdx, rdx
je 0x139af6754
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 0x139af68e3
cmp r15d, 4
jne 0x139af67d0
cmp dword [rax + 8], 0
je 0x139af68e3
cmp rax, r9
je 0x139af68e3
mov rdx, qword [r11 + 0x10]
cmp rax, r8
mov rcx, qword [rax + 0x18]
mov r10, rdx
cmovne r10, r8
test rcx, rcx
je 0x139af67ab
mov qword [rcx + 0x10], rdx
mov rdx, qword [r11 + 0x10]
test rdx, rdx
je 0x139af67b8
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 0x139af68e3
cmp r15d, 3
jne 0x139af6834
cmp dword [rax + 8], 0
je 0x139af68e3
cmp rax, r10
je 0x139af682a
mov rdx, qword [r11 + 0x18]
cmp rax, r14
mov rcx, qword [rax + 0x10]
mov r9, rdx
cmovne r9, rbx
test rcx, rcx
je 0x139af6804
mov qword [rcx + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x139af6811
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [r10 + 0x18], rax
xor ebx, ebx
mov qword [rax + 0x10], r10
mov r10, rax
mov qword [rax + 0x18], rbx
mov dword [rax + 8], ebx
jmp 0x139af68e3
xor ebx, ebx
mov dword [rax + 8], ebx
jmp 0x139af68e3
cmp r15d, 6
jne 0x139af688e
cmp dword [rax + 8], 0
je 0x139af68e3
cmp rax, r10
je 0x139af68e3
mov rdx, qword [r11 + 0x18]
cmp rax, rbx
mov rcx, qword [rax + 0x10]
mov r9, rdx
cmovne r9, rbx
test rcx, rcx
je 0x139af686c
mov qword [rcx + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x139af6879
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 0x139af68e3
cmp r15d, 2
jne 0x139af68e3
mov r8, qword [rsi + 0x10]
cmp r10, rax
jne 0x139af68a2
mov r10, r8
jmp 0x139af68ae
mov rcx, qword [rax + 0x18]
mov qword [rcx + 0x10], r8
mov r8, qword [rbp + 0x10]
mov rdx, qword [r11 + 0x18]
cmp rbx, rax
mov r9, rdx
cmovne r9, rbx
xor ebx, ebx
mov dword [rax + 8], ebx
test r8, r8
je 0x139af68ce
mov qword [r8 + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x139af68db
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov ecx, dword [rsp + 0x90]
cmp rax, r12
jne 0x139af65c0
mov rax, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x18]
mov qword [rax], r10
mov rax, qword [rsp + 0xb0]
mov qword [rax], r9
add rsp, 0x48
pop r15
pop r12
ret
mov qword [rdx], r10
mov qword [rcx], r9
add rsp, 0x48
pop r15
pop r12
ret