Function at 0x670d8867
Capabilities:
Get system information on windows

Disassembly:
push 0x28
mov eax, 0x671b11dd
call fcn.671a2b02
mov edi, ecx
mov ecx, dword [edi + 0x20]
mov esi, dword [edi + 0xc]
test ecx, ecx
jne 0x670d88a7
lea eax, [ebp + 0x18]
push 5
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
pop ecx
pop ecx
and dword [ebp - 4], 0
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 0x670d8a23
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x670d88d0
mov eax, dword [ebp + 0x10]
or eax, dword [ebp + 0x14]
jne 0x670d88d0
lea eax, [ebp + 0x18]
push 0x57
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
pop ecx
pop ecx
push eax
mov dword [ebp - 4], 1
push 8
jmp 0x670d8893
xor edx, edx
mov dword [ebp - 0x10], 4
test byte [ebp + 0x18], 1
push 2
pop eax
je 0x670d88e7
xor ebx, ebx
inc ebx
jmp 0x670d88fb
test cl, 2
je 0x670d88f0
mov ebx, eax
jmp 0x670d88fb
test cl, 1
mov ebx, edx
push 4
pop ecx
cmovne ebx, ecx
cmp dword [edi + 0x68], edx
jne 0x670d8978
mov ecx, dword [edi + 0x64]
cmp ecx, 0xffffffff
jne 0x670d8944
cmp dword [edi + 0x60], edx
je 0x670d8926
push dword [edi + 0x60]
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]
pop ecx
pop ecx
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x670d893f
lea eax, [ebp + 0x18]
push 5
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
pop ecx
pop ecx
mov dword [ebp - 4], 2
jmp 0x670d8890
push 2
pop eax
xor edx, edx
test byte [edi + 0x20], 2
push edx
cmovne eax, dword [ebp - 0x10]
push edx
push edx
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0x68], eax
test eax, eax
jne 0x670d8978
lea eax, [ebp + 0x18]
push 0xffffffffffffffff
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
pop ecx
pop ecx
mov dword [ebp - 4], 3
jmp 0x670d8890
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
dec edx
mov eax, ecx
and eax, edx
mov dword [ebp + 0x18], eax
je 0x670d8996
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 0x670d89c7
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.6700fb0d
mov dword [eax], ebx
mov eax, esi
jmp 0x670d8a25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ebx
push 0xffffffffffffffff
cmp eax, ebx
je 0x670d89f3
lea eax, [ebp + 0xc]
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
pop ecx
pop ecx
push eax
push 8
mov ecx, esi
mov dword [ebp - 4], ebx
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [ebp + 0xc]
jmp 0x670d8a11
lea eax, [ebp + 0x18]
push eax
call sym.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_
pop ecx
pop ecx
push 4
pop ecx
push eax
mov dword [ebp - 4], ecx
mov ecx, esi
push 0xd
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]
and dword [edi + 0x68], 0
xor eax, eax
call fcn.671a2adc
ret 0x14