Function at 0x424ad0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465099
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x48672c]
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 ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea edx, [ebp - 0x64]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xd4], ebx
push edx
mov ecx, edi
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe4], ebx
call fcn.004232f0
cmp dword [eax + 0x14], 8
jb 0x424b34
mov eax, dword [eax]
lea ecx, [ebp - 0xe4]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp dword [ebp - 0x50], 8
mov esi, eax
jb 0x424b55
mov edx, dword [ebp - 0x64]
push edx
call fcn.00433b3e
add esp, 4
cmp esi, ebx
jne 0x424b8a
push 1
push str.mailru::resource::version_info
push str.Resource.cpp
push 0x5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00411f10
push 0x47d030
lea eax, [ebp - 0xc8]
push eax
call fcn.00434502
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call fcn.004263a0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.004232f0
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x424bb6
mov eax, dword [eax]
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xe4]
push edx
push esi
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
sete byte [ebp - 0xc9]
cmp dword [ebp - 0x18], edi
jb 0x424be2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00433b3e
add esp, 4
cmp byte [ebp - 0xc9], bl
je 0x424c1b
push 1
push str.mailru::resource::version_info
push str.Resource.cpp
push 0x63
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00411f10
push 0x47d030
lea eax, [ebp - 0xc8]
push eax
call fcn.00434502
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xd4]
push edx
push str.VarFileInfoTranslation
push esi
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xe8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x424c7e
push 1
push str.mailru::resource::version_info
push str.Resource.cpp
push 0x6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00411f10
push 0x47d030
lea eax, [ebp - 0xc8]
push eax
call fcn.00434502
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push 0x3e
lea eax, [ebp - 0xa2]
xor edx, edx
push ebx
push eax
mov byte [ebp - 4], 1
mov word [ebp - 0xa4], dx
call fcn.00434950
mov eax, dword [ebp - 0xd4]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0xa4]
push 0x4702bc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xa4]
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x424cd7
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00401b10
push 1
push 0x4702b8
lea ecx, [ebp - 0x48]
call fcn.00406920
mov edx, dword [ebp - 0xd0]
push 0xffffffffffffffff
push ebx
push edx
lea ecx, [ebp - 0x48]
call fcn.00403a10
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x424d22
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xe0]
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x424d6c
push 1
push str.mailru::resource::version_info
push str.Resource.cpp
push 0x7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00411f10
push 0x47d030
lea eax, [ebp - 0xc8]
push eax
call fcn.00434502
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xdc]
lea ecx, [eax + ecx*2]
push edx
push ecx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00426c40
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], eax
jne 0x424dd2
push 1
push str.mailru::resource::version_info
push str.Resource.cpp
push 0x7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00411f10
push 0x47d030
lea eax, [ebp - 0xc8]
push eax
call fcn.00434502
cmp word [eax - 2], bx
je 0x424ded
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xd0], ebx
call fcn.00425f70
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0xdc]
push edx
mov ecx, esi
call fcn.00401e00
lea ecx, [ebp - 0x20]
call fcn.00403820
lea ecx, [ebp - 0x48]
call fcn.00431b40
lea ecx, [ebp - 0x58]
call fcn.00403820
mov eax, esi
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.00434932
mov esp, ebp
pop ebp
ret