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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r13
sub rsp, 0x58
mov r13, qword [rcx]
xor edi, edi
mov r8, rcx
mov dword [rsp + 0x78], edi
cmp dword [r13 + 0x28], edi
jle 0x14013c25c
mov qword [rax - 0x18], rbx
mov edx, 0xfffe
mov qword [rax - 0x20], rbp
mov qword [rax - 0x28], rsi
xor esi, esi
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
mov qword [rsp + 0x88], rsi
mov qword [rax - 0x30], r12
nop dword [rax + rax]
mov rax, qword [r13 + 0x20]
xor ebx, ebx
mov r15, qword [rsi + rax + 8]
test r15, r15
je 0x14013c1ff
cmp byte [r15 + 0x10], bl
jne 0x14013c173
mov rax, qword [r15]
mov rdi, qword [r15 + 8]
mov ecx, dword [rax + 0x30]
bt rcx, 0x19
jae 0x14013c07b
mov rax, qword [rdi]
cmp byte [rax + 0x12], bl
jne 0x14013c07b
and word [rdi + 0x28], dx
mov eax, 0xffef
and ax, word [rdi + 0x28]
mov word [rdi + 0x28], ax
cmp dword [rdi + 0x40], ebx
jne 0x14013c095
or ax, 0x10
mov word [rdi + 0x28], ax
lea r14, [rdi + 0x24]
nop dword [rax]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
jne 0x14013c0c5
mov rcx, rdi
call fcn.1400d8aa0
lea r14, [rdi + 0x24]
mov ebx, eax
test eax, eax
je 0x14013c0a0
mov rcx, qword [rdi + 0x18]
lea r14, [rdi + 0x24]
jmp 0x14013c0c9
test ebx, ebx
je 0x14013c144
cmp byte [r14], 0
jne 0x14013c0fe
test rcx, rcx
je 0x14013c0fe
mov qword [rdi + 0x18], 0
mov rcx, qword [rcx + 0x70]
mov rsi, qword [rcx + 0x28]
call fcn.1400c8270
mov rax, qword [rsi + 0x120]
cmp dword [rax + 0x18], 0
jne 0x14013c0fe
mov rcx, rsi
call fcn.1400cbec0
cmp bl, 5
jne 0x14013c13c
cmp byte [r14], 0
jne 0x14013c13c
mov rsi, qword [rdi + 8]
add rsi, 0x268
mov rax, qword [rsi]
test rax, rax
je 0x14013c13c
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x14013c13c
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x14013c135
inc dword [rsi + 0x10]
jmp 0x14013c0a0
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x14013c21d
cmp byte [r15 + 0x10], 0
jne 0x14013c14e
inc dword [rdi + 0x3c]
mov byte [r15 + 0x10], 1
cmp byte [r14], 1
jae 0x14013c15d
mov byte [r14], 1
mov edi, dword [rsp + 0x78]
mov ebx, 1
mov rsi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x70]
mov rax, qword [r13 + 0x20]
mov rdx, qword [rsi + rax + 0x18]
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax + 0x28]
bswap ecx
cmp ecx, dword [rdx]
je 0x14013c1a9
test byte [rdx + 0x72], 1
je 0x14013c19f
mov dword [r8 + 0x18], 0x11
mov edx, edi
mov rcx, r13
call fcn.140117f40
test ebx, ebx
je 0x14013c1f5
xor eax, eax
cmp byte [r15 + 0x10], 2
jne 0x14013c1e7
mov rbx, qword [r15 + 8]
cmp byte [rbx + 0x21], al
je 0x14013c1cb
mov rcx, r15
call fcn.1400d9b10
test eax, eax
jne 0x14013c1f5
cmp byte [rbx + 0x23], 0
je 0x14013c1da
mov rdx, qword [rbx]
mov eax, dword [rbx + 0x40]
mov dword [rdx + 0x20], eax
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call fcn.1400d07d0
test eax, eax
jne 0x14013c1f5
xor edx, edx
mov rcx, r15
call fcn.1400d9e40
mov r8, qword [rsp + 0x70]
mov edx, 0xfffe
inc edi
add rsi, 0x20
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x88], rsi
cmp edi, dword [r13 + 0x28]
jl 0x14013c040
jmp 0x14013c23e
cmp ebx, 7
je 0x14013c22a
cmp ebx, 0xc0a
jne 0x14013c23e
mov rcx, r13
call fcn.1400b9990
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x18], 7
mov r12, qword [rsp + 0x38]
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x28]
add rsp, 0x58
pop r13
pop rdi
ret