Function at 0x4568e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x693f30]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 8]
call fcn.00405550
movzx eax, al
test eax, eax
jne 0x456920
mov ecx, dword [ebp + 0xc]
call fcn.00405550
movzx ecx, al
test ecx, ecx
je 0x456925
jmp 0x456a8d
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00404d40
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x45694d
jmp 0x456a8d
push 0x62ce3c
mov eax, dword [ebp - 0x24]
push eax
call fcn.005a246c
add esp, 8
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x456972
jmp 0x456a8d
mov edx, dword [ebp - 8]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp + 0xc]
call fcn.00404d40
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x4569a2
jmp 0x456a8d
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
push str.VarFileInfoTranslation
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x4569c9
jmp 0x456a8d
push 0x62ce3c
push 0x100
call fcn.005a246c
add esp, 8
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jne 0x4569ef
jmp 0x456a8d
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
and eax, 0xffff
movzx ecx, ax
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + eax]
and eax, 0xffff
movzx edx, ax
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 8]
call fcn.00404d40
push eax
mov ecx, dword [ebp - 0x40]
push ecx
push str.StringFileInfo_08lx_s
push 0x80
mov edx, dword [ebp - 0x20]
push edx
call fcn.00456bf0
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x456a81
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0040eb90
mov byte [ebp - 0x15], 1
xor edx, edx
jne 0x456902
cmp dword [ebp - 0x1c], 0
je 0x456ac8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005a245e
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x456ab4
mov dword [ebp - 0x44], 0
jmp 0x456ac1
mov dword [ebp - 0x1c], 0x8123
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x20], 0
je 0x456b03
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005a245e
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x456aef
mov dword [ebp - 0x48], 0
jmp 0x456afc
mov dword [ebp - 0x20], 0x8123
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x20], 0
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a1c7e
mov esp, ebp
pop ebp
ret