Function at 0x409dfe
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x48c170]
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 [0x48d710]
mov eax, dword [eax - 0xc]
push esi
push edi
cmp eax, ebx
jne 0x40a009
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, 0x48d720
cmp edi, ebx
je 0x409ffe
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
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.Bgw7KBwzNj8TNDw1Bg4oOzQpNjsuMzU0
call fcn.004023d2
lea eax, [ebp - 0x6c]
push eax
call fcn.004041dc
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x20
push dword [eax]
lea eax, [ebp + 0x98]
push eax
call edi
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401268
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 0x409f25
cmp dword [ebp - 0x74], ebx
je 0x409f25
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x409f25
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.f2puIn9qbiI
call fcn.004023d2
lea eax, [ebp - 0x6c]
push eax
call fcn.004041dc
add esp, 0x20
push dword [eax]
push esi
call fcn.0044dfe8
add esp, 0x10
jmp 0x409f48
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.am5rY2puOGo
call fcn.004023d2
lea eax, [ebp - 0x6c]
push eax
call fcn.004041dc
add esp, 0x20
push dword [eax]
push esi
call edi
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401268
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.BgkuKDM0PRwzNj8TNDw1Bn8pBg
call fcn.004023d2
lea eax, [ebp - 0x6c]
push eax
call fcn.004041dc
add esp, 0x20
push dword [eax]
lea eax, [ebp + 0x98]
push eax
call fcn.0044dfe8
mov ecx, dword [ebp - 0x6c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00401268
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.HDM2Pww_KCkzNTQ
call fcn.004023d2
lea eax, [ebp - 0x6c]
push eax
call fcn.004041dc
add esp, 0x20
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.00401268
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 0x409ff6
cmp dword [ebp - 0x74], ebx
je 0x409ff6
cmp dword [ebp - 0x70], ebx
je 0x409ff6
push dword [ebp - 0x70]
jmp 0x409ffb
push 0x46fb75
push esi
call edi
push esi
mov ecx, 0x48d710
call fcn.00403f94
mov ecx, dword [ebp - 0x7c]
push 0x48d710
call fcn.0040394d
mov ecx, dword [ebp + 0x198]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ba77
add ebp, 0x19c
leave
ret