Function at 0x140080d20
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 r13
push r15
sub rsp, 0x48
mov r15d, dword [rsp + 0x98]
xor eax, eax
cmp r15d, 3
je 0x140080d54
mov qword [rsp], rax
cmp r15d, 6
jne 0x140080d5d
mov eax, 1
mov qword [rsp], rax
mov rcx, qword [rsp + 0xa8]
test eax, eax
mov rdx, qword [rsp + 0xb0]
mov r10, qword [rcx]
mov r9, qword [rdx]
mov r13, r10
cmove r13, r9
test r13, r13
je 0x1400810b7
mov qword [rsp + 0x40], rbx
test eax, eax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r12
mov r12d, dword [rsp + 0x90]
mov qword [rsp + 0x18], r14
mov r14, r9
cmove r14, r10
nop dword [rax]
nop dword [rax + rax]
mov rsi, r9
mov rbp, r9
mov r8, r10
mov rdi, r10
mov r11, r14
mov rax, r14
mov rbx, r14
test r14, r14
je 0x14008107a
cmp qword [rsp], 0
je 0x140080deb
mov r14, qword [r14 + 0x18]
jmp 0x140080def
mov r14, qword [r14 + 0x10]
mov ecx, dword [rsp + 0xa0]
mov rdx, qword [rax]
test ecx, ecx
js 0x140080e0b
cmp ecx, dword [rdx + 0x44]
jne 0x140081071
jmp 0x140080ea1
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x140080e1c
cmp ecx, dword [rdx + 0x18]
jne 0x140081071
mov ecx, dword [rsp + 0x68]
test ecx, ecx
je 0x140080e2d
test dword [rdx + 0x1c], ecx
je 0x140081071
mov ecx, dword [rsp + 0x70]
test ecx, ecx
je 0x140080e3e
test dword [rdx + 0x20], ecx
je 0x140081071
mov ecx, dword [rsp + 0x78]
test ecx, ecx
je 0x140080e4f
test dword [rdx + 0x24], ecx
je 0x140081071
mov ecx, dword [rsp + 0x80]
test ecx, ecx
je 0x140080e63
test dword [rdx + 0x28], ecx
je 0x140081071
mov ecx, dword [rsp + 0x88]
test ecx, ecx
je 0x140080e77
cmp ecx, dword [rdx + 0x2c]
jne 0x140081071
test r12b, 0x1f
je 0x140080e8c
mov ecx, dword [rdx + 0x3c]
and ecx, r12d
test cl, 0x1f
je 0x140081071
test r12b, 0x20
je 0x140080ea1
mov ecx, dword [rdx + 0x3c]
and ecx, r12d
test cl, 0x20
je 0x140081071
cmp r15d, 1
jne 0x140080f01
cmp dword [rax + 8], 0
jne 0x140081071
cmp rax, r9
je 0x140080ef5
mov rdx, qword [rax + 0x10]
cmp rax, rdi
mov rcx, qword [rax + 0x18]
mov r10, rdx
cmovne r10, r8
test rcx, rcx
je 0x140080ed5
mov qword [rcx + 0x10], rdx
mov rdx, qword [r11 + 0x10]
test rdx, rdx
je 0x140080ee2
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 0x140081071
cmp r15d, 4
jne 0x140080f5e
cmp dword [rax + 8], 0
je 0x140081071
cmp rax, r9
je 0x140081071
mov rdx, qword [rax + 0x10]
cmp rax, r8
mov rcx, qword [rax + 0x18]
mov r10, rdx
cmovne r10, r8
test rcx, rcx
je 0x140080f39
mov qword [rcx + 0x10], rdx
mov rdx, qword [r11 + 0x10]
test rdx, rdx
je 0x140080f46
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 0x140081071
cmp r15d, 3
jne 0x140080fc2
cmp dword [rax + 8], 0
je 0x140081071
cmp rax, r10
je 0x140080fb8
mov rdx, qword [rax + 0x18]
cmp rax, rbp
mov rcx, qword [rax + 0x10]
mov r9, rdx
cmovne r9, rsi
test rcx, rcx
je 0x140080f92
mov qword [rcx + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x140080f9f
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 0x140081071
xor ebx, ebx
mov dword [rax + 8], ebx
jmp 0x140081071
cmp r15d, 6
jne 0x14008101c
cmp dword [rax + 8], 0
je 0x140081071
cmp rax, r10
je 0x140081071
mov rdx, qword [rax + 0x18]
cmp rax, rsi
mov rcx, qword [rax + 0x10]
mov r9, rdx
cmovne r9, rsi
test rcx, rcx
je 0x140080ffa
mov qword [rcx + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x140081007
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 0x140081071
cmp r15d, 2
jne 0x140081071
mov r8, qword [rbx + 0x10]
cmp r10, rax
jne 0x140081030
mov r10, r8
jmp 0x14008103c
mov rcx, qword [rax + 0x18]
mov qword [rcx + 0x10], r8
mov r8, qword [r11 + 0x10]
mov rdx, qword [rax + 0x18]
cmp rsi, rax
mov r9, rdx
cmovne r9, rsi
xor ebx, ebx
mov dword [rax + 8], ebx
test r8, r8
je 0x14008105c
mov qword [r8 + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x140081069
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
cmp rax, r13
jne 0x140080dc0
mov rax, qword [rsp + 0xa8]
mov r12, 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 r13
ret
mov qword [rcx], r10
mov qword [rdx], r9
add rsp, 0x48
pop r15
pop r13
ret