Function at 0x54f1c0
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.0050b300
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00522210
mov dword [esp + 0x5c], 0xa
mov al, byte [0x649456]
test al, al
jne 0x54f3e0
mov dword [esp + 0x60], 0xffffffff
cmp byte [ebx + 0xb], 0
jns 0x54f239
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 0x54f26f
mov dword [esi], 0
lea ecx, [esp + 0x20]
call fcn.00540b60
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00565ea5
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 8], ebx
js 0x54f42e
mov ebx, eax
push eax
call fcn.00562bc5
add esp, 4
mov edi, eax
lea ecx, [eax + ebx]
xor esi, esi
jmp 0x54f3ca
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 0x54f406
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 0x54f406
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
test eax, eax
je 0x54f406
add esi, edi
push 0x1c
call fcn.00562bc5
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 0x54f3ae
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 0x54f431
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 0x54f3a3
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 0x54f251
push esi
call fcn.004ff440
add esp, 4
jmp 0x54f396
push edi
mov word [esp + 0xc], cx
mov esi, edx
call fcn.004ff440
mov edx, esi
movzx ecx, word [esp + 0xc]
add esp, 4
jmp 0x54f338
mov eax, edi
add eax, esi
je 0x54f3dd
mov byte [eax], 0
inc esi
cmp ebx, esi
jne 0x54f3ca
jmp 0x54f290
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.005b5b90
add esp, 8
jmp 0x54f229
mov esi, dword [ebp + 8]
mov dword [esi], 0
test edi, edi
je 0x54f251
mov eax, dword [esp + 0xc]
dec eax
cmp ebx, eax
ja 0x54f434
push edi
call fcn.00562bc0
add esp, 4
jmp 0x54f251
int3
int3
int3