Function at 0x1401d4bb0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1405a9ae8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
mov qword [rbp - 0x21], rcx
xor r12d, r12d
mov dword [rbp - 0x41], r12d
lea rcx, [rbp - 0x39]
call fcn.1401d4ee0
mov rbx, rax
lea rcx, [rbp - 0x47]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QChar___cdecl_QDir::listSeparator_void_]
mov dword [rsp + 0x20], 1
xor r9d, r9d
movzx r8d, word [rax]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QStringList___cdecl_QString::split_class_QChar__enum_QString::SplitBehavior__enum_Qt::CaseSensitivity____ptr64]
mov dword [rbp - 0x41], 1
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [r14]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x1401d4c44
mov rax, qword [r14]
mov edx, dword [rax + 4]
mov rcx, r14
call fcn.140005310
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rbx, rax
mov rax, qword [r14]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x1401d4c68
mov rax, qword [r14]
mov edx, dword [rax + 4]
mov rcx, r14
call fcn.140005310
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
mov rdi, rax
cmp rbx, rax
je 0x1401d4e2a
mov edx, 0x25
lea rcx, [rbp - 0x45]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_int____ptr64]
mov r9d, 1
xor r8d, r8d
movzx edx, word [rax]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64]
cmp eax, 0xffffffff
je 0x1401d4e09
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 8
jb 0x1401d4cc1
mov rax, qword [rax]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1401d4d11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d4d0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d4e15
call fcn.140322dc0
mov eax, esi
inc esi
test eax, eax
je 0x1401d4e09
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
mov edx, esi
test esi, esi
je 0x1401d4d3c
lea r8, [rbp - 0x49]
lea rcx, [rbp - 0x19]
call fcn.1401d4280
mov r15, qword [rbp - 0x19]
lea rdx, [rbp + 7]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 8
jb 0x1401d4d57
mov rax, qword [rax]
mov r8d, esi
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1401d4da2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d4d9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d4e1c
call fcn.140322dc0
mov r8d, 0xffffffff
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1401d4e09
mov rdx, qword [rbp - 9]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d4e04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d4e23
call fcn.140322dc0
add rbx, 8
cmp rbx, rdi
jmp 0x1401d4c77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [r14]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x1401d4e42
mov rax, qword [r14]
mov edx, dword [rax + 4]
mov rcx, r14
call fcn.140005310
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rbx, rax
mov rax, qword [r14]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x1401d4e66
mov rax, qword [r14]
mov edx, dword [rax + 4]
mov rcx, r14
call fcn.140005310
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
mov rdi, rax
cmp rbx, rax
je 0x1401d4eac
nop word [rax + rax]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::fromNativeSeparators_class_QString_const____ptr64_]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x29]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
add rbx, 8
cmp rbx, rdi
jne 0x1401d4e80
mov rax, r14
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1403230f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret