Function at 0x42c1c6
Capabilities:
Get file version info
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
push ebx
push esi
push edi
push 0x119b
push dword [0x45ffcc]
mov esi, ecx
call fcn.004317aa
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042d3c6
mov eax, dword [esi + 0x1c0]
cmp eax, 0xffffffff
je 0x42c209
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x1c0], eax
je 0x42c3de
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [esi + 0x1c4], eax
je 0x42c3de
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 0x1c8], eax
je 0x42c3de
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 0x104]
call fcn.0042c885
test al, al
je 0x42c3de
cmp word [esi + 0x110], 0x3d0b
je 0x42c385
mov ebx, 0x104
lea eax, [ebp - 0x130]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x130]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, edi
mov dword [ebp + 0x14], eax
je 0x42c313
push eax
call fcn.00442e85
cmp eax, edi
pop ecx
mov dword [ebp + 0x10], eax
je 0x42c313
push eax
lea eax, [ebp - 0x130]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x14]
push eax
push str.StringFileInfo040904b0ProductVersion
push dword [ebp + 0x10]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42c30a
cmp dword [ebp + 0x14], edi
je 0x42c30a
push ebx
lea eax, [ebp - 0x130]
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 0x10]
call fcn.00442b3f
pop ecx
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0042c8f4
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x2c0]
push 0x190
push eax
push 1
push dword [0x45ffcc]
call esi
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x2c]
push 0x28
push eax
push 0x63
push dword [0x45ffcc]
call esi
lea eax, [ebp - 0x2c]
push 0x2010
push eax
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x42c3de
push 0x1199
push dword [0x45ffcc]
call fcn.004317aa
lea eax, [ebp - 4]
lea ecx, [esi + 0x130]
push eax
call fcn.0042c42e
test al, al
je 0x42c3de
push 0x119a
push dword [0x45ffcc]
call fcn.004317aa
lea eax, [ebp - 4]
lea ecx, [esi + 0x15c]
push eax
call fcn.0042c5db
test al, al
je 0x42c3de
lea eax, [ebp - 4]
lea ecx, [esi + 0x188]
push eax
call fcn.0042c76c
test al, al
jne 0x42c3e2
xor al, al
jmp 0x42c427
cmp word [esi + 0x10e], 2
jne 0x42c425
cmp dword [esi + 0x1b4], edi
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
mov byte [esi + 0x1cc], 1
jne 0x42c40f
push str.DemoNow
push edi
call ebx
mov dword [esi + 0x1b4], eax
cmp dword [esi + 0x1b4], edi
jne 0x42c425
push str.InstallFromTheWeb
push edi
call ebx
mov dword [esi + 0x1b4], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0x10