Function at 0x14013c9d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r12
push r13
mov eax, 0x18
call fcn.14015cbf0
sub rsp, rax
mov r10d, dword [rsp + 0x78]
xor r12d, r12d
mov r13d, r9d
cmp r10d, 3
je 0x14013ca03
cmp r10d, 6
jne 0x14013ca09
mov r12d, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov r8, qword [rdi]
mov r9, qword [rsi]
test r12d, r12d
je 0x14013ca2c
mov r11, r9
mov rax, r8
jmp 0x14013ca32
mov r11, r8
mov rax, r9
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14013cd17
mov qword [rsp + 0x40], rbx
mov rcx, rax
mov ebx, dword [rsp + 0x70]
mov qword [rsp + 0x10], rbp
mov ebp, dword [rsp + 0x80]
mov qword [rsp + 8], r14
mov r14d, dword [rsp + 0x68]
mov qword [rsp], r15
mov r15d, dword [rsp + 0x60]
nop
mov rax, r11
test r11, r11
je 0x14013ccf3
test r12d, r12d
je 0x14013ca87
mov r11, qword [r11 + 0x18]
jmp 0x14013ca8b
mov r11, qword [r11 + 0x10]
mov rdx, qword [rax]
test ebp, ebp
js 0x14013ca9d
cmp ebp, dword [rdx + 0x3c]
jne 0x14013ccea
jmp 0x14013cb12
mov ecx, dword [rsp + 0x48]
test ecx, ecx
je 0x14013caae
test dword [rdx + 0x14], ecx
je 0x14013cce2
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x14013cabf
test dword [rdx + 0x18], ecx
je 0x14013cce2
test r13d, r13d
je 0x14013cace
test dword [rdx + 0x1c], r13d
je 0x14013cce2
test r15d, r15d
je 0x14013cadd
test dword [rdx + 0x20], r15d
je 0x14013cce2
test r14d, r14d
je 0x14013caec
cmp r14d, dword [rdx + 0x24]
jne 0x14013cce2
test bl, 0x1f
je 0x14013caff
mov ecx, dword [rdx + 0x34]
and ecx, ebx
test cl, 0x1f
je 0x14013cce2
test bl, 0x20
je 0x14013cb12
mov ecx, dword [rdx + 0x34]
and ecx, ebx
test cl, 0x20
je 0x14013cce2
cmp r10d, 1
jne 0x14013cb71
cmp dword [rax + 8], 0
jne 0x14013cce2
cmp rax, r9
je 0x14013cb65
cmp rax, r8
jne 0x14013cb30
mov r8, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14013cb41
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14013cb52
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 0x14013cce2
cmp r10d, 4
jne 0x14013cbcd
cmp dword [rax + 8], 0
je 0x14013cce2
cmp rax, r9
je 0x14013cce2
cmp rax, r8
jne 0x14013cb93
mov r8, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14013cba4
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14013cbb5
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 0x14013cce2
cmp r10d, 3
jne 0x14013cc30
cmp dword [rax + 8], 0
je 0x14013cce2
cmp rax, r8
je 0x14013cc26
cmp rax, r9
jne 0x14013cbeb
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14013cbfc
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14013cc0d
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [r8 + 0x18], rax
xor edx, edx
mov qword [rax + 0x10], r8
mov r8, rax
mov qword [rax + 0x18], rdx
mov dword [rax + 8], edx
jmp 0x14013cce2
xor edx, edx
mov dword [rax + 8], edx
jmp 0x14013cce2
cmp r10d, 6
jne 0x14013cc89
cmp dword [rax + 8], 0
je 0x14013cce2
cmp rax, r8
je 0x14013cce2
cmp rax, r9
jne 0x14013cc52
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14013cc63
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14013cc74
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [r8 + 0x18], rax
mov qword [rax + 0x10], r8
mov r8, rax
mov qword [rax + 0x18], 0
jmp 0x14013cce2
cmp r10d, 2
jne 0x14013cce2
cmp r8, rax
jne 0x14013cc9a
mov r8, qword [rax + 0x10]
jmp 0x14013cca6
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
cmp r9, rax
jne 0x14013ccaf
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov dword [rax + 8], 0
test rdx, rdx
je 0x14013ccc7
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14013ccd8
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
xor edx, edx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov rcx, qword [rsp + 0x88]
cmp rax, rcx
jne 0x14013ca70
mov r14, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp]
mov qword [rdi], r8
mov qword [rsi], r9
add rsp, 0x18
pop r13
pop r12
pop rdi
pop rsi
ret
mov qword [rdi], r8
mov qword [rsi], r9
add rsp, 0x18
pop r13
pop r12
pop rdi
pop rsi
ret