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

Disassembly:
mov r11, rsp
push rbx
push rsi
sub rsp, 0x58
mov rdx, qword [rcx + 0x1b8]
mov rsi, rcx
mov rax, qword [rcx]
mov rbx, qword [rcx + 0x10]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rdx
test rdx, rdx
je 0x14013a8be
mov qword [r11 + 0x18], rbp
xor ebp, ebp
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
nop word [rax + rax]
movsxd rcx, dword [rdx + 0x10]
mov r13d, dword [rdx + 0x14]
shl rcx, 5
add rcx, qword [rax + 0x20]
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x14013a531
inc dword [rsi + 0x54]
mov r15d, dword [rsi + 0x54]
jmp 0x14013a53e
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov r15d, dword [rsi + rax*4 + 0x24]
mov rax, qword [rcx + 0x18]
mov r14, qword [rsi + 0x10]
mov r12d, dword [rdx + 0x10]
mov rdi, qword [rax + 0x68]
test r14, r14
jne 0x14013a595
mov rcx, rsi
call fcn.1401684d0
mov qword [rsi + 0x10], rax
mov r14, rax
test rax, rax
je 0x14013a57e
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov edx, 0x9e
mov rcx, rax
call fcn.140167a30
cmp qword [rsi + 0x1c0], 0
jne 0x14013a595
mov rax, qword [rsi]
test byte [rax + 0x4c], 8
jne 0x14013a595
mov byte [rsi + 0x23], 1
mov rax, qword [rdi]
mov r9b, 1
mov r8d, dword [rdi + 0x38]
mov edx, r12d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140163930
test byte [rdi + 0x46], 0x20
jne 0x14013a62b
mov r9d, dword [rdi + 0x38]
xor r8d, r8d
movsx rbp, word [rdi + 0x3e]
mov rcx, r14
mov dword [rsp + 0x20], r12d
lea edx, [r8 + 0x37]
call fcn.140167a30
mov r8, qword [r14 + 8]
mov rcx, qword [r14]
test r8, r8
je 0x14013a61a
cmp byte [rcx + 0x51], 0
jne 0x14013a61a
test eax, eax
jns 0x14013a5ee
mov eax, dword [r14 + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.1401255e0
mov qword [rdi + 0x10], 0
mov dword [rdi + 0x10], ebp
xor ebp, ebp
mov byte [rdi + 1], 0xf2
jmp 0x14013a669
mov r8, rbp
mov edx, 0xfffffff2
call fcn.1401255e0
xor ebp, ebp
jmp 0x14013a669
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x14013a646
mov eax, dword [rdi + 0x5c]
and al, 3
cmp al, 2
je 0x14013a646
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x14013a634
mov r9d, dword [rdi + 0x50]
xor r8d, r8d
mov rcx, r14
mov dword [rsp + 0x20], r12d
lea edx, [r8 + 0x37]
call fcn.140167a30
mov rdx, rdi
mov rcx, rsi
call fcn.140172940
movsxd rdi, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
mov ecx, edi
cmp dword [rax + 0x60], edi
jg 0x14013a697
mov edx, 1
mov rcx, rbx
call fcn.140127a10
test eax, eax
je 0x14013a694
mov edi, 1
lea r14d, [r13 + 1]
jmp 0x14013a6c7
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rdi + rdi*2]
mov rax, qword [rbx + 8]
lea r14d, [r13 + 1]
mov word [rax + rcx*8], 0x4d
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r14d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
movsxd rbp, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
mov ecx, ebp
cmp dword [rax + 0x60], ebp
jg 0x14013a6ea
mov edx, 1
mov rcx, rbx
call fcn.140127a10
test eax, eax
jne 0x14013a720
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 8]
add rcx, rbp
xor ebp, ebp
mov word [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
jmp 0x14013a722
xor ebp, ebp
mov edx, dword [rbx + 0x3c]
cmp edx, edi
jbe 0x14013a73a
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
movsxd rdi, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
mov ecx, edi
cmp dword [rax + 0x60], edi
jg 0x14013a767
mov edx, 1
mov rcx, rbx
call fcn.140127a10
test eax, eax
jne 0x14013a79b
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rdi + rdi*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], PathResolve
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], 2
lea rdx, [rax + rcx*8]
lea eax, [r13 - 1]
mov dword [rdx + 0xc], r15d
mov dword [rdx + 4], eax
mov qword [rdx + 0x10], rbp
movsxd rdi, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
mov ecx, edi
cmp dword [rax + 0x60], edi
jg 0x14013a7be
mov edx, 1
mov rcx, rbx
call fcn.140127a10
test eax, eax
jne 0x14013a7ea
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rdi + rdi*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x54
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], rbp
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14013a800
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x14013a81e
mov edx, 1
mov rcx, rbx
call fcn.140127a10
test eax, eax
jne 0x14013a846
mov rax, qword [rbx + 8]
lea rcx, [rdi + rdi*2]
inc dword [rbx + 0x3c]
mov word [rax + rcx*8], 0x3d
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
test r15d, r15d
je 0x14013a882
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x14013a882
mov ecx, ebp
lea rax, [rsi + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], r15d
je 0x14013a87e
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x14013a860
movzx eax, dl
mov dword [rsi + rax*4 + 0x24], r15d
inc byte [rsi + 0x1f]
jmp 0x14013a882
mov byte [rax + 6], 1
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rdx]
mov qword [rsp + 0x70], rdx
test rdx, rdx
jne 0x14013a510
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x80]
add rsp, 0x58
pop rsi
pop rbx
ret