Function at 0x670db1b0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x67158190
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67258980]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x14], edi
test eax, eax
jne 0x670db233
lea eax, [esp + 0x50]
push 5
push eax
call sym.QtCore_Ad_4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 0xd
mov ecx, edi
mov dword [esp + 0x50], 0
call sym.QtCore_Ad_4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670db47e
mov eax, dword [esp + 0x50]
push eax
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670db47e
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, ebx
or edx, ecx
jne 0x670db297
mov eax, dword [esp + 0x58]
or eax, dword [esp + 0x5c]
jne 0x670db297
lea ecx, [esp + 0x50]
push 0x57
push ecx
call sym.QtCore_Ad_4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 8
mov ecx, edi
mov dword [esp + 0x50], 1
call sym.QtCore_Ad_4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov edx, dword [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670db47e
mov ecx, dword [esp + 0x50]
push ecx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670db47e
or ebp, 0xffffffff
cmp dword [esi + 0x60], ebp
jne 0x670db366
mov eax, dword [esi + 0x5c]
cmp eax, ebp
jne 0x670db2f5
mov eax, dword [esi + 0x58]
test eax, eax
je 0x670db2c6
push eax
call dword [sym.imp.MSVCR100.dll__fileno]
push eax
call dword [sym.imp.MSVCR100.dll__get_osfhandle]
add esp, 8
cmp eax, ebp
jne 0x670db2f5
lea edx, [esp + 0x50]
push 5
push edx
call sym.QtCore_Ad_4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 0xd
mov ecx, edi
mov dword [esp + 0x50], 2
call sym.QtCore_Ad_4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], ebp
lock xadd dword [eax], ebp
jmp 0x670db27f
mov edx, dword [esi + 0x20]
and edx, 2
mov ecx, 0
setne cl
push 0
push 0
push 0
lea ecx, [ecx + ecx + 2]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x60], eax
cmp eax, ebp
jne 0x670db362
lea eax, [esp + 0x50]
push ebp
push eax
call sym.QtCore_Ad_4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 0xd
mov ecx, edi
mov dword [esp + 0x50], 3
call sym.QtCore_Ad_4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], ebp
lock xadd dword [ecx], ebp
jne 0x670db47e
mov edx, dword [esp + 0x50]
push edx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670db47e
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x20]
mov edx, eax
and edx, 1
mov dword [esp + 0x50], 0
je 0x670db380
mov dword [esp + 0x50], 4
and eax, 2
je 0x670db38d
mov dword [esp + 0x50], 2
mov eax, ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ecx
sar eax, 0x1f
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x38]
dec eax
mov edi, ebx
and edi, eax
je 0x670db3ae
not eax
and ebx, eax
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x60]
add edx, edi
push edx
push ebx
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x670db3e7
lea edx, [esp + 0x50]
lea ebx, [eax + edi]
push edx
lea ecx, [esi + 0x64]
mov dword [esp + 0x54], ebx
call fcn.670dafd0
mov dword [eax], edi
mov eax, ebx
jmp 0x670db480
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
cmp eax, 5
je 0x670db431
lea eax, [esp + 0x5c]
push eax
call sym.QtCore_Ad_4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov ecx, dword [esp + 0x14]
push eax
push 8
mov dword [esp + 0x50], 5
call sym.QtCore_Ad_4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x48], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670db474
mov eax, dword [esp + 0x58]
push eax
jmp 0x670db46c
lea ecx, [esp + 0x1c]
push ecx
call sym.QtCore_Ad_4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov ecx, dword [esp + 0x14]
push eax
push 0xd
mov dword [esp + 0x50], 4
call sym.QtCore_Ad_4.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFile::FileError__class_QString_const__
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670db474
mov ecx, dword [esp + 0x18]
push ecx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esi + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x14