Function at 0x1403c94f0
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.14038ab90
sub rsp, rax
mov edi, dword [rsp + 0x88]
xor eax, eax
mov r13d, ecx
cmp edi, 3
je 0x1403c952f
xor edx, edx
mov qword [rsp], rdx
cmp edi, 6
jne 0x1403c953a
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 0x1403c984b
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 0x1403c9829
test rdx, rdx
je 0x1403c95ad
mov rbx, qword [rbx + 0x18]
jmp 0x1403c95b1
mov rbx, qword [rbx + 0x10]
mov rdx, qword [rcx]
test r12d, r12d
js 0x1403c95c8
cmp r12d, dword [rdx + 0x44]
jne 0x1403c981c
jmp 0x1403c9652
test r13d, r13d
je 0x1403c95d7
cmp r13d, dword [rdx + 0x18]
jne 0x1403c981c
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1403c95e8
test dword [rdx + 0x1c], eax
je 0x1403c981c
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1403c95f9
test dword [rdx + 0x20], eax
je 0x1403c981c
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x1403c960a
test dword [rdx + 0x24], eax
je 0x1403c981c
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1403c961b
test dword [rdx + 0x28], eax
je 0x1403c981c
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x1403c962c
cmp eax, dword [rdx + 0x2c]
jne 0x1403c981c
test sil, 0x1f
je 0x1403c963f
mov eax, dword [rdx + 0x3c]
and eax, esi
test al, 0x1f
je 0x1403c981c
test sil, 0x20
je 0x1403c9652
mov eax, dword [rdx + 0x3c]
and eax, esi
test al, 0x20
je 0x1403c981c
cmp edi, 1
jne 0x1403c96af
cmp dword [rcx + 8], 0
jne 0x1403c981c
cmp rcx, r11
je 0x1403c96a3
mov rax, qword [r8 + 0x10]
cmp rcx, r10
jne 0x1403c9672
mov r10, rax
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x1403c967f
mov qword [rdx + 0x10], rax
mov rdx, qword [r8 + 0x10]
test rdx, rdx
je 0x1403c9690
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 0x1403c981c
cmp edi, 4
jne 0x1403c9709
cmp dword [rcx + 8], 0
je 0x1403c981c
cmp rcx, r11
je 0x1403c981c
mov rax, qword [r8 + 0x10]
cmp rcx, r10
jne 0x1403c96d3
mov r10, rax
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x1403c96e0
mov qword [rdx + 0x10], rax
mov rdx, qword [r8 + 0x10]
test rdx, rdx
je 0x1403c96f1
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 0x1403c981c
cmp edi, 3
jne 0x1403c976a
cmp dword [rcx + 8], 0
je 0x1403c981c
cmp rcx, r10
je 0x1403c9760
mov rax, qword [r8 + 0x18]
cmp rcx, r11
jne 0x1403c9729
mov r11, rax
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x1403c9736
mov qword [rdx + 0x18], rax
mov rdx, qword [r8 + 0x18]
test rdx, rdx
je 0x1403c9747
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 0x1403c981c
xor eax, eax
mov dword [rcx + 8], eax
jmp 0x1403c981c
cmp edi, 6
jne 0x1403c97c1
cmp dword [rcx + 8], 0
je 0x1403c981c
cmp rcx, r10
je 0x1403c981c
mov rax, qword [r8 + 0x18]
cmp rcx, r11
jne 0x1403c978e
mov r11, rax
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x1403c979b
mov qword [rdx + 0x18], rax
mov rdx, qword [r8 + 0x18]
test rdx, rdx
je 0x1403c97ac
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 0x1403c981c
cmp edi, 2
jne 0x1403c981c
mov rdx, qword [r9 + 0x10]
cmp r10, rcx
jne 0x1403c97d8
mov r10, rdx
add r8, 0x18
jmp 0x1403c97e8
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 0x1403c97f3
mov r11, rax
mov dword [rcx + 8], 0
test rdx, rdx
je 0x1403c9803
mov qword [rdx + 0x18], rax
mov rdx, qword [r8]
test rdx, rdx
je 0x1403c9813
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 0x1403c9590
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