Function at 0x44ea70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60dc2c
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 4], 1
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea eax, [ebp - 0x123]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x44eb02
call fcn.004187f0
push eax
call sub.MSVCR90.dll_strlen
add esp, 4
push eax
call fcn.004187f0
push eax
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.MSVCR90.dll_strncpy]
add esp, 0xc
jmp 0x44eb1f
push 0x104
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x124]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047ce38
add esp, 4
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
lea eax, [ebp - 0x124]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x44ec2d
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x616ef8
mov eax, dword [ebp - 0x18]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x44ec2d
mov byte [ebp - 0x244], 0
push 0xff
push 0
lea ecx, [ebp - 0x243]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push str._u._u._u._u
push 0xff
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x1c
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [ebp - 0x250]
or ecx, 1
mov dword [ebp - 0x250], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret