Function at 0x40a53f
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x495180]
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 [0x49673c]
mov eax, dword [eax - 0xc]
push esi
push edi
cmp eax, ebx
jne 0x40a754
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, 0x496750
cmp edi, ebx
je 0x40a749
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
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.ATMpfAUzOSQFIDkHAyB6fggbOXMDCwsgKS1CwkeeicOCQBhLC0PMA15cgsDMCYiCzAHLAMZOSQFIDk4ADAlfQ
call fcn.004023a5
lea eax, [ebp - 0x6c]
push eax
call fcn.004042ec
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x24
push dword [eax]
lea eax, [ebp + 0x98]
push eax
call edi
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]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call sub.VERSION.dll_VerQueryValueA
cmp eax, ebx
je 0x40a66a
cmp dword [ebp - 0x74], ebx
je 0x40a66a
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x40a66a
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.ATMpfAUzOSQFIDklLx46IggzLjAsCT0tCw45OAAwJX0BMykmLj13dw
call fcn.004023a5
lea eax, [ebp - 0x6c]
push eax
call fcn.004042ec
add esp, 0x24
push dword [eax]
push esi
call fcn.0044f843
add esp, 0x10
jmp 0x40a68f
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.Kyc6OyskOmEveQR8LCMifCsnOjsrLXd3
call fcn.004023a5
lea eax, [ebp - 0x6c]
push eax
call fcn.004042ec
add esp, 0x24
push dword [eax]
push esi
call edi
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401264
push esi
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.Kyc6OysiExAaIC0gAAl6BwMzEzwLMxs5ABgQPAUYEDsrJzo7
call fcn.004023a5
lea eax, [ebp - 0x6c]
push eax
call fcn.004042ec
add esp, 0x24
push dword [eax]
lea eax, [ebp + 0x98]
push eax
call fcn.0044f843
mov ecx, dword [ebp - 0x6c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00401264
push 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.Cx4HOiwLHzAFGRsMAw4hfgsOBywLLTk9CDJKwk9BwsBGRhhDgt6KAEZKQYJeTpyCB4HfwALHy0FHi0LBwkccw
call fcn.004023a5
lea eax, [ebp - 0x6c]
push eax
call fcn.004042ec
add esp, 0x24
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]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40a741
cmp dword [ebp - 0x74], ebx
je 0x40a741
cmp dword [ebp - 0x70], ebx
je 0x40a741
push dword [ebp - 0x70]
jmp 0x40a746
push 0x471c55
push esi
call edi
push esi
mov ecx, 0x49673c
call fcn.00404048
mov ecx, dword [ebp - 0x7c]
push 0x49673c
call fcn.0040397f
mov ecx, dword [ebp + 0x198]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d0a7
add ebp, 0x19c
leave
ret