Function at 0x14000c3b8
Capabilities:
Resolve path using msvcrt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1778]
mov eax, 0x1850
call fcn.140013140
sub rsp, rax
mov rax, qword [0x14005b018]
xor rax, rsp
mov qword [rbp + 0x1740], rax
xor r14d, r14d
lea rcx, [rsp + 0x20]
mov ebx, r14d
call fcn.14000be70
xor edx, edx
mov word [rsp + 0x40], r14w
mov r8d, 0x1000
lea rcx, [0x14002ff88]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r15d, 0x400
test rax, rax
je 0x14000c43e
mov r8d, r15d
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, eax
or rsi, 0xffffffffffffffff
mov word [rbp + 0x740], r14w
cmp dword [0x14005f324], r14d
jne 0x140021c90
cmp dword [0x14005f324], r14d
mov word [rbp + 0xf40], r14w
jne 0x140021d00
cmp qword [0x14005f3d0], r14
lea rcx, [0x14005e2c0]
jne 0x14000c4a9
cmp dword [0x14005da88], r14d
jne 0x140021d63
mov word [0x14005e2c0], r14w
call fcn.1400021ec
mov qword [0x14005f3d0], rax
test rax, rax
je 0x14000c4bb
lea rcx, [0x14005e2c0]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14000c4ac
cmp eax, ebx
cmovg ebx, eax
mov ecx, 0x6e
call fcn.14000c774
mov r14d, 2
mov rdx, rax
mov ecx, r14d
call fcn.140007ecc
xor ecx, ecx
lea r12, [0x14005b090]
lea r15d, [r14 + 0x10]
mov rdi, r12
lea r13, [0x14005b080]
mov qword [rsp + 0x30], r15
lea eax, [rcx + 1]
cmp qword [rdi - 0x10], rcx
je 0x14000c726
cmp dword [0x14005f324], ecx
jne 0x14000c524
movzx edx, word [rdi]
lea rcx, [0x14002fe3c]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
xor ecx, ecx
test rax, rax
jne 0x14000c58d
cmp word [rdi], 0x5a
je 0x14000c58d
cmp dword [0x140061400], ecx
jne 0x14000c543
movzx edx, word [rdi]
lea rcx, str.3QWX
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
xor ecx, ecx
test rax, rax
jne 0x14000c58d
cmp word [rdi], 0x42
je 0x14000c58d
cmp dword [0x140060ae0], ecx
jne 0x14000c557
cmp word [rdi], 0x45
je 0x14000c58d
mov rcx, qword [0x14005c218]
mov qword [rcx + 0x10], r13
call fcn.140007fa8
mov r15, qword [rdi - 0x10]
xor ecx, ecx
test r15, r15
je 0x140021dc6
mov rax, rsi
inc rax
cmp word [r15 + rax*2], cx
jne 0x14000c579
mov r15, qword [rsp + 0x30]
cmp eax, ebx
cmovg ebx, eax
mov eax, 1
add r13, 0x40
add rdi, 0x40
sub r15, rax
mov qword [rsp + 0x30], r15
jne 0x14000c4f5
mov r13d, 0x88
mov ecx, r13d
call fcn.14000c774
mov rcx, rsi
xor r15d, r15d
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14000c5bc
cmp ecx, ebx
jg 0x140021dd6
mov edi, 0x12
lea eax, [rdi - 0x11]
cmp qword [r12 - 0x10], r15
je 0x14000c74c
cmp dword [0x14005f324], r15d
jne 0x14000c609
movzx edx, word [r12]
lea rcx, [0x14002fe3c]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
jne 0x14000c66d
cmp word [r12], 0x5a
je 0x14000c66d
cmp dword [0x140061400], r15d
jne 0x14000c629
movzx edx, word [r12]
lea rcx, str.3QWX
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
jne 0x14000c66d
movzx eax, word [r12]
mov ecx, 1
sub ax, 0x55
cmp ax, cx
jbe 0x14000c71e
cmp word [r12], 0x42
je 0x14000c71e
cmp dword [0x140060ae0], r15d
jne 0x14000c661
cmp word [r12], 0x45
je 0x14000c71e
mov rcx, qword [r12 - 0x10]
mov edx, ebx
call fcn.14000926c
mov eax, 1
add r12, 0x40
sub rdi, rax
jne 0x14000c5d6
cmp word [rsp + 0x40], r15w
je 0x14000c693
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.14000926c
cmp word [rbp + 0x740], r15w
jne 0x140021df0
cmp word [rbp + 0xf40], r15w
jne 0x140021e04
cmp word [0x14005e2c0], r15w
je 0x14000c6c7
mov edx, ebx
lea rcx, [0x14005e2c0]
call fcn.14000926c
cmp dword [0x14005f2e0], r15d
jne 0x140021e18
lea rdx, [0x14002ff84]
mov ecx, r14d
call fcn.140007ecc
cmp byte [rsp + 0x20], r15b
jne 0x140021ea3
mov rcx, qword [rbp + 0x1740]
xor rcx, rsp
call fcn.140011450
lea r11, [rsp + 0x1850]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, rcx
jmp 0x14000c672
cmp word [rdi], 0x44
jne 0x14000c592
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__get_wpgmptr]
mov r15, qword [rsp + 0x28]
xor ecx, ecx
jmp 0x14000c576
cmp word [r12], 0x44
jne 0x14000c672
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__get_wpgmptr]
mov rcx, qword [rsp + 0x30]
jmp 0x14000c666
cmp dword [0x140061404], r14d
jne 0x14000c457
mov rcx, qword [0x14005c218]
lea r8, [rsp + 0x28]
lea rdx, str.mspft140.dll
mov rcx, qword [rcx + 0x48]
call fcn.14000f034
mov rdi, rax
cmp dword [rsp + 0x28], r14d
je 0x140021ce8
mov r8, rax
lea rcx, [rbp + 0x740]
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rcx, rsi
inc rcx
cmp word [rdi + rcx*2], r14w
jne 0x140021cd9
cmp ecx, ebx
cmovg ebx, ecx
test rdi, rdi
je 0x14000c457
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
jmp 0x14000c457
mov rcx, qword [0x14005c218]
lea r8, [rsp + 0x28]
lea rdx, str.NativeCodeAnalysis.dll
mov rcx, qword [rcx + 0x48]
call fcn.14000f034
mov rdi, rax
cmp dword [rsp + 0x28], r14d
je 0x140021d4b
mov r8, rax
lea rcx, [rbp + 0xf40]
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rcx, rsi
inc rcx
cmp word [rdi + rcx*2], r14w
jne 0x140021d3c
cmp ecx, ebx
cmovg ebx, ecx
test rdi, rdi
je 0x14000c46c
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
jmp 0x14000c46c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140021d89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___doserrno]
mov eax, dword [rax]
test eax, eax
jne 0x140021d89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
test eax, eax
je 0x14000c489
jle 0x140021d93
movzx eax, ax
or eax, 0x80070000
cmp eax, 0x8007000e
je 0x140021da5
cmp eax, 0x80070008
jne 0x14000c489
mov r8d, 0x1c
lea rdx, [0x140039340]
lea ecx, [r8 - 0x1a]
call fcn.140006374
mov ecx, 4
call fcn.14000c8c0
int3
mov ecx, 0x1f6a
call fcn.14000c824
nop
jmp 0x14000c745
mov ecx, r13d
call fcn.14000c774
mov rbx, rsi
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x140021de1
jmp 0x14000c5ce
mov edx, ebx
lea rcx, [rbp + 0x740]
call fcn.14000926c
nop
jmp 0x14000c6a1
mov edx, ebx
lea rcx, [rbp + 0xf40]
call fcn.14000926c
nop
jmp 0x14000c6af
call fcn.14000cad4
mov ecx, r13d
call fcn.14000c774
mov r8, rax
lea rdx, str.__s:
mov ecx, r14d
call fcn.140007ecc
mov ecx, r13d
call fcn.14000c774
inc rsi
cmp word [rax + rsi*2], r15w
jne 0x140021e3f
cmp esi, ebx
jge 0x140021e6c
sub ebx, esi
mov r15d, 1
lea rdx, [0x14002ff20]
mov ecx, r14d
call fcn.140007ecc
sub rbx, r15
jne 0x140021e55
xor r15d, r15d
cmp dword [0x140060af0], r15d
mov ecx, r14d
je 0x140021e8a
lea rdx, str.Version_.NET_Core
call fcn.140007ecc
nop
jmp 0x14000c6d4
lea r8, [0x14005daa0]
lea rdx, str.Version___s__n
call fcn.140007ecc
nop
jmp 0x14000c6d4
mov rcx, qword [0x14005f420]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop
jmp 0x14000c6ee