Function at 0x671386f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6727c025
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x674c412c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x20]
mov esi, dword [edi + 0xc]
test ecx, ecx
jne 0x6713873e
lea eax, [ebp + 0x18]
push 5
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
mov dword [ebp - 4], 0
push 0xd
jmp 0x67138766
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x671387a9
mov eax, dword [ebp + 0x10]
or eax, dword [ebp + 0x14]
jne 0x671387a9
lea eax, [ebp + 0x18]
push 0x57
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
mov dword [ebp - 4], 1
push 8
mov ecx, esi
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x67138795
cmp eax, 0xffffffff
je 0x67138932
mov eax, dword [ebp + 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67138932
push 4
push 2
push dword [ebp + 0x18]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
jmp 0x67138932
xor ebx, ebx
test byte [ebp + 0x18], 1
je 0x671387b8
mov ebx, 1
jmp 0x671387cf
test cl, 2
je 0x671387c4
mov ebx, 2
jmp 0x671387cf
test cl, 1
mov eax, 4
cmovne ebx, eax
cmp dword [edi + 0x68], 0
jne 0x6713886d
mov ecx, dword [edi + 0x64]
cmp ecx, 0xffffffff
jne 0x6713882c
mov eax, dword [edi + 0x60]
test eax, eax
je 0x67138800
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle]
mov ecx, eax
add esp, 8
cmp ecx, 0xffffffff
jne 0x6713882c
lea eax, [ebp + 0x18]
push 5
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov dword [ebp - 4], 2
push eax
push 0xd
mov ecx, esi
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [ebp + 0x18]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
jmp 0x67138932
test byte [edi + 0x20], 2
mov eax, 0
push 0
setne al
push 0
push 0
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0x68], eax
test eax, eax
jne 0x6713886d
lea eax, [ebp + 0x18]
push 0xffffffffffffffff
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
mov dword [ebp - 4], 3
jmp 0x67138815
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
dec edx
mov eax, ecx
and eax, edx
mov dword [ebp + 0x18], eax
je 0x6713888b
not edx
and ecx, edx
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x671388ce
mov ebx, dword [ebp + 0x18]
lea ecx, [edi + 0x6c]
lea esi, [eax + ebx]
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
call fcn.67137530
mov dword [eax], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
cmp eax, 5
je 0x671388fd
lea eax, [ebp + 0xc]
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 8
mov ecx, esi
mov dword [ebp - 4], 5
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [ebp + 0xc]
jmp 0x6713891d
lea eax, [ebp + 0x18]
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
add esp, 8
push eax
push 0xd
mov ecx, esi
mov dword [ebp - 4], 4
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [ebp + 0x18]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x68], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14