Function at 0x548d80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x10]
push 0x4d
push str.file_version_info_win.cc
push str.CreateFileVersionInfoWin
push edi
call fcn.005068d0
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00520200
mov dword [esp + 0x5c], 0xa
mov al, byte [0x649446]
test al, al
jne 0x548f88
mov dword [esp + 0x60], 0xffffffff
cmp byte [ebx + 0xb], 0
jns 0x548df9
mov ebx, dword [ebx]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x60]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
jne 0x548e2f
mov dword [esi], 0
lea ecx, [esp + 0x20]
call fcn.0053b480
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00568175
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
js 0x548fd6
mov ecx, ebx
mov ebx, eax
mov esi, ecx
push eax
call fcn.00564ea5
add esp, 4
mov edi, eax
lea edx, [eax + ebx]
xor eax, eax
jmp 0x548f72
mov dword [esp + 0xc], edx
push edi
push ebx
push dword [esp + 0x68]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x548fae
mov dword [esp + 0x10], 0
lea eax, [esp + 0x64]
mov dword [eax], 0xffffffff
push eax
lea eax, [esp + 0x14]
push eax
push 0x62f4ce
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x548fae
mov esi, dword [esp + 0x10]
test esi, esi
je 0x548fae
push 0x1c
call fcn.00564ea5
add esp, 4
mov ebx, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
movzx ecx, word [esi]
movzx esi, word [esi + 2]
mov dword [ebx], 0x6220c0
mov dword [ebx + 4], edi
mov eax, dword [esp + 0xc]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
jae 0x548f56
push edi
mov word [esp + 0x10], cx
call fcn.004f0de0
movzx ecx, word [esp + 0x10]
add esp, 4
mov dword [ebx + 0x10], edi
mov word [ebx + 0x14], cx
mov word [ebx + 0x16], si
mov dword [esp + 0x10], 0
mov dword [esp + 0x64], 0xffffffff
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x14]
push eax
push 0x62f500
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x548fd9
mov esi, dword [esp + 0x10]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jae 0x548f64
push esi
call fcn.004f0de0
add esp, 4
mov dword [ebx + 0x18], esi
mov esi, dword [ebp + 8]
mov dword [esi], ebx
jmp 0x548e11
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x548eee
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x548f49
mov ecx, edi
add ecx, eax
je 0x548f85
mov byte [ecx], 0
inc eax
cmp ebx, eax
jne 0x548f72
jmp 0x548e50
int3
movzx ecx, al
lea eax, [esp + 0x64]
mov dword [eax], edi
lea esi, [esp + 0x60]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0x5c]
push eax
push esi
call fcn.005b8bd0
add esp, 8
jmp 0x548de9
mov esi, dword [ebp + 8]
mov dword [esi], 0
test edi, edi
je 0x548e11
mov eax, dword [esp + 0xc]
dec eax
cmp ebx, eax
ja 0x548fdc
push edi
call fcn.00564ea0
add esp, 4
jmp 0x548e11
int3
int3
int3