Function at 0x6e1adf48
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xac
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x6e1ae0e0
mov eax, edi
or eax, esi
je 0x6e1ae08c
cmp dword [ebx + 0x60], 0xffffffff
je 0x6e1ae1a8
mov eax, ecx
and eax, 1
neg eax
and eax, 4
and ecx, 2
je 0x6e1adfa2
mov eax, 2
lea edx, [ebp - 0x5c]
mov dword [esp], edx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], esi
call sub.KERNEL32.dll_GetSystemInfo
push edx
mov edx, dword [ebp - 0x40]
dec edx
mov dword [ebp - 0x70], edx
and esi, edx
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
je 0x6e1adfce
mov esi, edx
not esi
and ecx, esi
mov edx, dword [ebp - 0x8c]
add edx, dword [ebp - 0x6c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
call sub.KERNEL32.dll_MapViewOfFile
sub esp, 0x14
test eax, eax
je 0x6e1ae130
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
lea ecx, [ebx + 0x64]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 8]
dec edx
je 0x6e1ae051
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x6e2407b4
mov dword [esp + 4], 0x6e2407bc
mov dword [esp], eax
call method.QHashData.detach_helper2_void____QHashData::Node__void___void____QHashData::Node___int__int_
mov edx, dword [ebx + 0x64]
add edx, 8
lock dec dword [edx]
setne cl
test cl, cl
je 0x6e1ae188
mov dword [ebx + 0x64], eax
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
lea edi, [ebp - 0x2c]
mov dword [esp + 4], edi
mov edx, dword [ebp - 0x70]
mov dword [esp], edx
call fcn.6e253e20
mov esi, eax
mov eax, dword [eax]
cmp eax, dword [ebx + 0x64]
je 0x6e1ae204
add eax, 0xc
mov edx, dword [ebp - 0x6c]
mov dword [eax], edx
mov eax, dword [ebp - 0x2c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
or edx, dword [ebp - 0x8c]
jne 0x6e1adf84
lea ebx, [ebp - 0x20]
mov dword [esp + 4], 0x57
mov dword [esp], ebx
call sym.QtCore4.dll_qt_error_string_int_
push edi
mov dword [esp + 8], ebx
mov dword [esp + 4], 8
mov edx, dword [ebp - 0x74]
mov dword [esp], edx
call method.QAbstractFileEngine.setError_QFile::FileError__QString_const_
mov eax, dword [ebp - 0x20]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e1ae280
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
lea ebx, [ebp - 0x1c]
mov dword [esp + 4], 5
mov dword [esp], ebx
call sym.QtCore4.dll_qt_error_string_int_
push eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xd
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call method.QAbstractFileEngine.setError_QFile::FileError__QString_const_
mov eax, dword [ebp - 0x1c]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e1ae0d4
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call method.QString.free_QString::Data_
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
call sub.KERNEL32.dll_GetLastError
cmp eax, 5
je 0x6e1ae250
lea esi, [ebp - 0x34]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sym.QtCore4.dll_qt_error_string_int_
push edi
mov dword [esp + 8], esi
mov dword [esp + 4], 8
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call method.QAbstractFileEngine.setError_QFile::FileError__QString_const_
mov dword [esp], esi
call method.QString.QString__
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
push ebx
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], 0x6e2407b4
mov edx, dword [ebx + 0x64]
mov dword [esp], edx
mov dword [ebp - 0x78], eax
call method.QHashData.free_helper_void____QHashData::Node__
mov eax, dword [ebp - 0x78]
jmp 0x6e1ae04e
mov edx, dword [ebx + 0x5c]
cmp edx, 0xffffffff
je 0x6e1ae2c4
and ecx, 2
cmp ecx, 1
sbb eax, eax
and eax, 0xfffffffe
add eax, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.KERNEL32.dll_CreateFileMappingW
sub esp, 0x18
mov dword [ebx + 0x60], eax
inc eax
je 0x6e1ae31f
mov ecx, dword [ebx + 0x20]
jmp 0x6e1adf8e
mov edx, dword [eax + 0xc]
cmp edx, dword [eax + 0x18]
jge 0x6e1ae294
mov edi, dword [ebp - 0x38]
mov dword [esp + 4], 4
mov eax, dword [ebx + 0x64]
mov dword [esp], eax
call method.QHashData.allocateNode_int_
test eax, eax
je 0x6e1ae237
mov edx, dword [ebp - 0x2c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
mov dword [eax + 4], edi
mov edx, dword [esi]
mov dword [eax], edx
mov dword [esi], eax
mov edx, dword [ebx + 0x64]
inc dword [edx + 0xc]
add eax, 0xc
jmp 0x6e1ae07a
lea esi, [ebp - 0x30]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sym.QtCore4.dll_qt_error_string_int_
push eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0xd
mov ecx, dword [ebp - 0x74]
mov dword [esp], ecx
call method.QAbstractFileEngine.setError_QFile::FileError__QString_const_
jmp 0x6e1ae169
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call method.QString.free_QString::Data_
xor eax, eax
jmp 0x6e1ae082
movsx edx, word [eax + 0x16]
inc edx
mov dword [esp + 4], edx
mov dword [esp], eax
call method.QHashData.rehash_int_
lea ecx, [ebp - 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call fcn.6e253e20
mov esi, eax
jmp 0x6e1ae210
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x6e1ae2e5
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll__get_osfhandle
mov edx, eax
cmp eax, 0xffffffff
je 0x6e1ae2e5
mov ecx, dword [ebx + 0x20]
jmp 0x6e1ae1b4
lea ebx, [ebp - 0x24]
mov dword [esp + 4], 5
mov dword [esp], ebx
call sym.QtCore4.dll_qt_error_string_int_
push esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xd
mov ecx, dword [ebp - 0x74]
mov dword [esp], ecx
call method.QAbstractFileEngine.setError_QFile::FileError__QString_const_
mov dword [esp], ebx
call method.QString.QString__
xor eax, eax
jmp 0x6e1ae082
lea ebx, [ebp - 0x28]
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call sym.QtCore4.dll_qt_error_string_int_
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xd
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call method.QAbstractFileEngine.setError_QFile::FileError__QString_const_
jmp 0x6e1ae310