Function at 0x40a80e
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x494190]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
xor ebx, ebx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x6c], ebx
mov eax, dword [0x49573c]
mov eax, dword [eax - 0xc]
push esi
push edi
cmp eax, ebx
jne 0x40aa2d
push 0x100
lea eax, [ebp - 0x68]
push eax
push ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
mov esi, 0x495750
cmp edi, ebx
je 0x40aa22
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
push edi
push dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x68]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
push 3
pop ebx
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.DzEzMQw8ezEuMSQODCU4IgofAWQICg4SLjIKBQZ4BWAKCAIuLTwOMgEMGggCIyQl
call fcn.004023c4
lea eax, [ebp - 0x6c]
push eax
call fcn.0040420d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x28
push dword [eax]
lea eax, [ebp + 0x98]
push eax
call edi
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401264
and dword [ebp - 0x74], 0
and dword [ebp - 0x70], 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x98]
push eax
push dword [ebp - 0x78]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40a93f
cmp dword [ebp - 0x74], 0
je 0x40a93f
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x40a93f
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.Diw8AQcIICcbeRoMLhNcwcfDgwvLHZ2
call fcn.004023c4
lea eax, [ebp - 0x6c]
push eax
call fcn.0040420d
add esp, 0x28
push dword [eax]
push esi
call fcn.00450a97
add esp, 0x10
jmp 0x40a966
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.DwozfC14OzIueHM7Ljx2dg
call fcn.004023c4
lea eax, [ebp - 0x6c]
push eax
call fcn.0040420d
add esp, 0x28
push dword [eax]
push esi
call edi
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401264
push esi
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.CSIOCAYsezEHDBoODAoCJQk8O3wCLA4yLTwsCQwDOCwPEydkLTx7cy8lEnY
call fcn.004023c4
lea eax, [ebp - 0x6c]
push eax
call fcn.0040420d
add esp, 0x28
push dword [eax]
lea eax, [ebp + 0x98]
push eax
call fcn.00450a97
mov ecx, dword [ebp - 0x6c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00401264
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.CSNzBAY8cxIKIh4DAng4YAkJczgCLA4CAyUSdg
call fcn.004023c4
lea eax, [ebp - 0x6c]
push eax
call fcn.0040420d
add esp, 0x28
push dword [eax]
lea eax, [ebp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401264
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x98]
push eax
push dword [ebp - 0x78]
xor ebx, ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40aa1a
cmp dword [ebp - 0x74], ebx
je 0x40aa1a
cmp dword [ebp - 0x70], ebx
je 0x40aa1a
push dword [ebp - 0x70]
jmp 0x40aa1f
push 0x472be5
push esi
call edi
push esi
mov ecx, 0x49573c
call fcn.00403fb3
mov ecx, dword [ebp - 0x7c]
push 0x49573c
call fcn.0040396c
mov ecx, dword [ebp + 0x198]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e4c7
add ebp, 0x19c
leave
ret