Function at 0x54fb80
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.0050b5e0
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.005224f0
mov dword [esp + 0x5c], 0xa
mov al, byte [0x649456]
test al, al
jne 0x54fda0
mov dword [esp + 0x60], 0xffffffff
cmp byte [ebx + 0xb], 0
jns 0x54fbf9
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 0x54fc2f
mov dword [esi], 0
lea ecx, [esp + 0x20]
call fcn.005403a0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00566245
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 8], ebx
js 0x54fdee
mov ebx, eax
push eax
call fcn.00562f65
add esp, 4
mov edi, eax
lea ecx, [eax + ebx]
xor esi, esi
jmp 0x54fd8a
mov dword [esp + 0xc], ecx
push edi
push ebx
push dword [esp + 0x68]
push dword [esp + 0x14]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x54fdc6
mov dword [esp + 0x10], 0
lea eax, [esp + 0x64]
mov dword [eax], 0xffffffff
push eax
lea eax, [esp + 0x14]
push eax
push 0x62e6be
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x54fdc6
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
test eax, eax
je 0x54fdc6
add esi, edi
push 0x1c
call fcn.00562f65
add esp, 4
mov ebx, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c810]
bt ecx, eax
mov eax, dword [esp + 8]
movzx edx, word [eax]
movzx ecx, word [eax + 2]
mov dword [ebx], 0x621030
mov dword [ebx + 4], edi
mov dword [ebx + 8], esi
mov eax, dword [esp + 0xc]
mov dword [ebx + 0xc], eax
jb 0x54fd6e
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x654810], 1
mov dword [ebx + 0x10], edi
mov word [ebx + 0x14], dx
mov word [ebx + 0x16], cx
mov dword [esp + 0x10], 0
mov dword [esp + 0x64], 0xffffffff
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x14]
push eax
push 0x62e6f0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x54fdf1
mov esi, dword [esp + 0x10]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c810]
bt ecx, eax
jb 0x54fd63
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654810], 1
mov dword [ebx + 0x18], esi
mov esi, dword [ebp + 8]
mov dword [esi], ebx
jmp 0x54fc11
push esi
call fcn.004ff7e0
add esp, 4
jmp 0x54fd56
push edi
mov word [esp + 0xc], cx
mov esi, edx
call fcn.004ff7e0
mov edx, esi
movzx ecx, word [esp + 0xc]
add esp, 4
jmp 0x54fcf8
mov eax, edi
add eax, esi
je 0x54fd9d
mov byte [eax], 0
inc esi
cmp ebx, esi
jne 0x54fd8a
jmp 0x54fc50
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.005b5f10
add esp, 8
jmp 0x54fbe9
mov esi, dword [ebp + 8]
mov dword [esi], 0
test edi, edi
je 0x54fc11
mov eax, dword [esp + 0xc]
dec eax
cmp ebx, eax
ja 0x54fdf4
push edi
call fcn.00562f60
add esp, 4
jmp 0x54fc11
int3
int3
int3