Function at 0x7719cc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ac068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x138]
push 0x104
push eax
push dword [ecx + 0x10]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x138]
lea eax, [ebp - 0x34]
push eax
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
test eax, eax
je 0x771ad7
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x771ad7
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov edx, 0
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
je 0x771a63
test eax, eax
jne 0x771a53
xor eax, eax
jmp 0x771a5a
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push dword [ebp - 0x30]
lea edx, [ebp - 0x138]
push eax
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x771aab
mov dword [ebp - 0x28], 0
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
push edx
push 0x8a1c54
push dword [ebp - 0x30]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x771aab
mov edi, dword [ebp - 0x28]
test edi, edi
jne 0x771b2f
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x30]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], 2
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x771ad7
push eax
call fcn.007703b0
pop ecx
mov edi, 0x8a1c7c
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x771af2
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x771ae6
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [ebp + 8]
mov esi, dword [edx]
sub esi, dword [ecx + 8]
mov ebx, eax
cmp esi, ebx
ja 0x771b0c
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test ebx, ebx
ja 0x771be2
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x24]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
lea ebx, [edi - 1]
sub ecx, dword [edx + 8]
cmp ecx, ebx
ja 0x771b4c
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test ebx, ebx
jne 0x771b9a
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x30]
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x771b7c
push eax
call fcn.007703b0
pop ecx
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push 0
mov eax, dword [ecx + 8]
lea edi, [eax + edi - 1]
mov dword [ebp - 0x14], edi
push edi
call fcn.00771e24
movzx eax, al
test eax, eax
je 0x771b50
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
add edi, dword [eax + 8]
mov ecx, ebx
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov dword [eax + 8], ecx
mov byte [edx + ecx], 0
jmp 0x771b50
mov ecx, dword [ebp + 8]
push 0
mov edx, dword [ecx + 8]
add edx, ebx
mov dword [ebp - 0x14], edx
push edx
call fcn.00771e24
movzx edx, al
test edx, edx
je 0x771b14
mov edx, dword [ebp + 8]
mov edi, dword [edx + 4]
add edi, dword [edx + 8]
mov esi, 0x8a1c7c
mov ecx, ebx
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov dword [eax + 8], ecx
mov byte [edx + ecx], 0
jmp 0x771b14