Function at 0x456bd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdbe7
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4ff684]
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 esi, dword [ebp + 0xc]
mov eax, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
cmp dword [esi + 0x14], 8
jb 0x456c14
mov eax, dword [esi]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x456c8d
cmp dword [esi + 0x14], 8
jb 0x456c2b
mov esi, dword [esi]
push esi
push str.Unable_to_get_file_version_info_for_file:__s
push 0x28
push str.NWebAdvisor::NXmlUpdater::CFileVersionSubstitution::Substitute
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterFileVersionSubstitution.cpp
push 1
call fcn.00449540
mov edx, dword [str._UNKNOWN]
add esp, 0x18
mov ecx, edx
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456c70
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0041441e
jmp 0x456f29
push eax
call fcn.004892e3
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 4], 0
jb 0x456cac
mov eax, dword [esi]
push edi
push dword [ebp - 0x20]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, 1
je 0x456d2d
cmp dword [esi + 0x14], 8
jb 0x456cc5
mov esi, dword [esi]
push esi
push str.Unable_to_get_file_version_data_for_file:__s
push 0x2f
push str.NWebAdvisor::NXmlUpdater::CFileVersionSubstitution::Substitute
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterFileVersionSubstitution.cpp
push 1
call fcn.00449540
mov edx, dword [str._UNKNOWN]
add esp, 0x18
mov ecx, edx
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456d05
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0041441e
test edi, edi
je 0x456f29
push 1
push edi
jmp 0x456f21
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
push 0x4ea02c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x456d93
cmp dword [esi + 0x14], 8
jb 0x456d5a
mov esi, dword [esi]
push esi
push str.VerQueryValue_failed_for_file:__s
push 0x37
push str.NWebAdvisor::NXmlUpdater::CFileVersionSubstitution::Substitute
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterFileVersionSubstitution.cpp
push 1
call fcn.00449540
add esp, 0x18
mov ecx, ebx
push dword [0x4ff4b4]
call fcn.00412441
test edi, edi
je 0x456f29
push 1
push edi
jmp 0x456f21
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x456ddb
cmp dword [esi + 0x14], 8
jb 0x456da2
mov esi, dword [esi]
push esi
push str.Cant_read_version_info_for:__s
push 0x3d
push str.NWebAdvisor::NXmlUpdater::CFileVersionSubstitution::Substitute
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterFileVersionSubstitution.cpp
push 1
call fcn.00449540
add esp, 0x18
mov ecx, ebx
push dword [0x4ff4b4]
call fcn.00412441
test edi, edi
je 0x456f29
push 1
push edi
jmp 0x456f21
movzx eax, word [eax + 0xc]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.004247e0
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 1
movzx ecx, word [ecx + 0xe]
push ecx
push eax
call fcn.004247e0
mov edi, eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 2
movzx ecx, word [ecx + 8]
push ecx
push eax
call fcn.004247e0
mov esi, eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 3
movzx ecx, word [ecx + 0xa]
push ecx
push eax
call fcn.004247e0
push 0x4ea0b0
push eax
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 4
push eax
call fcn.00424150
add esp, 0x2c
push esi
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.0041fed0
push 0x4ea0b0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00424150
add esp, 0xc
push edi
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.0041fed0
push 0x4ea0b0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00424150
add esp, 0xc
push ebx
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0041fed0
lea ecx, [ebp - 0x6c]
call fcn.00414870
lea ecx, [ebp - 0x3c]
call fcn.00414870
lea ecx, [ebp - 0x84]
call fcn.00414870
lea ecx, [ebp - 0x54]
call fcn.00414870
lea ecx, [ebp - 0x9c]
call fcn.00414870
lea ecx, [ebp - 0xb4]
call fcn.00414870
lea ecx, [ebp - 0xcc]
call fcn.00414870
lea ecx, [ebp - 0xe4]
call fcn.00414870
lea ecx, [ebp - 0xfc]
call fcn.00414870
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x456f29
push 1
push eax
call fcn.00488f15
add esp, 8
mov eax, ebx
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.00488f07
mov esp, ebp
pop ebp
ret 0xc