Function at 0x140013748
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 - 0x1b8]
sub rsp, 0x290
mov rax, qword [0x14007cb88]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ecx, 0x16c0
call fcn.14002adb4
xor r12d, r12d
mov rdx, rax
test rax, rax
je 0x14001385c
mov rcx, qword [0x1400982e8]
mov r8d, 0x1000
or dword [rdx + 0x16b8], 0xffffffff
mov qword [rax], rcx
lea rcx, [rax + 0x1040]
mov qword [rax + 0x38], rcx
mov dword [rax + 0x1c], r8d
mov word [rax + 0x20], r12w
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
lea rax, [0x1400784d0]
mov qword [rcx], rax
lea rax, [rdx + 0x40]
mov qword [rcx + 8], rax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
lea rax, [0x1400784d0]
mov qword [rcx + 0x10], r8
lea rcx, [rdx + 0x1698]
mov qword [rcx], rax
lea rax, [rdx + 0x1098]
mov dword [rdx + 0x18], r8d
mov dword [rdx + 0x1074], r8d
mov r8d, 0x600
mov qword [rcx + 8], rax
mov qword [rdx + 0x1060], rax
mov qword [rdx + 0x1068], rax
mov qword [rdx + 0x1058], r12
mov word [rdx + 0x1078], r12w
mov qword [rdx + 0x1080], r12
mov qword [rdx + 0x1088], r12
mov qword [rdx + 0x1090], rcx
mov qword [rcx + 0x10], r8
mov dword [rdx + 0x1070], r8d
mov qword [rdx + 0x16b0], r12
jmp 0x14001385f
mov rdx, r12
lea rbx, [rdx + 8]
mov qword [0x140097cb8], rdx
mov rcx, rbx
mov edx, 4
call fcn.14000ee30
test al, al
je 0x140013885
xor edx, edx
mov rcx, rbx
call fcn.14000ee30
mov edi, 0x638
mov ecx, edi
call fcn.14002adb4
mov r11, rax
mov ebx, 0xf1
test rax, rax
je 0x1400138aa
mov edx, ebx
mov rcx, rax
call fcn.1400131dc
jmp 0x1400138ad
mov r11, r12
cmp byte [0x1400862f2], r12b
mov qword [0x140097cb0], r11
je 0x1400138e7
mov rcx, rdi
call fcn.14002adb4
mov r11, rax
test rax, rax
je 0x1400138e0
mov edx, ebx
mov rcx, rax
call fcn.1400131dc
mov qword [0x140087b90], r11
jmp 0x1400138e7
mov qword [0x140087b90], r12
mov rcx, qword [0x1400980a8]
mov rcx, qword [rcx + 0x18]
call fcn.14002afe8
mov rcx, rax
mov r15, rax
call fcn.14000e7ac
or rsi, 0xffffffffffffffff
mov r14, rax
mov rbx, rsi
inc rbx
cmp byte [rax + rbx], r12b
jne 0x14001390c
mov rdi, qword [0x140097cb0]
inc rbx
mov dword [rsp + 0x2c], r12d
lea eax, [rbx + 6]
mov word [rsp + 0x28], ax
mov eax, 0x1101
mov word [rsp + 0x2a], ax
mov eax, dword [rdi + 0x18]
sub eax, dword [rdi + 0x10]
add eax, dword [rdi + 8]
cmp eax, 8
jge 0x140013956
mov edx, 8
lea rcx, [rdi + 8]
call fcn.14000e4f0
test eax, eax
je 0x140013972
mov rcx, qword [rdi + 0x10]
lea rax, [rcx + 8]
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x28]
mov qword [rcx], rax
add qword [rdi + 0x458], 8
mov rdi, qword [0x140097cb0]
mov r8, rbx
mov rdx, r14
lea rcx, [rdi + 8]
call fcn.14000e470
test eax, eax
je 0x140013993
add qword [rdi + 0x458], rbx
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140097cb0]
mov al, byte [0x140086342]
neg al
mov qword [rsp + 0x42], r12
mov eax, r12d
mov dword [rsp + 0x38], 0x113c0037
sbb ecx, ecx
mov dword [rsp + 0x4a], 0x1d000e
and eax, 0xfffffd03
and ecx, 0xfffffe00
add ecx, 0x203
or ecx, eax
mov eax, 0xd0
mov word [rsp + 0x40], ax
mov eax, 0x75c4
mov word [rsp + 0x4e], ax
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
mov dword [rsp + 0x3c], ecx
cmp eax, 0x1a
jge 0x140013a10
mov edx, 0x1a
lea rcx, [rbx + 8]
call fcn.14000e4f0
test eax, eax
je 0x140013a3c
mov rcx, qword [rbx + 0x10]
movups xmm0, xmmword [rsp + 0x38]
movsd xmm1, qword [rsp + 0x48]
lea rax, [rcx + 0x1a]
mov qword [rbx + 0x10], rax
movups xmmword [rcx], xmm0
movsd qword [rcx + 0x10], xmm1
mov word [rcx + 0x18], r12w
add qword [rbx + 0x458], 0x1a
mov rbx, qword [0x140097cb0]
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, 0x1e
jge 0x140013a63
mov edx, 0x1e
lea rcx, [rbx + 8]
call fcn.14000e4f0
test eax, eax
je 0x140013aa2
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 0x1e]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [0x1400405d0]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1400405e0]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x1400405e8]
mov dword [rcx + 0x18], eax
movzx eax, word [0x1400405ec]
mov word [rcx + 0x1c], ax
add qword [rbx + 0x458], 0x1e
mov rbx, qword [0x140097cb0]
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, 1
jge 0x140013ac9
mov edx, 1
lea rcx, [rbx + 8]
call fcn.14000e4f0
test eax, eax
je 0x140013adf
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov byte [rcx], r12b
inc qword [rbx + 0x458]
cmp byte [0x140086342], r12b
je 0x140013d69
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetcwd]
lea rcx, [rsp + 0x70]
call fcn.14002afe8
mov rcx, rax
mov qword [rsp + 0x28], rax
call fcn.14000e7ac
mov r15, rax
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], r12b
jne 0x140013b19
inc rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p__wpgmptr]
mov rcx, qword [rax]
call fcn.14002afe8
mov rcx, rax
mov qword [rsp + 0x60], rax
call fcn.14000e7ac
mov r12, rax
xor ebx, ebx
mov r14, rsi
inc r14
cmp byte [rax + r14], bl
jne 0x140013b48
mov rcx, qword [0x140086a40]
inc r14
mov rcx, qword [rcx + 0x10]
call fcn.14002afe8
mov rcx, rax
mov qword [rsp + 0x58], rax
call fcn.14000e7ac
mov r13, rax
inc rsi
cmp byte [rsi + rax], bl
jne 0x140013b74
mov rbx, qword [0x140097cb0]
lea eax, [rdi + 0x10]
add ax, r14w
mov dword [rsp + 0x22], 0x113d
inc rsi
add ax, si
mov word [rsp + 0x20], ax
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, 5
jge 0x140013bbd
mov edx, 5
lea rcx, [rbx + 8]
call fcn.14000e4f0
test eax, eax
je 0x140013bde
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 5]
mov qword [rbx + 0x10], rax
mov eax, dword [rsp + 0x20]
mov dword [rcx], eax
mov al, byte [rsp + 0x24]
mov byte [rcx + 4], al
add qword [rbx + 0x458], 5
mov rbx, qword [0x140097cb0]
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, 4
jge 0x140013c05
mov edx, 4
lea rcx, [rbx + 8]
call fcn.14000e4f0
test eax, eax
je 0x140013c1f
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 4]
mov qword [rbx + 0x10], rax
mov dword [rcx], 0x647763
add qword [rbx + 0x458], 4
mov rbx, qword [0x140097cb0]
mov r8, rdi
mov rdx, r15
lea rcx, [rbx + 8]
call fcn.14000e470
test eax, eax
je 0x140013c40
add qword [rbx + 0x458], rdi
mov rbx, qword [0x140097cb0]
mov edi, 4
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, edi
jge 0x140013c68
mov edx, edi
lea rcx, [rbx + 8]
call fcn.14000e4f0
test eax, eax
je 0x140013c81
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 4]
mov qword [rbx + 0x10], rax
mov dword [rcx], 0x657865
add qword [rbx + 0x458], rdi
mov rbx, qword [0x140097cb0]
mov r8, r14
mov rdx, r12
lea rcx, [rbx + 8]
call fcn.14000e470
xor r12d, r12d
test eax, eax
je 0x140013ca5
add qword [rbx + 0x458], r14
mov rbx, qword [0x140097cb0]
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, edi
jge 0x140013cc8
mov edx, edi
lea rcx, [rbx + 8]
call fcn.14000e4f0
test eax, eax
je 0x140013ce1
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 4]
mov qword [rbx + 0x10], rax
mov dword [rcx], 0x637273
add qword [rbx + 0x458], rdi
mov rbx, qword [0x140097cb0]
mov r8, rsi
mov rdx, r13
lea rcx, [rbx + 8]
call fcn.14000e470
test eax, eax
je 0x140013d02
add qword [rbx + 0x458], rsi
mov rbx, qword [0x140097cb0]
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, 1
jge 0x140013d29
mov edx, 1
lea rcx, [rbx + 8]
call fcn.14000e4f0
test eax, eax
je 0x140013d3f
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov byte [rcx], r12b
inc qword [rbx + 0x458]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [0x140086342], r12b
jne 0x140013d72
cmp byte [0x1400862f7], r12b
je 0x140013dd2
mov ecx, 0xa90
call fcn.14002adb4
test rax, rax
je 0x140013d8b
mov rcx, rax
call fcn.14001339c
jmp 0x140013d8e
mov rax, r12
mov ecx, 0x640
mov qword [0x140097ca8], rax
call fcn.14002adb4
mov rbx, rax
test rax, rax
je 0x140013dcb
mov edx, 0xf4
mov rcx, rax
call fcn.1400131dc
mov r11, qword [0x140097ca8]
mov qword [rbx + 0x638], r11
mov qword [0x140097ca0], rbx
jmp 0x140013dd2
mov qword [0x140097ca0], r12
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400361e0
lea r11, [rsp + 0x290]
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