Function at 0x140002c50
Capabilities:
Resolve path using msvcrt

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
xor r14d, r14d
mov rbx, rcx
cmp dword [0x14005f438], r14d
je 0x140002c8c
call fcn.140008ca4
test eax, eax
je 0x140002c8c
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [0x14005c218]
mov esi, r14d
mov dword [rbp + 0x38], r14d
mov r8d, r14d
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x140002c7b
movsxd rax, dword [rdx + 0x28]
inc esi
lea rcx, [rax + rax*2]
lea rax, [0x140043828]
cmp dword [rax + rcx*8], r14d
jne 0x140002cc4
inc r8d
mov dword [rbp + 0x38], r8d
mov rdx, qword [rdx]
test rdx, rdx
jne 0x140002ca6
test esi, esi
je 0x140002c7b
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 8]
mov rcx, rdi
mov dword [rbp + 0x40], 0x1080b
cmp rdx, qword [rbx + 0x18]
jne 0x140002e60
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x40]
call fcn.14000e920
sub esi, dword [rbp + 0x38]
mov rcx, rdi
mov rdx, qword [rbx + 0x10]
mov dword [rbp + 0x40], esi
mov dword [rbp + 0x48], 0x1080c
cmp rdx, qword [rbx + 0x18]
jne 0x140002e72
lea r9, [rbp + 0x40]
lea r8, [rbp + 0x48]
call fcn.14000e920
mov rdx, qword [rbx + 0x10]
mov esi, 3
mov eax, 0x1080f
mov dword [rbp + 0x40], eax
lea r15d, [rsi + 4]
cmp rdx, qword [rbx + 0x18]
jne 0x14001f3dc
lea r9, [0x14002fc30]
mov rcx, rdi
lea r8, [rbp + 0x40]
call fcn.14000e7d8
mov rdx, qword [rbx + 0x10]
mov eax, 0x1080e
mov dword [rbp + 0x40], eax
cmp rdx, qword [rbx + 0x18]
jne 0x14001f40e
lea r9, [0x14002fc28]
mov rcx, rdi
lea r8, [rbp + 0x40]
call fcn.14000e7d8
mov rdx, qword [rbx + 0x10]
test byte [0x1400614c0], 2
jne 0x14001f440
mov eax, 0x1080a
mov dword [rbp + 0x40], eax
cmp rdx, qword [rbx + 0x18]
jne 0x14001f49f
lea r9, [0x14005b950]
mov rcx, rdi
lea r8, [rbp + 0x40]
call fcn.14000e530
lea rcx, [rbp + 0x48]
mov dword [rbp + 0x40], r14d
mov qword [rbp + 0x48], r14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__get_wpgmptr]
mov rcx, qword [rbp + 0x48]
call fcn.140002a24
mov rcx, rax
lea r8, [rbp + 0x40]
lea rdx, str.cl.exe
call fcn.140002b04
mov rsi, rax
lea rax, str.0.00.0000.0
mov qword [rbp - 0x10], rax
cmp dword [rbp + 0x40], r14d
je 0x140002e03
mov rcx, rsi
call fcn.1400040dc
mov qword [rbp - 0x10], rax
mov rdx, qword [rbx + 0x10]
mov ecx, 0x1080d
mov dword [rbp + 0x40], ecx
cmp rdx, qword [rbx + 0x18]
je 0x14001f4c6
mov dword [rdx], ecx
or r8, 0xffffffffffffffff
lea rcx, [rdx + 8]
mov qword [rcx], r14
mov qword [rcx + 0x10], r14
mov word [rcx], r14w
mov qword [rcx + 0x18], r15
inc r8
cmp word [rax + r8*2], r14w
jne 0x140002e32
mov rdx, rax
call fcn.14000eb44
add qword [rdi + 8], 0x28
test rsi, rsi
je 0x140002c7b
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002c7b
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x40]
call fcn.14000e2ac
jmp 0x140002cf9
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
call fcn.14000e2ac
jmp 0x140002d24
lea rcx, [rdx + 8]
mov dword [rdx], eax
mov qword [rcx], r14
lea rdx, [0x14002fc30]
mov qword [rcx + 0x10], r14
mov r8, rsi
mov word [rcx], r14w
mov qword [rcx + 0x18], r15
call fcn.14000eb44
add qword [rdi + 8], 0x28
mov rdx, qword [rdi + 8]
jmp 0x140002d5a
lea rcx, [rdx + 8]
mov dword [rdx], eax
mov qword [rcx], r14
lea rdx, [0x14002fc28]
mov qword [rcx + 0x10], r14
mov r8, rsi
mov word [rcx], r14w
mov qword [rcx + 0x18], r15
call fcn.14000eb44
add qword [rdi + 8], 0x28
mov rdx, qword [rdi + 8]
jmp 0x140002d83
mov eax, 0x10810
mov dword [rbp + 0x40], eax
cmp rdx, qword [rbx + 0x18]
je 0x14001f483
lea rcx, [rdx + 8]
mov dword [rdx], eax
mov qword [rcx], r14
lea rdx, str.true
mov qword [rcx + 0x10], r14
mov r8d, 4
mov word [rcx], r14w
mov qword [rcx + 0x18], r15
call fcn.14000eb44
add qword [rdi + 8], 0x28
mov rdx, qword [rdi + 8]
jmp 0x140002d90
lea r9, str.true
mov rcx, rdi
lea r8, [rbp + 0x40]
call fcn.140023ab8
mov rdx, qword [rbx + 0x10]
jmp 0x140002d90
lea rcx, [rdx + 8]
mov dword [rdx], eax
mov qword [rcx], r14
lea rdx, [0x14005b950]
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], r14
call fcn.14000f690
add qword [rdi + 8], 0x28
jmp 0x140002db5
lea r9, [rbp - 0x10]
mov rcx, rdi
lea r8, [rbp + 0x40]
call fcn.14002391c
nop
jmp 0x140002e49