Function at 0x43ec50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8c23
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea esi, [ecx + 4]
mov dword [ebp - 0x238], ebx
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x43f04b
lea eax, [ebp - 0x278]
mov dword [ebp - 0x224], 0
push eax
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_QString::toStdWString_void_]
cmp dword [eax + 0x14], 8
jb 0x43ecb7
mov eax, dword [eax]
lea ecx, [ebp - 0x224]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x234], edi
call fcn.004059a0
test edi, edi
je 0x43f04b
xorps xmm0, xmm0
movlpd qword [ebp - 0x240], xmm0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x240], 0
mov byte [ebp - 4], 1
call dword [0x5d1068]
mov edi, eax
add esp, 4
mov dword [ebp - 0x23c], edi
test edi, edi
je 0x43ed30
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x240], eax
mov eax, 1
mov byte [ebp - 4], 0
test eax, eax
jne 0x43ed4c
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [ebp - 4], 3
jmp 0x43f018
lea eax, [ebp - 0x278]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_QString::toStdWString_void_]
cmp dword [eax + 0x14], 8
jb 0x43ed63
mov eax, dword [eax]
push edi
push dword [ebp - 0x234]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea ecx, [ebp - 0x278]
mov esi, eax
call fcn.004059a0
test esi, esi
jne 0x43ed97
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [ebp - 4], 4
jmp 0x43f018
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x228], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x228]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43eff6
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x234]
jbe 0x43ee0a
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 4], 6
jmp 0x43f018
xor esi, esi
test eax, 0xfffffffc
jbe 0x43eff6
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x228]
push 0x514c5c
lea ecx, [eax + esi*4]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x218]
push str.StringFileInfo_04X_04X_ls
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43efe4
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x43efe4
mov edx, dword [ebp - 0x230]
test edx, edx
je 0x43efe4
mov ecx, dword [ebp - 0x234]
lea eax, [edx + eax*2]
add ecx, edi
cmp ecx, edi
jb 0x43f02e
cmp eax, edx
jb 0x43f02e
cmp edx, edi
jbe 0x43efe4
cmp eax, ecx
ja 0x43efe4
cmp word [eax - 2], 0
jne 0x43efe4
xor eax, eax
mov dword [ebp - 0x260], 0
mov word [ebp - 0x260], ax
mov eax, edx
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
lea ecx, [eax + 2]
mov dword [ebp - 0x244], ecx
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ef20
sub eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x260]
sar eax, 1
push eax
push edx
call fcn.00425950
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromStdWString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll__trimmed_QString__QHAE_AV1_XZ]
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x248]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x238]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x43efd3
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43efc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f028
push edx
push ecx
call fcn.004ce30f
add esp, 8
mov eax, dword [ebp - 0x228]
mov ecx, 0x409
cmp word [eax + esi*4], cx
je 0x43eff6
mov eax, dword [ebp - 0x220]
inc esi
shr eax, 2
cmp esi, eax
jb 0x43ee20
lea eax, [ebp - 0x21c]
mov ecx, ebx
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString__]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 4], 0xa
test edi, edi
je 0x43f053
push edi
call dword [0x5d106c]
add esp, 4
jmp 0x43f053
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 4], 7
jmp 0x43f018
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 4