Function at 0x6714cc20
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x20]
mov esi, dword [edi + 0xc]
test ecx, ecx
jne 0x6714cc9c
lea edx, [ecx + 5]
lea ecx, [esp + 0x4c]
call fcn.671da600
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
push 0xd
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
test eax, eax
je 0x6714cc77
cmp eax, 0xffffffff
je 0x6714ce54
mov eax, dword [esp + 0x4c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6714ce54
mov eax, dword [esp + 0x4c]
cmp eax, 0x674c7cb4
je 0x6714ce54
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x14
mov ebp, dword [esp + 0x3c]
mov eax, ebp
or eax, dword [esp + 0x40]
jne 0x6714cce1
mov eax, dword [esp + 0x44]
or eax, dword [esp + 0x48]
jne 0x6714cce1
lea edx, [eax + 0x57]
lea ecx, [esp + 0x4c]
call fcn.671da600
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
push 8
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [esp + 0x4c]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x14
xor ebx, ebx
test byte [esp + 0x4c], 1
je 0x6714ccf1
mov ebx, 1
jmp 0x6714cd08
test cl, 2
je 0x6714ccfd
mov ebx, 2
jmp 0x6714cd08
test cl, 1
mov eax, 4
cmovne ebx, eax
cmp dword [edi + 0x68], 0
jne 0x6714cda1
mov ecx, dword [edi + 0x64]
cmp ecx, 0xffffffff
jne 0x6714cd6d
mov eax, dword [edi + 0x60]
test eax, eax
je 0x6714cd3c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle]
mov ecx, eax
add esp, 4
cmp ecx, 0xffffffff
jne 0x6714cd6d
mov edx, 5
lea ecx, [esp + 0x4c]
call fcn.671da600
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
push 0xd
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [esp + 0x4c]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x14
test byte [edi + 0x20], 2
mov eax, 0
push 0
push 0
setne al
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 0x6714cda1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x6714cd41
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x30]
mov eax, ebp
dec ecx
and eax, ecx
mov dword [esp + 0x4c], eax
je 0x6714cdbf
not ecx
and ebp, ecx
add eax, dword [esp + 0x44]
push eax
push ebp
push dword [esp + 0x48]
push ebx
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x6714cdfd
mov ebx, dword [esp + 0x4c]
lea ecx, [edi + 0x6c]
lea esi, [eax + ebx]
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], esi
push eax
call fcn.6714cfc0
mov dword [eax], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x14
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 5
je 0x6714ce20
call ebx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.671da600
lea eax, [esp + 0x4c]
push eax
push 8
jmp 0x6714ce34
call ebx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.671da600
lea eax, [esp + 0x4c]
push eax
push 0xd
mov ecx, esi
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [esp + 0x4c]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x68], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 0x14