Function at 0x14013c1b0
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.14015c3d0
sub rsp, rax
mov r10d, dword [rsp + 0x78]
xor r12d, r12d
mov r13d, r9d
cmp r10d, 3
je 0x14013c1e3
cmp r10d, 6
jne 0x14013c1e9
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 0x14013c20c
mov r11, r9
mov rax, r8
jmp 0x14013c212
mov r11, r8
mov rax, r9
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14013c4f7
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 0x14013c4d3
test r12d, r12d
je 0x14013c267
mov r11, qword [r11 + 0x18]
jmp 0x14013c26b
mov r11, qword [r11 + 0x10]
mov rdx, qword [rax]
test ebp, ebp
js 0x14013c27d
cmp ebp, dword [rdx + 0x3c]
jne 0x14013c4ca
jmp 0x14013c2f2
mov ecx, dword [rsp + 0x48]
test ecx, ecx
je 0x14013c28e
test dword [rdx + 0x14], ecx
je 0x14013c4c2
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x14013c29f
test dword [rdx + 0x18], ecx
je 0x14013c4c2
test r13d, r13d
je 0x14013c2ae
test dword [rdx + 0x1c], r13d
je 0x14013c4c2
test r15d, r15d
je 0x14013c2bd
test dword [rdx + 0x20], r15d
je 0x14013c4c2
test r14d, r14d
je 0x14013c2cc
cmp r14d, dword [rdx + 0x24]
jne 0x14013c4c2
test bl, 0x1f
je 0x14013c2df
mov ecx, dword [rdx + 0x34]
and ecx, ebx
test cl, 0x1f
je 0x14013c4c2
test bl, 0x20
je 0x14013c2f2
mov ecx, dword [rdx + 0x34]
and ecx, ebx
test cl, 0x20
je 0x14013c4c2
cmp r10d, 1
jne 0x14013c351
cmp dword [rax + 8], 0
jne 0x14013c4c2
cmp rax, r9
je 0x14013c345
cmp rax, r8
jne 0x14013c310
mov r8, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14013c321
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14013c332
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 0x14013c4c2
cmp r10d, 4
jne 0x14013c3ad
cmp dword [rax + 8], 0
je 0x14013c4c2
cmp rax, r9
je 0x14013c4c2
cmp rax, r8
jne 0x14013c373
mov r8, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14013c384
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14013c395
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 0x14013c4c2
cmp r10d, 3
jne 0x14013c410
cmp dword [rax + 8], 0
je 0x14013c4c2
cmp rax, r8
je 0x14013c406
cmp rax, r9
jne 0x14013c3cb
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14013c3dc
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14013c3ed
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 0x14013c4c2
xor edx, edx
mov dword [rax + 8], edx
jmp 0x14013c4c2
cmp r10d, 6
jne 0x14013c469
cmp dword [rax + 8], 0
je 0x14013c4c2
cmp rax, r8
je 0x14013c4c2
cmp rax, r9
jne 0x14013c432
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14013c443
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14013c454
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 0x14013c4c2
cmp r10d, 2
jne 0x14013c4c2
cmp r8, rax
jne 0x14013c47a
mov r8, qword [rax + 0x10]
jmp 0x14013c486
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
cmp r9, rax
jne 0x14013c48f
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov dword [rax + 8], 0
test rdx, rdx
je 0x14013c4a7
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x14013c4b8
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 0x14013c250
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