Function at 0x14013c030
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 0x14013c29c
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 0x14013c23f
cmp byte [r15 + 0x10], bl
jne 0x14013c1b3
mov rax, qword [r15]
mov rdi, qword [r15 + 8]
mov ecx, dword [rax + 0x30]
bt rcx, 0x19
jae 0x14013c0bb
mov rax, qword [rdi]
cmp byte [rax + 0x12], bl
jne 0x14013c0bb
and word [rdi + 0x28], dx
mov eax, 0xffef
and ax, word [rdi + 0x28]
mov word [rdi + 0x28], ax
cmp dword [rdi + 0x40], ebx
jne 0x14013c0d5
or ax, 0x10
mov word [rdi + 0x28], ax
lea r14, [rdi + 0x24]
nop dword [rax]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
jne 0x14013c105
mov rcx, rdi
call fcn.1400d8ae0
lea r14, [rdi + 0x24]
mov ebx, eax
test eax, eax
je 0x14013c0e0
mov rcx, qword [rdi + 0x18]
lea r14, [rdi + 0x24]
jmp 0x14013c109
test ebx, ebx
je 0x14013c184
cmp byte [r14], 0
jne 0x14013c13e
test rcx, rcx
je 0x14013c13e
mov qword [rdi + 0x18], 0
mov rcx, qword [rcx + 0x70]
mov rsi, qword [rcx + 0x28]
call fcn.1400c82b0
mov rax, qword [rsi + 0x120]
cmp dword [rax + 0x18], 0
jne 0x14013c13e
mov rcx, rsi
call fcn.1400cbf00
cmp bl, 5
jne 0x14013c17c
cmp byte [r14], 0
jne 0x14013c17c
mov rsi, qword [rdi + 8]
add rsi, 0x268
mov rax, qword [rsi]
test rax, rax
je 0x14013c17c
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x14013c17c
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x14013c175
inc dword [rsi + 0x10]
jmp 0x14013c0e0
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x14013c25d
cmp byte [r15 + 0x10], 0
jne 0x14013c18e
inc dword [rdi + 0x3c]
mov byte [r15 + 0x10], 1
cmp byte [r14], 1
jae 0x14013c19d
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 0x14013c1e9
test byte [rdx + 0x72], 1
je 0x14013c1df
mov dword [r8 + 0x18], 0x11
mov edx, edi
mov rcx, r13
call fcn.140117f80
test ebx, ebx
je 0x14013c235
xor eax, eax
cmp byte [r15 + 0x10], 2
jne 0x14013c227
mov rbx, qword [r15 + 8]
cmp byte [rbx + 0x21], al
je 0x14013c20b
mov rcx, r15
call fcn.1400d9b50
test eax, eax
jne 0x14013c235
cmp byte [rbx + 0x23], 0
je 0x14013c21a
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.1400d0810
test eax, eax
jne 0x14013c235
xor edx, edx
mov rcx, r15
call fcn.1400d9e80
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 0x14013c080
jmp 0x14013c27e
cmp ebx, 7
je 0x14013c26a
cmp ebx, 0xc0a
jne 0x14013c27e
mov rcx, r13
call fcn.1400b99d0
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