Function at 0x457b6e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 0xc], eax
and dword [ebp - 0x228], 0
mov eax, dword [0x525bf0]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x457db8
and dword [ebp - 4], 0
push 0x100
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x457d3f
push dword [ebp - 0x21c]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x220], eax
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x224], eax
push dword [ebp - 0x224]
push dword [ebp - 0x21c]
push dword [ebp - 4]
lea eax, [ebp - 0x110]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
push str.VarFileInfoTranslation
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
and dword [ebp - 0x118], 0
and dword [ebp - 8], 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x457c9e
cmp dword [ebp - 0x118], 0
je 0x457c9e
cmp dword [ebp - 8], 0
je 0x457c9e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
movzx eax, ax
push eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
push eax
push str._04x_04x
push 0x525c00
call fcn.004bef7f
add esp, 0x10
jmp 0x457cae
push str.041904b0
push 0x525c00
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x525c00
push str.StringFileInfo_s_
lea eax, [ebp - 0x218]
push eax
call fcn.004bef7f
add esp, 0xc
push 0x4fbee8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
and dword [ebp - 0x118], 0
and dword [ebp - 8], 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x457d2f
cmp dword [ebp - 0x118], 0
je 0x457d2f
cmp dword [ebp - 8], 0
je 0x457d2f
push dword [ebp - 8]
push 0x525c00
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x457d3f
push str.bootstrapper
push 0x525c00
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x525c00
test eax, eax
jne 0x457d51
and dword [ebp - 0x230], 0
jmp 0x457da3
mov dword [ebp - 0x244], 0x525c00
mov eax, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x244]
mov al, byte [eax]
mov byte [ebp - 0x249], al
inc dword [ebp - 0x244]
cmp byte [ebp - 0x249], 0
jne 0x457d68
mov eax, dword [ebp - 0x244]
sub eax, dword [ebp - 0x248]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x230], eax
push dword [ebp - 0x230]
push 0x525c00
mov ecx, 0x525bf0
call fcn.0040417d
mov eax, dword [0x525bf0]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x234], eax
xor eax, eax
cmp dword [ebp - 0x234], 0
sete al
movzx eax, al
test eax, eax
je 0x457e52
mov eax, str.4.4.20.15
test eax, eax
jne 0x457deb
and dword [ebp - 0x238], 0
jmp 0x457e3d
mov dword [ebp - 0x254], str.4.4.20.15
mov eax, dword [ebp - 0x254]
inc eax
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x254]
mov al, byte [eax]
mov byte [ebp - 0x259], al
inc dword [ebp - 0x254]
cmp byte [ebp - 0x259], 0
jne 0x457e02
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x258]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x238], eax
push dword [ebp - 0x238]
push str.4.4.20.15
mov ecx, 0x525bf0
call fcn.0040417d
mov eax, dword [0x525bf0]
sub eax, 0x10
mov dword [ebp - 0x23c], eax
push dword [ebp - 0x23c]
call fcn.004042f4
pop ecx
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x228]
or eax, 1
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004bc439
leave
ret