Function at 0x14001482c
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 [0x140085db8]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ecx, 0x16c0
call fcn.140032b3c
xor r12d, r12d
mov rdx, rax
test rax, rax
je 0x140014940
mov rcx, qword [0x1400a2050]
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, [0x140080f40]
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, [0x140080f40]
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 0x140014943
mov rdx, r12
lea rbx, [rdx + 8]
mov qword [0x1400a1c00], rdx
mov r13d, 4
mov rcx, rbx
mov edx, r13d
call fcn.14000fb84
test al, al
je 0x14001496d
xor edx, edx
mov rcx, rbx
call fcn.14000fb84
mov edi, 0x638
mov ecx, edi
call fcn.140032b3c
mov r11, rax
mov ebx, 0xf1
test rax, rax
je 0x140014992
mov edx, ebx
mov rcx, rax
call fcn.140014080
jmp 0x140014995
mov r11, r12
cmp byte [0x14009028b], r12b
mov qword [0x1400a1bf8], r11
je 0x1400149cf
mov rcx, rdi
call fcn.140032b3c
mov r11, rax
test rax, rax
je 0x1400149c8
mov edx, ebx
mov rcx, rax
call fcn.140014080
mov qword [0x140091ad8], r11
jmp 0x1400149cf
mov qword [0x140091ad8], r12
mov rcx, qword [0x1400a20a8]
mov rcx, qword [rcx + 0x18]
call fcn.140032d70
mov rcx, rax
mov r15, rax
call fcn.14000f500
or r14, 0xffffffffffffffff
mov rsi, rax
mov rbx, r14
inc rbx
cmp byte [rax + rbx], r12b
jne 0x1400149f4
mov rdi, qword [0x1400a1bf8]
inc rbx
mov eax, 6
mov dword [rsp + 0x2c], r12d
add eax, ebx
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 0x140014a42
mov edx, 8
lea rcx, [rdi + 8]
call fcn.14000f244
test eax, eax
je 0x140014a5e
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 [0x1400a1bf8]
mov r8, rbx
mov rdx, rsi
lea rcx, [rdi + 8]
call fcn.14000f1c4
test eax, eax
je 0x140014a7f
add qword [rdi + 0x458], rbx
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, byte [0x1400902b6]
mov edx, 3
neg al
mov qword [rsp + 0x42], r12
mov eax, r12d
mov dword [rsp + 0x38], 0x113c0037
sbb ecx, ecx
and eax, 0xfffffd03
and ecx, 0xfffffe00
add ecx, 0x203
or ecx, eax
lea eax, [rdx + 2]
mov dword [rsp + 0x3c], ecx
movzx ecx, byte [0x1400a21ba]
and ecx, edx
je 0x140014aed
sub ecx, 1
je 0x140014ae5
sub ecx, 1
je 0x140014ade
cmp ecx, 1
jne 0x140014aed
lea eax, [rdx + 3]
mov word [rsp + 0x40], ax
jmp 0x140014af2
mov word [rsp + 0x40], r13w
jmp 0x140014af2
mov word [rsp + 0x40], dx
mov rbx, qword [0x1400a1bf8]
mov eax, 0x75c4
mov word [rsp + 0x4e], ax
mov dword [rsp + 0x4a], 0x1d000e
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, 0x1a
jge 0x140014b2b
mov edx, 0x1a
lea rcx, [rbx + 8]
call fcn.14000f244
test eax, eax
je 0x140014b57
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 [0x1400a1bf8]
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, 0x1e
jge 0x140014b7e
mov edx, 0x1e
lea rcx, [rbx + 8]
call fcn.14000f244
test eax, eax
je 0x140014bbd
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 0x1e]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [0x1400499d0]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1400499e0]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x1400499e8]
mov dword [rcx + 0x18], eax
movzx eax, word [0x1400499ec]
mov word [rcx + 0x1c], ax
add qword [rbx + 0x458], 0x1e
mov rbx, qword [0x1400a1bf8]
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, 1
jge 0x140014be4
mov edx, 1
lea rcx, [rbx + 8]
call fcn.14000f244
test eax, eax
je 0x140014bfa
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov byte [rcx], r12b
inc qword [rbx + 0x458]
cmp byte [0x1400902b6], r12b
je 0x140014e7b
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.140032d70
mov rcx, rax
mov qword [rsp + 0x28], rax
call fcn.14000f500
mov r15, rax
mov rdi, r14
inc rdi
cmp byte [rax + rdi], r12b
jne 0x140014c34
inc rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p__wpgmptr]
mov rcx, qword [rax]
call fcn.140032d70
mov rcx, rax
mov qword [rsp + 0x60], rax
call fcn.14000f500
mov r12, rax
xor ebx, ebx
mov rsi, r14
inc rsi
cmp byte [rax + rsi], bl
jne 0x140014c63
mov rcx, qword [0x1400919d8]
inc rsi
mov rcx, qword [rcx + 0x10]
call fcn.140032d70
mov rcx, rax
mov qword [rsp + 0x58], rax
call fcn.14000f500
mov r13, rax
inc r14
cmp byte [r14 + rax], bl
jne 0x140014c8e
mov rbx, qword [0x1400a1bf8]
lea eax, [rdi + 0x10]
add ax, si
mov dword [rsp + 0x22], 0x113d
inc r14
add ax, r14w
mov word [rsp + 0x20], ax
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, 5
jge 0x140014cd8
mov edx, 5
lea rcx, [rbx + 8]
call fcn.14000f244
test eax, eax
je 0x140014cf9
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 [0x1400a1bf8]
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, 4
jge 0x140014d20
mov edx, 4
lea rcx, [rbx + 8]
call fcn.14000f244
test eax, eax
je 0x140014d3a
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 [0x1400a1bf8]
mov r8, rdi
mov rdx, r15
lea rcx, [rbx + 8]
call fcn.14000f1c4
test eax, eax
je 0x140014d5b
add qword [rbx + 0x458], rdi
mov rbx, qword [0x1400a1bf8]
mov edi, 4
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, edi
jge 0x140014d83
mov edx, edi
lea rcx, [rbx + 8]
call fcn.14000f244
test eax, eax
je 0x140014d9c
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 [0x1400a1bf8]
mov r8, rsi
mov rdx, r12
lea rcx, [rbx + 8]
call fcn.14000f1c4
xor r12d, r12d
test eax, eax
je 0x140014dc0
add qword [rbx + 0x458], rsi
mov rbx, qword [0x1400a1bf8]
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, edi
jge 0x140014de3
mov edx, edi
lea rcx, [rbx + 8]
call fcn.14000f244
test eax, eax
je 0x140014dfc
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 [0x1400a1bf8]
mov r8, r14
mov rdx, r13
lea rcx, [rbx + 8]
call fcn.14000f1c4
test eax, eax
je 0x140014e1d
add qword [rbx + 0x458], r14
mov rbx, qword [0x1400a1bf8]
mov eax, dword [rbx + 0x18]
sub eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
cmp eax, 1
jge 0x140014e44
mov edx, 1
lea rcx, [rbx + 8]
call fcn.14000f244
test eax, eax
je 0x140014e5a
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]
mov ecx, 0xa90
call fcn.140032b3c
test rax, rax
je 0x140014e94
mov rcx, rax
call fcn.140014240
jmp 0x140014e97
mov rax, r12
mov ecx, 0x640
mov qword [0x1400a1bf0], rax
call fcn.140032b3c
mov rbx, rax
test rax, rax
je 0x140014ecd
mov edx, 0xf4
mov rcx, rax
call fcn.140014080
mov r11, qword [0x1400a1bf0]
mov qword [rbx + 0x638], r11
jmp 0x140014ed0
mov rbx, r12
mov qword [0x140091ae8], rbx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14003f920
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