Function at 0x670d71e0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x67152b40
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
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 0x670d7263
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 0x670d74b0
mov eax, dword [esp + 0x50]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670d74b0
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, ebx
or edx, ecx
jne 0x670d72c7
mov eax, dword [esp + 0x58]
or eax, dword [esp + 0x5c]
jne 0x670d72c7
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 0x670d74b0
mov ecx, dword [esp + 0x50]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670d74b0
or ebp, 0xffffffff
cmp dword [esi + 0x60], ebp
jne 0x670d7396
mov eax, dword [esi + 0x5c]
cmp eax, ebp
jne 0x670d7325
mov eax, dword [esi + 0x58]
test eax, eax
je 0x670d72f6
push eax
call dword [sym.imp.MSVCR90.dll__fileno]
push eax
call dword [sym.imp.MSVCR90.dll__get_osfhandle]
add esp, 8
cmp eax, ebp
jne 0x670d7325
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 0x670d72af
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 0x670d7392
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 0x670d74b0
mov edx, dword [esp + 0x50]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670d74b0
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x20]
mov edx, eax
and edx, 1
mov dword [esp + 0x50], 0
je 0x670d73b0
mov dword [esp + 0x50], 4
and eax, 2
je 0x670d73bd
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 0x670d73e0
not eax
and eax, ebx
mov 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 0x670d7419
lea edx, [esp + 0x50]
lea ebx, [eax + edi]
push edx
lea ecx, [esi + 0x64]
mov dword [esp + 0x54], ebx
call fcn.67010eb0
mov dword [eax], edi
mov eax, ebx
jmp 0x670d74b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
cmp eax, 5
je 0x670d7463
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 0x670d74a6
mov eax, dword [esp + 0x58]
push eax
jmp 0x670d749e
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 0x670d74a6
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 + 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