Function at 0x140025f78
Capabilities:
Resolve path using msvcrt

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x868]
sub rsp, 0x950
mov rax, qword [0x14005b018]
xor rax, rsp
mov qword [rbp + 0x840], rax
mov r14, rcx
mov esi, edx
lea rcx, [rsp + 0x28]
call fcn.14000be70
mov r15d, 2
lea rdx, str.all:_n
mov ecx, r15d
call fcn.140007ecc
mov ebx, 0x400
lea rcx, [rbp + 0x40]
mov edx, ebx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetcwd]
test rax, rax
jne 0x140025ff8
lea r8, str.unknown_working_directory
mov edx, ebx
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rbp + 0x40]
mov ecx, r15d
lea rdx, str._t_cd__s_n
call fcn.140007ecc
lea rdx, str._t_set_INCLUDE
mov ecx, r15d
call fcn.140007ecc
and qword [rsp + 0x20], 0
lea r8, str.INCLUDE
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wdupenv_s]
mov r8, qword [rsp + 0x20]
lea rbx, [0x1400533c8]
test r8, r8
je 0x14002605b
mov rdx, rbx
mov ecx, r15d
call fcn.140007ecc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, str._n_t_set_LIB
mov ecx, r15d
call fcn.140007ecc
and qword [rsp + 0x20], 0
lea r8, [0x140053af0]
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wdupenv_s]
mov r8, qword [rsp + 0x20]
test r8, r8
je 0x1400260a4
mov rdx, rbx
mov ecx, r15d
call fcn.140007ecc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, str._n_t_set_CL
mov ecx, r15d
call fcn.140007ecc
and qword [rsp + 0x20], 0
lea r8, [0x14003054c]
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wdupenv_s]
mov r8, qword [rsp + 0x20]
test r8, r8
je 0x1400260ed
mov rdx, rbx
mov ecx, r15d
call fcn.140007ecc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, str._n_t_set__CL_
mov ecx, r15d
call fcn.140007ecc
and qword [rsp + 0x20], 0
lea r8, str._CL_
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wdupenv_s]
mov r8, qword [rsp + 0x20]
test r8, r8
je 0x140026136
mov rdx, rbx
mov ecx, r15d
call fcn.140007ecc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, str._n_t_set_LINK
mov ecx, r15d
call fcn.140007ecc
and qword [rsp + 0x20], 0
lea r8, str.LINK
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wdupenv_s]
mov r8, qword [rsp + 0x20]
test r8, r8
je 0x14002617f
mov rdx, rbx
mov ecx, r15d
call fcn.140007ecc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__get_wpgmptr]
mov r8, qword [rsp + 0x30]
lea rdx, str._n_t_s
mov ecx, r15d
call fcn.140007ecc
xor edi, edi
test esi, esi
jle 0x140026201
xor ebx, ebx
mov r8, qword [r14]
mov ecx, r15d
cmp word [r8], 0x40
jne 0x1400261eb
cmp rbx, 0x20
jge 0x1400261dd
lea rdx, [0x140053b60]
call fcn.140007ecc
mov rax, qword [r14]
inc edi
add rax, r15
mov qword [rsp + rbx*8 + 0x40], rax
inc rbx
jmp 0x1400261f7
lea rdx, str._nWARNING:_too_many_response_files_n
call fcn.140007ecc
jmp 0x1400261f7
lea rdx, [0x140053bb8]
call fcn.140007ecc
add r14, 8
sub rsi, 1
jne 0x1400261ac
lea rdx, [0x14002ff84]
mov ecx, r15d
call fcn.140007ecc
xor ebx, ebx
movsxd rsi, edi
test edi, edi
jle 0x140026254
mov rcx, qword [rsp + rbx*8 + 0x40]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.14000bc40
lea rdx, [0x140053bc0]
mov ecx, r15d
call fcn.140007ecc
inc rbx
cmp rbx, rsi
jl 0x140026219
test edi, edi
je 0x140026254
lea rdx, [0x14002ff84]
mov ecx, r15d
call fcn.140007ecc
cmp byte [rsp + 0x28], 0
je 0x140026268
mov rcx, qword [0x14005f420]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbp + 0x840]
xor rcx, rsp
call fcn.140011450
lea r11, [rsp + 0x950]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret