Function at 0x424260
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fe0c
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x224], esi
test edi, edi
jne 0x4242b7
push 0x208
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edi, [ebp - 0x218]
lea eax, [ebp - 0x23c]
push eax
push edi
mov dword [ebp - 0x23c], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
push 0x432c58
mov ecx, esi
mov ebx, eax
call dword [sym.imp.mfc110u.dll_Ordinal_1516]
test ebx, ebx
je 0x4245a2
push ebx
call fcn.0042b4b0
mov esi, eax
add esp, 4
test esi, esi
je 0x4245a2
push esi
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x238]
push eax
push str.VarFileInfoTranslation
push esi
mov dword [ebp - 0x234], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x424599
push 0x432c58
lea ecx, [ebp - 0x230]
call dword [sym.imp.mfc110u.dll_Ordinal_286]
mov ecx, dword [ebp - 0x238]
mov edi, dword [sym.imp.mfc110u.dll_Ordinal_4754]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x230]
push str.StringFileInfo_04x_04xProductVersion
push eax
mov dword [ebp - 4], 0
call edi
add esp, 0x10
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x230]
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42458d
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x42458d
cmp dword [ebp - 0x234], 0
je 0x42458d
mov ebx, dword [ebp - 0x224]
push eax
mov ecx, ebx
call dword [sym.imp.mfc110u.dll_Ordinal_1516]
push 0x432c58
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc110u.dll_Ordinal_286]
push 0x432c58
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc110u.dll_Ordinal_286]
push 0x432c58
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc110u.dll_Ordinal_286]
push 0x432c58
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc110u.dll_Ordinal_286]
push ebx
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc110u.dll_Ordinal_1514]
push 0x437550
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc110u.dll_Ordinal_14080]
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc110u.dll_Ordinal_1514]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp - 0x22c]
sub ecx, dword [eax - 0xc]
lea eax, [ebp - 0x220]
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc110u.dll_Ordinal_12753]
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc110u.dll_Ordinal_1514]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
push 0x437550
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc110u.dll_Ordinal_14080]
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc110u.dll_Ordinal_1514]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp - 0x228]
sub ecx, dword [eax - 0xc]
lea eax, [ebp - 0x220]
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc110u.dll_Ordinal_12753]
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc110u.dll_Ordinal_1514]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc110u.dll_Ordinal_1514]
push dword [ebp - 0x228]
push dword [ebp - 0x22c]
push 0x437554
push ebx
call edi
push esi
call sub.MSVCR110.dll_void___cdecl_operator_delete___void__
add esp, 0x14
lea ecx, [ebp - 0x224]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x230]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
mov eax, 1
jmp 0x4245a4
lea ecx, [ebp - 0x230]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
push esi
call sub.MSVCR110.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 8