Function at 0x5502d0
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 [0x646040]
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.00509c60
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00520c00
mov dword [esp + 0x5c], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x5504e9
mov dword [esp + 0x60], 0xffffffff
cmp byte [ebx + 0xb], 0
jns 0x550349
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 0x55037f
mov dword [esi], 0
lea ecx, [esp + 0x20]
call fcn.00540880
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00567335
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 8], ebx
js 0x550537
mov ebx, eax
push eax
call fcn.00564055
add esp, 4
mov edi, eax
lea ecx, [eax + ebx]
xor esi, esi
jmp 0x5504d3
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 0x55050f
mov dword [esp + 0x10], 0
lea eax, [esp + 0x64]
mov dword [eax], 0xffffffff
push eax
lea eax, [esp + 0x14]
push eax
push 0x6306be
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x55050f
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
test eax, eax
je 0x55050f
add esi, edi
push 0x1c
call fcn.00564055
add esp, 4
mov ebx, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64e810]
bt ecx, eax
mov eax, dword [esp + 8]
movzx edx, word [eax]
movzx ecx, word [eax + 2]
mov dword [ebx], 0x623030
mov dword [ebx + 4], edi
mov dword [ebx + 8], esi
mov eax, dword [esp + 0xc]
mov dword [ebx + 0xc], eax
jae 0x550451
push edi
mov word [esp + 0xc], cx
mov esi, edx
call fcn.004f4df0
mov edx, esi
movzx ecx, word [esp + 0xc]
add esp, 4
jmp 0x55045d
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x656810], 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 0x6306f0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x55053a
mov esi, dword [esp + 0x10]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64e810]
bt ecx, eax
jae 0x5504ba
push esi
call fcn.004f4df0
add esp, 4
jmp 0x5504c6
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x656810], 1
mov dword [ebx + 0x18], esi
mov esi, dword [ebp + 8]
mov dword [esi], ebx
jmp 0x550361
mov eax, edi
add eax, esi
je 0x5504e6
mov byte [eax], 0
inc esi
cmp ebx, esi
jne 0x5504d3
jmp 0x5503a0
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.005b7340
add esp, 8
jmp 0x550339
mov esi, dword [ebp + 8]
mov dword [esi], 0
test edi, edi
je 0x550361
mov eax, dword [esp + 0xc]
dec eax
cmp ebx, eax
ja 0x55053d
push edi
call fcn.00564050
add esp, 4
jmp 0x550361
int3
int3
int3