Function at 0x405fb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cf10
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x44cba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x40603e
call dword [sym.imp.ACE.dll_public:_static_int___cdecl_ACE_Log_Msg::last_error_adapter_void_]
mov edi, eax
call dword [sym.imp.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_]
push edi
push 0
mov esi, eax
push 0x73
push str.VerifyFile.cpp
mov ecx, esi
call dword [sym.imp.ACE.dll_public:_void___thiscall_ACE_Log_Msg::conditional_set_char_const___int__int__int_]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__t___D____M___I_GetAppVersion:_GetFileVersionInfoSize_return_with__d_error._n
push 4
push esi
call dword [sym.imp.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__wchar_t_const__]
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
mov dword [ebp - 4], 0
neg ecx
or ecx, eax
push ecx
call fcn.00429303
mov ecx, dword [ebp + 8]
add esp, 4
mov esi, eax
push esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
push edi
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4060d4
call dword [sym.imp.ACE.dll_public:_static_int___cdecl_ACE_Log_Msg::last_error_adapter_void_]
mov ebx, eax
call dword [sym.imp.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_]
push ebx
push 0
mov edi, eax
push 0x83
push str.VerifyFile.cpp
mov ecx, edi
call dword [sym.imp.ACE.dll_public:_void___thiscall_ACE_Log_Msg::conditional_set_char_const___int__int__int_]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__t___D____M___I_GetAppVersion:_GetFileVersionInfo_return_with__d_error._n
push 4
push edi
call dword [sym.imp.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__wchar_t_const__]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x436bd4
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4061fd
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0xa]
mov edi, dword [ebp + 0xc]
mov word [ebx], cx
mov dx, word [eax + 8]
mov word [edi], dx
movzx ecx, word [eax + 0xe]
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
mov word [ecx], ax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
movzx eax, word [ebx]
add esp, 4
test ax, ax
je 0x4061b3
mov edx, 0x270f
cmp ax, dx
ja 0x4061b3
mov eax, edx
cmp word [edi], ax
ja 0x4061b3
mov edx, dword [ebp + 0x10]
mov ecx, eax
cmp word [edx], cx
ja 0x4061b3
mov ecx, dword [ebp + 0x14]
cmp word [ecx], ax
ja 0x4061b3
call dword [sym.imp.ACE.dll_public:_static_int___cdecl_ACE_Log_Msg::last_error_adapter_void_]
mov edi, eax
call dword [sym.imp.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_]
push edi
push 0
mov esi, eax
push 0x96
push str.VerifyFile.cpp
mov ecx, esi
call dword [sym.imp.ACE.dll_public:_void___thiscall_ACE_Log_Msg::conditional_set_char_const___int__int__int_]
mov edx, dword [ebp + 0x14]
movzx eax, word [edx]
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx]
push eax
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
push edx
movzx edx, word [ebx]
push ecx
push edx
push str.__t___D____M___I_GetAppVersion:_Got_version:__d._d._d._d_n
push 4
push esi
call dword [sym.imp.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__wchar_t_const__]
add esp, 0x1c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ACE.dll_public:_static_int___cdecl_ACE_Log_Msg::last_error_adapter_void_]
mov edi, eax
call dword [sym.imp.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_]
push edi
push 0
mov esi, eax
push 0x91
push str.VerifyFile.cpp
mov ecx, esi
call dword [sym.imp.ACE.dll_public:_void___thiscall_ACE_Log_Msg::conditional_set_char_const___int__int__int_]
push 0x436bd8
push 4
push esi
call dword [sym.imp.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__wchar_t_const__]
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ACE.dll_public:_static_int___cdecl_ACE_Log_Msg::last_error_adapter_void_]
mov ebx, eax
call dword [sym.imp.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_]
push ebx
push 0
mov edi, eax
push 0x9c
push str.VerifyFile.cpp
mov ecx, edi
call dword [sym.imp.ACE.dll_public:_void___thiscall_ACE_Log_Msg::conditional_set_char_const___int__int__int_]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__t___D____M___I_GetAppVersion:_VerQueryValue_return_with__d_error._n
jmp 0x4060ad