Function at 0x5641b0
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 [0x64a040]
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.0051dbb0
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00536a30
mov dword [esp + 0x5c], 0xa
mov al, byte [0x64f42e]
test al, al
jne 0x5643b8
mov dword [esp + 0x60], 0xffffffff
cmp byte [ebx + 0xb], 0
jns 0x564229
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 0x56425f
mov dword [esi], 0
lea ecx, [esp + 0x20]
call fcn.00545870
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.005810d5
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
js 0x564406
mov ecx, ebx
mov ebx, eax
mov esi, ecx
push eax
call fcn.0057dc30
add esp, 4
mov edi, eax
lea edx, [eax + ebx]
xor eax, eax
jmp 0x5643a2
mov dword [esp + 0xc], edx
push edi
push ebx
push dword [esp + 0x68]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x5643de
mov dword [esp + 0x10], 0
lea eax, [esp + 0x64]
mov dword [eax], 0xffffffff
push eax
lea eax, [esp + 0x14]
push eax
push 0x63547e
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x5643de
mov esi, dword [esp + 0x10]
test esi, esi
je 0x5643de
push 0x1c
call fcn.0057dc30
add esp, 4
mov ebx, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
movzx ecx, word [esi]
movzx esi, word [esi + 2]
mov dword [ebx], 0x6280c0
mov dword [ebx + 4], edi
mov eax, dword [esp + 0xc]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
jae 0x564386
push edi
mov word [esp + 0x10], cx
call fcn.00506e00
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 0x6354b0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x564409
mov esi, dword [esp + 0x10]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jae 0x564394
push esi
call fcn.00506e00
add esp, 4
mov dword [ebx + 0x18], esi
mov esi, dword [ebp + 8]
mov dword [esi], ebx
jmp 0x564241
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
jmp 0x56431e
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
jmp 0x564379
mov ecx, edi
add ecx, eax
je 0x5643b5
mov byte [ecx], 0
inc eax
cmp ebx, eax
jne 0x5643a2
jmp 0x564280
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.005da0b0
add esp, 8
jmp 0x564219
mov esi, dword [ebp + 8]
mov dword [esi], 0
test edi, edi
je 0x564241
mov eax, dword [esp + 0xc]
dec eax
cmp ebx, eax
ja 0x56440c
push edi
call fcn.0057dc2b
add esp, 4
jmp 0x564241
int3
int3
int3