Function at 0x1401949a0
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.14035bd30
sub rsp, rax
mov edi, dword [rsp + 0x88]
xor eax, eax
mov r13d, ecx
cmp edi, 3
je 0x1401949df
xor edx, edx
mov qword [rsp], rdx
cmp edi, 6
jne 0x1401949ea
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 0x140194cfb
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 0x140194cd9
test rdx, rdx
je 0x140194a5d
mov rbx, qword [rbx + 0x18]
jmp 0x140194a61
mov rbx, qword [rbx + 0x10]
mov rdx, qword [rcx]
test r12d, r12d
js 0x140194a78
cmp r12d, dword [rdx + 0x44]
jne 0x140194ccc
jmp 0x140194b02
test r13d, r13d
je 0x140194a87
cmp r13d, dword [rdx + 0x18]
jne 0x140194ccc
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x140194a98
test dword [rdx + 0x1c], eax
je 0x140194ccc
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140194aa9
test dword [rdx + 0x20], eax
je 0x140194ccc
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140194aba
test dword [rdx + 0x24], eax
je 0x140194ccc
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140194acb
test dword [rdx + 0x28], eax
je 0x140194ccc
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x140194adc
cmp eax, dword [rdx + 0x2c]
jne 0x140194ccc
test sil, 0x1f
je 0x140194aef
mov eax, dword [rdx + 0x3c]
and eax, esi
test al, 0x1f
je 0x140194ccc
test sil, 0x20
je 0x140194b02
mov eax, dword [rdx + 0x3c]
and eax, esi
test al, 0x20
je 0x140194ccc
cmp edi, 1
jne 0x140194b5f
cmp dword [rcx + 8], 0
jne 0x140194ccc
cmp rcx, r11
je 0x140194b53
mov rax, qword [r8 + 0x10]
cmp rcx, r10
jne 0x140194b22
mov r10, rax
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x140194b2f
mov qword [rdx + 0x10], rax
mov rdx, qword [r8 + 0x10]
test rdx, rdx
je 0x140194b40
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 0x140194ccc
cmp edi, 4
jne 0x140194bb9
cmp dword [rcx + 8], 0
je 0x140194ccc
cmp rcx, r11
je 0x140194ccc
mov rax, qword [r8 + 0x10]
cmp rcx, r10
jne 0x140194b83
mov r10, rax
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x140194b90
mov qword [rdx + 0x10], rax
mov rdx, qword [r8 + 0x10]
test rdx, rdx
je 0x140194ba1
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 0x140194ccc
cmp edi, 3
jne 0x140194c1a
cmp dword [rcx + 8], 0
je 0x140194ccc
cmp rcx, r10
je 0x140194c10
mov rax, qword [r8 + 0x18]
cmp rcx, r11
jne 0x140194bd9
mov r11, rax
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x140194be6
mov qword [rdx + 0x18], rax
mov rdx, qword [r8 + 0x18]
test rdx, rdx
je 0x140194bf7
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 0x140194ccc
xor eax, eax
mov dword [rcx + 8], eax
jmp 0x140194ccc
cmp edi, 6
jne 0x140194c71
cmp dword [rcx + 8], 0
je 0x140194ccc
cmp rcx, r10
je 0x140194ccc
mov rax, qword [r8 + 0x18]
cmp rcx, r11
jne 0x140194c3e
mov r11, rax
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x140194c4b
mov qword [rdx + 0x18], rax
mov rdx, qword [r8 + 0x18]
test rdx, rdx
je 0x140194c5c
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 0x140194ccc
cmp edi, 2
jne 0x140194ccc
mov rdx, qword [r9 + 0x10]
cmp r10, rcx
jne 0x140194c88
mov r10, rdx
add r8, 0x18
jmp 0x140194c98
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 0x140194ca3
mov r11, rax
mov dword [rcx + 8], 0
test rdx, rdx
je 0x140194cb3
mov qword [rdx + 0x18], rax
mov rdx, qword [r8]
test rdx, rdx
je 0x140194cc3
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 0x140194a40
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