Function at 0x671dae50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672a127c
mov eax, dword fs:[0]
push eax
sub esp, 0x348
push ebx
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [eax], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x1c], 1
call sym.Qt5Core.dll_class_QString___cdecl_qAppFileName_void_
add esp, 4
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
inc eax
mov dword [ebp - 0x350], eax
cmp eax, 0x100
jle 0x671daeea
add eax, eax
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x34c], ecx
test ecx, ecx
je 0x671db113
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x354], eax
jmp 0x671daf00
lea ecx, [ebp - 0x344]
mov dword [ebp - 0x354], 0x100
mov dword [ebp - 0x34c], ecx
mov byte [ebp - 4], 2
mov edi, dword [esi + 4]
mov eax, dword [esi + 0xc]
add edi, edi
add eax, esi
je 0x671daf21
push edi
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x34c]
add esp, 0xc
xor eax, eax
push eax
mov word [edi + ecx], ax
push dword [ebp - 0x34c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edi, eax
test edi, edi
je 0x671db0bb
mov dword [ebp - 0x140], edi
cmp edi, 0x100
jle 0x671daf7a
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x13c], ecx
test ecx, ecx
je 0x671db118
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
jmp 0x671daf90
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x144], 0x100
mov dword [ebp - 0x13c], ecx
push ecx
push edi
push 0
mov byte [ebp - 4], 3
push dword [ebp - 0x34c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x671db0a5
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x67416c2c
push dword [ebp - 0x13c]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x671db0a5
cmp dword [ebp - 0x20], 0
je 0x671db0a5
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push eax
call fcn.671db120
mov edx, eax
mov byte [ebp - 4], 4
mov ebx, 0x20
movzx ecx, word [edi + 0x12]
push ecx
mov eax, esp
push 0xa
push 0
push ecx
mov word [eax], bx
mov ecx, edx
lea eax, [ebp - 0x18]
push eax
call sym.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_unsigned_short_int__int__int__class_QChar_
mov edx, eax
mov byte [ebp - 4], 5
movzx ecx, word [edi + 0x10]
push ecx
mov eax, esp
push 0xa
push 0
push ecx
mov word [eax], bx
mov ecx, edx
lea eax, [ebp - 0x30]
push eax
call sym.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_unsigned_short_int__int__int__class_QChar_
mov edx, eax
mov byte [ebp - 4], 6
movzx ecx, word [edi + 0x16]
push ecx
mov eax, esp
push 0xa
push 0
push ecx
mov word [eax], bx
mov ecx, edx
lea eax, [ebp - 0x2c]
push eax
call sym.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_unsigned_short_int__int__int__class_QChar_
mov edx, eax
mov byte [ebp - 4], 7
movzx ecx, word [edi + 0x14]
mov edi, ebx
push ecx
mov eax, esp
push 0xa
push 0
push ecx
mov word [eax], di
mov ecx, edx
lea eax, [ebp - 0x28]
push eax
call sym.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_unsigned_short_int__int__int__class_QChar_
mov edi, dword [ebp + 8]
mov edx, eax
mov ecx, dword [edi]
mov eax, dword [edx]
mov dword [edi], eax
mov dword [edx], ecx
lea ecx, [ebp - 0x28]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
lea ecx, [ebp - 0x2c]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
lea ecx, [ebp - 0x30]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
lea ecx, [ebp - 0x18]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
lea ecx, [ebp - 0x34]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x134]
cmp eax, ecx
je 0x671db0bb
push eax
call ebx
add esp, 4
mov eax, dword [ebp - 0x34c]
lea ecx, [ebp - 0x344]
cmp eax, ecx
je 0x671db0d1
push eax
call ebx
add esp, 4
mov eax, dword [esi]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x671db0ee
cmp eax, 0xffffffff
je 0x671db0fc
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
setne al
test al, al
jne 0x671db0fc
cmp ecx, 0x674c7cb4
je 0x671db0fc
push ecx
call ebx
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
int3