Function at 0x4cb3a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x647f87
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x6d3438]
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 0x4cb3e4
mov eax, dword [esi]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4cb45d
cmp dword [esi + 0x14], 8
jb 0x4cb3fb
mov esi, dword [esi]
push esi
push str.Unable_to_get_file_version_info_for_file:__s
push 0x28
push str.XMLUpdater::v2::CFileVersionSubstitution::Substitute
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterFileVersionSubstitution.cpp
push 1
call fcn.004acee0
mov edx, dword [0x6d168c]
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 0x4cb440
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0042e850
jmp 0x4cb6f9
push eax
call fcn.00608193
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 0x4cb47c
mov eax, dword [esi]
push edi
push dword [ebp - 0x20]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, 1
je 0x4cb4fd
cmp dword [esi + 0x14], 8
jb 0x4cb495
mov esi, dword [esi]
push esi
push str.Unable_to_get_file_version_data_for_file:__s
push 0x2f
push str.XMLUpdater::v2::CFileVersionSubstitution::Substitute
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterFileVersionSubstitution.cpp
push 1
call fcn.004acee0
mov edx, dword [0x6d168c]
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 0x4cb4d5
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0042e850
test edi, edi
je 0x4cb6f9
push 1
push edi
jmp 0x4cb6f1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
push 0x68e7fc
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4cb563
cmp dword [esi + 0x14], 8
jb 0x4cb52a
mov esi, dword [esi]
push esi
push str.VerQueryValue_failed_for_file:__s
push 0x37
push str.XMLUpdater::v2::CFileVersionSubstitution::Substitute
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterFileVersionSubstitution.cpp
push 1
call fcn.004acee0
add esp, 0x18
mov ecx, ebx
push dword [0x6d168c]
call fcn.0042a5a0
test edi, edi
je 0x4cb6f9
push 1
push edi
jmp 0x4cb6f1
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4cb5ab
cmp dword [esi + 0x14], 8
jb 0x4cb572
mov esi, dword [esi]
push esi
push str.Cant_read_version_info_for:__s
push 0x3d
push str.XMLUpdater::v2::CFileVersionSubstitution::Substitute
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterFileVersionSubstitution.cpp
push 1
call fcn.004acee0
add esp, 0x18
mov ecx, ebx
push dword [0x6d168c]
call fcn.0042a5a0
test edi, edi
je 0x4cb6f9
push 1
push edi
jmp 0x4cb6f1
movzx eax, word [eax + 0xc]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00450690
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.00450690
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.00450690
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.00450690
push 0x68f0d0
push eax
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 4
push eax
call fcn.00439860
add esp, 0x2c
push esi
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.0043aa30
push 0x68f0d0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00439860
add esp, 0xc
push edi
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.0043aa30
push 0x68f0d0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00439860
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.0043aa30
lea ecx, [ebp - 0x6c]
call fcn.0042f960
lea ecx, [ebp - 0x3c]
call fcn.0042f960
lea ecx, [ebp - 0x84]
call fcn.0042f960
lea ecx, [ebp - 0x54]
call fcn.0042f960
lea ecx, [ebp - 0x9c]
call fcn.0042f960
lea ecx, [ebp - 0xb4]
call fcn.0042f960
lea ecx, [ebp - 0xcc]
call fcn.0042f960
lea ecx, [ebp - 0xe4]
call fcn.0042f960
lea ecx, [ebp - 0xfc]
call fcn.0042f960
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4cb6f9
push 1
push eax
call fcn.00608415
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.00608185
mov esp, ebp
pop ebp
ret 0xc