Function at 0x140081d10
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 0x140081d44
mov qword [rsp], rax
cmp r15d, 6
jne 0x140081d4d
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 0x1400820a7
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 0x14008206a
cmp qword [rsp], 0
je 0x140081ddb
mov r14, qword [r14 + 0x18]
jmp 0x140081ddf
mov r14, qword [r14 + 0x10]
mov ecx, dword [rsp + 0xa0]
mov rdx, qword [rax]
test ecx, ecx
js 0x140081dfb
cmp ecx, dword [rdx + 0x44]
jne 0x140082061
jmp 0x140081e91
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x140081e0c
cmp ecx, dword [rdx + 0x18]
jne 0x140082061
mov ecx, dword [rsp + 0x68]
test ecx, ecx
je 0x140081e1d
test dword [rdx + 0x1c], ecx
je 0x140082061
mov ecx, dword [rsp + 0x70]
test ecx, ecx
je 0x140081e2e
test dword [rdx + 0x20], ecx
je 0x140082061
mov ecx, dword [rsp + 0x78]
test ecx, ecx
je 0x140081e3f
test dword [rdx + 0x24], ecx
je 0x140082061
mov ecx, dword [rsp + 0x80]
test ecx, ecx
je 0x140081e53
test dword [rdx + 0x28], ecx
je 0x140082061
mov ecx, dword [rsp + 0x88]
test ecx, ecx
je 0x140081e67
cmp ecx, dword [rdx + 0x2c]
jne 0x140082061
test r12b, 0x1f
je 0x140081e7c
mov ecx, dword [rdx + 0x3c]
and ecx, r12d
test cl, 0x1f
je 0x140082061
test r12b, 0x20
je 0x140081e91
mov ecx, dword [rdx + 0x3c]
and ecx, r12d
test cl, 0x20
je 0x140082061
cmp r15d, 1
jne 0x140081ef1
cmp dword [rax + 8], 0
jne 0x140082061
cmp rax, r9
je 0x140081ee5
mov rdx, qword [rax + 0x10]
cmp rax, rdi
mov rcx, qword [rax + 0x18]
mov r10, rdx
cmovne r10, r8
test rcx, rcx
je 0x140081ec5
mov qword [rcx + 0x10], rdx
mov rdx, qword [r11 + 0x10]
test rdx, rdx
je 0x140081ed2
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 0x140082061
cmp r15d, 4
jne 0x140081f4e
cmp dword [rax + 8], 0
je 0x140082061
cmp rax, r9
je 0x140082061
mov rdx, qword [rax + 0x10]
cmp rax, r8
mov rcx, qword [rax + 0x18]
mov r10, rdx
cmovne r10, r8
test rcx, rcx
je 0x140081f29
mov qword [rcx + 0x10], rdx
mov rdx, qword [r11 + 0x10]
test rdx, rdx
je 0x140081f36
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 0x140082061
cmp r15d, 3
jne 0x140081fb2
cmp dword [rax + 8], 0
je 0x140082061
cmp rax, r10
je 0x140081fa8
mov rdx, qword [rax + 0x18]
cmp rax, rbp
mov rcx, qword [rax + 0x10]
mov r9, rdx
cmovne r9, rsi
test rcx, rcx
je 0x140081f82
mov qword [rcx + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x140081f8f
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 0x140082061
xor ebx, ebx
mov dword [rax + 8], ebx
jmp 0x140082061
cmp r15d, 6
jne 0x14008200c
cmp dword [rax + 8], 0
je 0x140082061
cmp rax, r10
je 0x140082061
mov rdx, qword [rax + 0x18]
cmp rax, rsi
mov rcx, qword [rax + 0x10]
mov r9, rdx
cmovne r9, rsi
test rcx, rcx
je 0x140081fea
mov qword [rcx + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x140081ff7
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 0x140082061
cmp r15d, 2
jne 0x140082061
mov r8, qword [rbx + 0x10]
cmp r10, rax
jne 0x140082020
mov r10, r8
jmp 0x14008202c
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 0x14008204c
mov qword [r8 + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x140082059
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
cmp rax, r13
jne 0x140081db0
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