Function at 0x1400ec060
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rbx, r8
mov r15, rdx
mov qword [rbp + 0x58], rdx
mov rcx, r8
cmp qword [r8 + 0x18], 8
jb 0x1400ec0a3
mov rcx, qword [r8]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
jne 0x1400ec127
cmp qword [rbx + 0x18], 8
jb 0x1400ec0ba
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
lea rax, str.Unable_to_get_file_version_info_for_file:__s
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, str.NWebAdvisor::NXmlUpdater::CFileVersionSubstitution::Substitute
lea rdx, str.c:jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterFileVersionSubstitution.cpp
lea ecx, [r9 - 0x27]
call fcn.1400ebbc0
xor r14d, r14d
mov qword [r15], r14
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 7
mov word [r15], r14w
mov rdx, qword [str._UNKNOWN]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1400ec110
mov rcx, r15
call fcn.1400260f0
jmp 0x1400ec67a
mov rcx, rdi
call fcn.14014ff50
mov r12, rax
mov qword [rbp + 0x68], rax
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400ec143
mov rcx, qword [rbx]
mov r9, r12
mov r8d, edi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, 1
je 0x1400ec1c8
cmp qword [rbx + 0x18], 8
jb 0x1400ec15f
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
lea rax, str.Unable_to_get_file_version_data_for_file:__s
mov qword [rsp + 0x20], rax
mov r9d, 0x2f
lea r8, str.NWebAdvisor::NXmlUpdater::CFileVersionSubstitution::Substitute
lea rdx, str.c:jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterFileVersionSubstitution.cpp
lea ecx, [r9 - 0x2e]
call fcn.1400ebbc0
xor r14d, r14d
mov qword [r15], r14
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 7
mov word [r15], r14w
mov rdx, qword [str._UNKNOWN]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1400ec1b1
mov rcx, r15
call fcn.1400260f0
jmp 0x1400ec668
xor r14d, r14d
mov qword [rbp + 0x58], r14
mov dword [rbp + 0x60], r14d
lea r9, [rbp + 0x60]
lea r8, [rbp + 0x58]
lea rdx, [0x1401e6618]
mov rcx, r12
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1400ec267
cmp qword [rbx + 0x18], 8
jb 0x1400ec1f8
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
lea rax, str.VerQueryValue_failed_for_file:__s
mov qword [rsp + 0x20], rax
mov r9d, 0x37
lea r8, str.NWebAdvisor::NXmlUpdater::CFileVersionSubstitution::Substitute
lea rdx, str.c:jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterFileVersionSubstitution.cpp
lea ecx, [r9 - 0x36]
call fcn.1400ebbc0
mov qword [r15], r14
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 7
mov word [r15], r14w
mov rdx, qword [str._UNKNOWN]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1400ec250
mov rcx, r15
call fcn.1400260f0
jmp 0x1400ec668
mov rax, qword [rbp + 0x58]
test rax, rax
jne 0x1400ec2bc
cmp qword [rbx + 0x18], 8
jb 0x1400ec27a
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
lea rax, str.Cant_read_version_info_for:__s
mov qword [rsp + 0x20], rax
mov r9d, 0x3d
lea r8, str.NWebAdvisor::NXmlUpdater::CFileVersionSubstitution::Substitute
lea rdx, str.c:jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterFileVersionSubstitution.cpp
lea ecx, [r9 - 0x3c]
call fcn.1400ebbc0
mov rdx, qword [str._UNKNOWN]
mov rcx, r15
call fcn.140023870
jmp 0x1400ec668
movzx edx, word [rax + 0xc]
lea rcx, [rbp + 0x38]
call fcn.14005ca30
mov rsi, rax
mov rcx, qword [rbp + 0x58]
movzx edx, word [rcx + 0xe]
lea rcx, [rbp + 0x18]
call fcn.14005ca30
mov rdi, rax
mov rcx, qword [rbp + 0x58]
movzx edx, word [rcx + 8]
lea rcx, [rbp - 8]
call fcn.14005ca30
mov rbx, rax
mov rcx, qword [rbp + 0x58]
movzx edx, word [rcx + 0xa]
lea rcx, [rbp - 0x28]
call fcn.14005ca30
nop
lea r8, [0x1401e6568]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14005c250
nop
mov r9, rbx
mov r8, rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140058310
nop
lea r8, [0x1401e6568]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.14005c250
nop
mov r9, rdi
mov r8, rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140058310
nop
lea r8, [0x1401e6568]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.14005c250
nop
mov r9, rsi
mov r8, rax
movzx edx, byte [rsp + 0x30]
mov rcx, r15
call fcn.140058310
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400ec3c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec3c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ec6ab
call fcn.14014f900
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r14w
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400ec41c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec417
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ec6b1
call fcn.14014f900
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1400ec470
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec46b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ec6b7
call fcn.14014f900
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400ec4c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec4be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ec6bd
call fcn.14014f900
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400ec517
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec512
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ec6c3
call fcn.14014f900
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400ec568
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec563
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ec6c9
call fcn.14014f900
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x1400ec5b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec5b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ec6cf
call fcn.14014f900
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r14w
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x1400ec60a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec605
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ec6d5
call fcn.14014f900
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r14w
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x1400ec657
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec652
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ec6a5
call fcn.14014f900
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], 7
mov word [rbp + 0x38], r14w
test r12, r12
je 0x1400ec67a
mov edx, 1
mov rcx, r12
call fcn.14014f900
mov rax, r15
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14014f8e0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
int3