Function at 0x404220
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push edi
lea edi, [ebp - 0x230]
mov ecx, 0x8c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x42228c]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
push 0x208
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, esp
call fcn.00415464
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x210]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
push eax
call fcn.004084f3
add esp, 4
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x218]
push edx
push 0
lea eax, [ebp - 0x210]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
push 0x424094
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00404150
add esp, 8
mov dword [ebp - 0x230], eax
call fcn.00408815
add eax, 0x40
push eax
push 0x4240b0
call fcn.00409354
add esp, 8
call fcn.00408815
add eax, 0x40
push eax
mov edx, dword [ebp - 0x230]
push edx
call fcn.00409354
add esp, 8
call fcn.00408815
add eax, 0x40
push eax
push 0x4240b4
call fcn.00409354
add esp, 8
push 0x4240bc
mov eax, dword [ebp - 0x228]
push eax
call fcn.00404150
add esp, 8
mov dword [ebp - 0x22c], eax
call fcn.00408815
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.00409354
add esp, 8
call fcn.00408815
add eax, 0x40
push eax
push 0x4240d4
call fcn.00409354
add esp, 8
push 0x4240dc
mov edx, dword [ebp - 0x228]
push edx
call fcn.00404150
add esp, 8
mov dword [ebp - 0x22c], eax
call fcn.00408815
add eax, 0x40
push eax
mov eax, dword [ebp - 0x22c]
push eax
call fcn.00409354
add esp, 8
call fcn.00408815
add eax, 0x40
push eax
push 0x4240fc
call fcn.00409354
add esp, 8
push 0x424100
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00404150
add esp, 8
mov dword [ebp - 0x22c], eax
call fcn.00408815
add eax, 0x40
push eax
mov edx, dword [ebp - 0x22c]
push edx
call fcn.00409354
add esp, 8
call fcn.00408815
add eax, 0x40
push eax
push 0x424120
call fcn.00409354
add esp, 8
push 0x424124
mov eax, dword [ebp - 0x228]
push eax
call fcn.00404150
add esp, 8
mov dword [ebp - 0x22c], eax
call fcn.00408815
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.00409354
add esp, 8
call fcn.00408815
add eax, 0x40
push eax
push 0x42413c
call fcn.00409354
add esp, 8
call fcn.00408815
add eax, 0x40
push eax
call fcn.0040902b
add esp, 4
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp esi, esp
call fcn.00415464
cmp eax, 0x80000000
jb 0x404477
mov edx, dword [ebp - 0x230]
push edx
push str._s_requires_Windows_NT_2000_XP_2003._n_n
call fcn.00408815
add eax, 0x40
push eax
call fcn.00409238
add esp, 0xc
push 1
call fcn.00408e09
cmp dword [ebp + 8], 0
je 0x4044b5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call 0x402110
add esp, 0xc
test eax, eax
jne 0x4044b5
push str.Eula_declined._n_n
call fcn.00408815
add eax, 0x40
push eax
call fcn.00409238
add esp, 8
push 1
call fcn.00408e09
mov eax, dword [ebp - 0x228]
push eax
call fcn.00408360
add esp, 4
push edx
mov ecx, ebp
push eax
lea edx, [0x4044f4]
call fcn.00415487
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407dba
add esp, 0x230
cmp ebp, esp
call fcn.00415464
mov esp, ebp
pop ebp
ret