Function at 0x1400d66c0
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.140295f80
sub rsp, rax
mov edi, dword [rsp + 0x88]
xor eax, eax
mov r13d, ecx
cmp edi, 3
je 0x1400d66ff
xor edx, edx
mov qword [rsp], rdx
cmp edi, 6
jne 0x1400d670a
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 0x1400d6a1b
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 0x1400d69f9
test rdx, rdx
je 0x1400d677d
mov rbx, qword [rbx + 0x18]
jmp 0x1400d6781
mov rbx, qword [rbx + 0x10]
mov rdx, qword [rcx]
test r12d, r12d
js 0x1400d6798
cmp r12d, dword [rdx + 0x44]
jne 0x1400d69ec
jmp 0x1400d6822
test r13d, r13d
je 0x1400d67a7
cmp r13d, dword [rdx + 0x18]
jne 0x1400d69ec
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1400d67b8
test dword [rdx + 0x1c], eax
je 0x1400d69ec
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400d67c9
test dword [rdx + 0x20], eax
je 0x1400d69ec
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x1400d67da
test dword [rdx + 0x24], eax
je 0x1400d69ec
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1400d67eb
test dword [rdx + 0x28], eax
je 0x1400d69ec
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x1400d67fc
cmp eax, dword [rdx + 0x2c]
jne 0x1400d69ec
test sil, 0x1f
je 0x1400d680f
mov eax, dword [rdx + 0x3c]
and eax, esi
test al, 0x1f
je 0x1400d69ec
test sil, 0x20
je 0x1400d6822
mov eax, dword [rdx + 0x3c]
and eax, esi
test al, 0x20
je 0x1400d69ec
cmp edi, 1
jne 0x1400d687f
cmp dword [rcx + 8], 0
jne 0x1400d69ec
cmp rcx, r11
je 0x1400d6873
mov rax, qword [r8 + 0x10]
cmp rcx, r10
jne 0x1400d6842
mov r10, rax
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x1400d684f
mov qword [rdx + 0x10], rax
mov rdx, qword [r8 + 0x10]
test rdx, rdx
je 0x1400d6860
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 0x1400d69ec
cmp edi, 4
jne 0x1400d68d9
cmp dword [rcx + 8], 0
je 0x1400d69ec
cmp rcx, r11
je 0x1400d69ec
mov rax, qword [r8 + 0x10]
cmp rcx, r10
jne 0x1400d68a3
mov r10, rax
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x1400d68b0
mov qword [rdx + 0x10], rax
mov rdx, qword [r8 + 0x10]
test rdx, rdx
je 0x1400d68c1
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 0x1400d69ec
cmp edi, 3
jne 0x1400d693a
cmp dword [rcx + 8], 0
je 0x1400d69ec
cmp rcx, r10
je 0x1400d6930
mov rax, qword [r8 + 0x18]
cmp rcx, r11
jne 0x1400d68f9
mov r11, rax
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x1400d6906
mov qword [rdx + 0x18], rax
mov rdx, qword [r8 + 0x18]
test rdx, rdx
je 0x1400d6917
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 0x1400d69ec
xor eax, eax
mov dword [rcx + 8], eax
jmp 0x1400d69ec
cmp edi, 6
jne 0x1400d6991
cmp dword [rcx + 8], 0
je 0x1400d69ec
cmp rcx, r10
je 0x1400d69ec
mov rax, qword [r8 + 0x18]
cmp rcx, r11
jne 0x1400d695e
mov r11, rax
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x1400d696b
mov qword [rdx + 0x18], rax
mov rdx, qword [r8 + 0x18]
test rdx, rdx
je 0x1400d697c
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 0x1400d69ec
cmp edi, 2
jne 0x1400d69ec
mov rdx, qword [r9 + 0x10]
cmp r10, rcx
jne 0x1400d69a8
mov r10, rdx
add r8, 0x18
jmp 0x1400d69b8
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 0x1400d69c3
mov r11, rax
mov dword [rcx + 8], 0
test rdx, rdx
je 0x1400d69d3
mov qword [rdx + 0x18], rax
mov rdx, qword [r8]
test rdx, rdx
je 0x1400d69e3
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 0x1400d6760
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