Function at 0x670ea220
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x48
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov r14, rcx
mov dword [rbp + 0x58], 0
call sym.QtCoreVBox4.dll_public:_void___cdecl_QPersistentModelIndex::constructor_void____ptr64
mov dword [rbp + 0x58], 1
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov r15, rax
test rax, rax
je 0x670ea464
mov r12, rax
cmp word [rax], 0
je 0x670ea45b
nop word [rax + rax]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
lea edx, [rax + 0x3d]
mov rcx, r12
call qword [sym.imp.MSVCR100.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x670ea444
mov rdi, rax
sub rdi, r12
sar rdi, 1
mov r8d, edi
mov rdx, r12
lea rcx, [rbp - 0x20]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
nop
mov r8d, r13d
sub r8d, edi
dec r8d
lea rdx, [rbx + 2]
lea rcx, [rbp - 0x28]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
nop
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x60], rax
lock inc dword [rax]
mov rcx, r14
call fcn.670b72a0
mov rbx, qword [r14]
add rbx, 8
mov rax, qword [rbx]
mov eax, dword [rax + 0x10]
cmp eax, 1
je 0x670ea308
mov rcx, rbx
call fcn.670b4da0
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x60]
call sym.QtCoreVBox4.dll_public:_class_QString___cdecl_QString::toCaseFolded_void____ptr64
nop
mov rcx, rax
call sym.QtCoreVBox4.dll_unsigned_int___cdecl_qHash_class_QString_const____ptr64_
mov esi, eax
mov rcx, qword [rbp - 0x18]
lock dec dword [rcx]
jne 0x670ea332
mov rcx, qword [rbp - 0x18]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov r8, qword [rbx]
mov ecx, dword [r8 + 0x20]
test ecx, ecx
je 0x670ea377
xor edx, edx
mov eax, esi
div ecx
mov rax, qword [r8 + 8]
lea rdi, [rax + rdx*8]
mov rax, qword [rdi]
cmp rax, r8
je 0x670ea37a
cmp esi, dword [rax + 8]
jne 0x670ea36c
lea rdx, [rax + 0x10]
xor r8d, r8d
lea rcx, [rbp + 0x60]
call sym.QtCoreVBox4.dll_public:_int___cdecl_QString::compare_class_QString_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64
test eax, eax
je 0x670ea37a
mov rdi, qword [rdi]
mov rax, qword [rdi]
cmp rax, qword [rbx]
jmp 0x670ea351
mov rdi, rbx
mov dword [rbp + 0x50], esi
mov rax, qword [rdi]
mov rcx, qword [rbx]
cmp rax, rcx
jne 0x670ea3fe
mov eax, dword [rcx + 0x20]
cmp dword [rcx + 0x14], eax
jl 0x670ea3ae
movsx edx, word [rcx + 0x1e]
inc edx
call sym.QtCoreVBox4.dll_public:_void___cdecl_QHashData::rehash_int____ptr64
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.670b3790
mov rdi, rax
mov edx, 8
mov rcx, qword [rbx]
call sym.QtCoreVBox4.dll_public:_void____ptr64___cdecl_QHashData::allocateNode_int____ptr64
mov r11, rax
test rax, rax
je 0x670ea3e3
mov rcx, qword [rbp + 0x60]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp + 0x60]
lock inc dword [rcx]
mov rcx, qword [rbp - 0x28]
mov qword [rax + 0x18], rcx
mov rcx, qword [rbp - 0x28]
lock inc dword [rcx]
jmp 0x670ea3e6
xor r11d, r11d
mov eax, dword [rbp + 0x50]
mov dword [r11 + 8], eax
mov rax, qword [rdi]
mov qword [r11], rax
mov qword [rdi], r11
mov rax, qword [rbx]
inc dword [rax + 0x14]
jmp 0x670ea40c
lea rcx, [rax + 0x18]
lea rdx, [rbp - 0x28]
call fcn.67063f70
nop
mov rax, qword [rbp + 0x60]
lock dec dword [rax]
jne 0x670ea41f
mov rcx, qword [rbp + 0x60]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x28]
lock dec dword [rax]
jne 0x670ea432
mov rcx, qword [rbp - 0x28]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x20]
lock dec dword [rax]
jne 0x670ea444
mov rcx, qword [rbp - 0x20]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
lea eax, [r13 + 1]
movsxd rcx, eax
lea r12, [r12 + rcx*2]
cmp word [r12], 0
jne 0x670ea280
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, r14
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret