Function at 0x670c9720
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x67147210
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67237378]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x18]
test eax, eax
mov edi, dword [esi + 0xc]
mov dword [esp + 0x14], edi
jne 0x670c97a3
lea eax, [esp + 0x50]
push 5
push eax
call sym.QtCore4.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.QtCore4.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 0x670c99f2
mov eax, dword [esp + 0x50]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670c99f2
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, ebx
or edx, ecx
jne 0x670c9807
mov eax, dword [esp + 0x58]
or eax, dword [esp + 0x5c]
jne 0x670c9807
lea ecx, [esp + 0x50]
push 0x57
push ecx
call sym.QtCore4.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.QtCore4.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 0x670c99f2
mov ecx, dword [esp + 0x50]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670c99f2
or ebp, 0xffffffff
cmp dword [esi + 0x24], ebp
jne 0x670c98d6
mov eax, dword [esi + 0x20]
cmp eax, ebp
jne 0x670c9865
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x670c9836
push eax
call dword [sym.imp.MSVCR80.dll__fileno]
push eax
call dword [sym.imp.MSVCR80.dll__get_osfhandle]
add esp, 8
cmp eax, ebp
jne 0x670c9865
lea edx, [esp + 0x50]
push 5
push edx
call sym.QtCore4.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.QtCore4.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 0x670c97ef
mov edx, dword [esi + 0x18]
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]
cmp eax, ebp
mov dword [esi + 0x24], eax
jne 0x670c98d2
lea eax, [esp + 0x50]
push ebp
push eax
call sym.QtCore4.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.QtCore4.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 0x670c99f2
mov edx, dword [esp + 0x50]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670c99f2
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x18]
mov edx, eax
and edx, 1
mov dword [esp + 0x50], 0
je 0x670c98f0
mov dword [esp + 0x50], 4
and eax, 2
je 0x670c98fd
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]
add eax, 0xffffffff
mov edi, ebx
and edi, eax
je 0x670c9922
not eax
and eax, ebx
mov ebx, eax
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x24]
add edx, edi
push edx
push ebx
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x670c995b
lea edx, [esp + 0x50]
lea ebx, [eax + edi]
push edx
lea ecx, [esi + 0x28]
mov dword [esp + 0x54], ebx
call fcn.670c9660
mov dword [eax], edi
mov eax, ebx
jmp 0x670c99f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
push 0xffffffffffffffff
je 0x670c99a5
lea eax, [esp + 0x5c]
push eax
call sym.QtCore4.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.QtCore4.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 0x670c99e8
mov eax, dword [esp + 0x58]
push eax
jmp 0x670c99e0
lea ecx, [esp + 0x1c]
push ecx
call sym.QtCore4.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.QtCore4.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 0x670c99e8
mov ecx, dword [esp + 0x18]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esi + 0x24]
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