Function at 0x670e02c0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x6715ffd0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x672699e0]
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 0x670e0343
lea eax, [esp + 0x58]
push 5
push eax
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov dword [esp + 0x48], 0
push eax
push 0xd
mov ecx, edi
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 0x670e0554
mov eax, dword [esp + 0x58]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670e0554
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov ecx, ebx
or ecx, ebp
jne 0x670e0377
mov edx, dword [esp + 0x58]
or edx, dword [esp + 0x5c]
jne 0x670e0377
lea eax, [esp + 0x58]
push 0x57
push eax
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
mov dword [esp + 0x4c], 1
push 8
jmp 0x670e0311
cmp dword [esi + 0x60], 0
jne 0x670e0437
mov eax, dword [esi + 0x5c]
cmp eax, 0xffffffff
jne 0x670e03f2
mov eax, dword [esi + 0x58]
test eax, eax
je 0x670e03a6
push eax
call dword [sym.imp.MSVCR100.dll__fileno]
push eax
call dword [sym.imp.MSVCR100.dll__get_osfhandle]
add esp, 8
cmp eax, 0xffffffff
jne 0x670e03f2
lea ecx, [esp + 0x58]
push 5
push ecx
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 edx, dword [esp + 0x58]
mov dword [esp + 0x48], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670e0554
mov ecx, dword [esp + 0x58]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670e0554
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
test eax, eax
jne 0x670e0437
lea eax, [esp + 0x58]
push 0xffffffffffffffff
push eax
call sym.QtCore4.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov dword [esp + 0x48], 3
jmp 0x670e030e
mov eax, dword [esi + 0x20]
mov ecx, eax
and ecx, 1
mov dword [esp + 0x50], 0
je 0x670e0451
mov dword [esp + 0x50], 4
and eax, 2
je 0x670e045e
mov dword [esp + 0x50], 2
lea eax, [esp + 0x1c]
mov edx, ebp
push eax
sar edx, 0x1f
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x38]
dec eax
mov edi, ebx
and edi, eax
je 0x670e047d
not eax
and ebx, eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x60]
add ecx, edi
push ecx
push ebx
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x670e04b6
lea ecx, [esp + 0x58]
lea ebx, [eax + edi]
push ecx
lea ecx, [esi + 0x64]
mov dword [esp + 0x5c], ebx
call fcn.67010f20
mov dword [eax], edi
mov eax, ebx
jmp 0x670e0556
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
cmp eax, 5
je 0x670e0500
lea edx, [esp + 0x54]
push edx
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 eax, dword [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670e0543
mov edx, dword [esp + 0x50]
push edx
jmp 0x670e053b
lea eax, [esp + 0x1c]
push eax
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 ecx, dword [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670e0543
mov eax, dword [esp + 0x18]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esi + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x60], 0
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