Function at 0x140018720
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x210
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rsp + 0x208], rax
mov rbx, rdx
mov r14, rcx
xor edi, edi
call fcn.140019720
mov rcx, rbx
call fcn.1400bfa80
test al, al
je 0x140019220
mov dword [rsp + 0x34], edi
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140018784
mov rcx, qword [rbx]
lea rdx, [rsp + 0x34]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
mov dword [rsp + 0x58], edi
test eax, eax
je 0x140019220
mov rcx, rdi
lea rdx, [0x1402c0d1c]
call fcn.140183ac0
mov r12, rax
test rax, rax
je 0x140019220
cmp qword [rbx + 0x18], 8
jb 0x1400187c2
mov rbx, qword [rbx]
mov r9, r12
mov r8d, edi
mov edx, dword [rsp + 0x34]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, r12
test eax, eax
jne 0x1400187e6
call fcn.14018370c
jmp 0x140019220
xor edi, edi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [0x14023d488]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14001883d
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14001883d
cmp dword [rsp + 0x20], 0x34
jne 0x14001883d
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r14 + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [r14 + 0x30], eax
mov r13, rdi
mov qword [rsp + 0x40], rdi
mov rsi, rdi
mov qword [rsp + 0x48], rdi
mov r15, rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x38]
lea rdx, str.VarFileInfoTranslation
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140019215
cmp qword [rsp + 0x38], 0
je 0x140019215
mov ebx, edi
test dword [rsp + 0x20], 0xfffffffc
jbe 0x140018950
mov ecx, 0x409
mov eax, ebx
lea rdi, [rax*4]
mov r8, qword [rsp + 0x38]
add r8, rdi
cmp r15, rsi
je 0x1400188c8
mov eax, dword [r8]
mov dword [rsi], eax
add rsi, 4
mov qword [rsp + 0x48], rsi
jmp 0x1400188e9
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140019b30
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov r13, qword [rsp + 0x40]
mov ecx, 0x409
mov rax, qword [rsp + 0x38]
cmp word [rdi + rax], 0
jne 0x140018938
mov eax, dword [rdi + rax]
mov dword [rsp + 0x30], eax
mov word [rsp + 0x30], cx
cmp r15, rsi
je 0x140018917
mov eax, dword [rsp + 0x30]
mov dword [rsi], eax
add rsi, 4
mov qword [rsp + 0x48], rsi
jmp 0x140018938
lea r8, [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140019b30
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov r13, qword [rsp + 0x40]
inc ebx
mov eax, dword [rsp + 0x20]
shr eax, 2
cmp ebx, eax
mov ecx, 0x409
jb 0x1400188a1
xor edi, edi
mov rbx, r13
cmp r13, rsi
je 0x1400191e3
nop dword [rax]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], di
movzx r9d, word [rbx + 2]
movzx r8d, word [rbx]
lea rdx, str.StringFileInfo_04x_04x_
lea rcx, [rsp + 0x68]
call fcn.1400b2790
lea r8, [0x14023db58]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x1e8]
call fcn.140019ce0
nop
cmp qword [r14 + 0x48], 0
jne 0x140018a14
lea rdx, [rsp + 0x1e8]
cmp qword [rsp + 0x200], 8
cmovae rdx, qword [rsp + 0x1e8]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018a14
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018a14
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018a00
lea rcx, [r14 + 0x38]
call fcn.140006b90
lea r8, [0x14023db70]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x1c8]
call fcn.140019ce0
nop
cmp qword [r14 + 0x68], 0
jne 0x140018a94
lea rdx, [rsp + 0x1c8]
cmp qword [rsp + 0x1e0], 8
cmovae rdx, qword [rsp + 0x1c8]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018a94
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018a94
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018a80
lea rcx, [r14 + 0x58]
call fcn.140006b90
lea r8, [0x14023db90]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x1a8]
call fcn.140019ce0
nop
cmp qword [r14 + 0x88], 0
jne 0x140018b14
lea rdx, [rsp + 0x1a8]
cmp qword [rsp + 0x1c0], 8
cmovae rdx, qword [rsp + 0x1a8]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018b14
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018b14
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018b00
lea rcx, [r14 + 0x78]
call fcn.140006b90
lea r8, [0x14023dba8]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x188]
call fcn.140019ce0
nop
cmp qword [r14 + 0xa8], 0
jne 0x140018b97
lea rdx, [rsp + 0x188]
cmp qword [rsp + 0x1a0], 8
cmovae rdx, qword [rsp + 0x188]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018b97
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018b97
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018b80
lea rcx, [r14 + 0x98]
call fcn.140006b90
lea r8, [0x14023dbc8]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x168]
call fcn.140019ce0
nop
cmp qword [r14 + 0xc8], 0
jne 0x140018c17
lea rdx, [rsp + 0x168]
cmp qword [rsp + 0x180], 8
cmovae rdx, qword [rsp + 0x168]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018c17
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018c17
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018c00
lea rcx, [r14 + 0xb8]
call fcn.140006b90
lea r8, str.OriginalFileName
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x148]
call fcn.140019ce0
nop
cmp qword [r14 + 0xe8], 0
jne 0x140018c97
lea rdx, [rsp + 0x148]
cmp qword [rsp + 0x160], 8
cmovae rdx, qword [rsp + 0x148]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018c97
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018c97
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018c80
lea rcx, [r14 + 0xd8]
call fcn.140006b90
lea r8, [0x14023dc10]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x128]
call fcn.140019ce0
nop
cmp qword [r14 + 0x108], 0
jne 0x140018d17
lea rdx, [rsp + 0x128]
cmp qword [rsp + 0x140], 8
cmovae rdx, qword [rsp + 0x128]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018d17
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018d17
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018d00
lea rcx, [r14 + 0xf8]
call fcn.140006b90
lea r8, [0x14023dc28]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.140019ce0
nop
cmp qword [r14 + 0x128], 0
jne 0x140018d97
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rdx, qword [rsp + 0x88]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018d97
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018d97
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018d80
lea rcx, [r14 + 0x118]
call fcn.140006b90
lea r8, [0x14023dc48]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x108]
call fcn.140019ce0
nop
cmp qword [r14 + 0x148], 0
jne 0x140018e17
lea rdx, [rsp + 0x108]
cmp qword [rsp + 0x120], 8
cmovae rdx, qword [rsp + 0x108]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018e17
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018e17
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018e00
lea rcx, [r14 + 0x138]
call fcn.140006b90
lea r8, str.LegalTrademarks
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xe8]
call fcn.140019ce0
nop
cmp qword [r14 + 0x168], 0
jne 0x140018e97
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rdx, qword [rsp + 0xe8]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018e97
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018e97
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018e80
lea rcx, [r14 + 0x158]
call fcn.140006b90
lea r8, str.PrivateBuild
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xc8]
call fcn.140019ce0
nop
cmp qword [r14 + 0x188], 0
jne 0x140018f17
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rdx, qword [rsp + 0xc8]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018f17
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018f17
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018f00
lea rcx, [r14 + 0x178]
call fcn.140006b90
lea r8, str.SpecialBuild
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call fcn.140019ce0
nop
cmp qword [r14 + 0x1a8], 0
jne 0x140018f98
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rdx, qword [rsp + 0xa8]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140018f98
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018f98
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018f80
lea rcx, [r14 + 0x198]
call fcn.140006b90
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x140018fe0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018fdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001924f
call fcn.140183134
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 8
jb 0x140019044
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001903f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019255
call fcn.140183134
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 7
mov word [rsp + 0xc8], di
mov rdx, qword [rsp + 0x100]
cmp rdx, 8
jb 0x1400190a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400190a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001925b
call fcn.140183134
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x100], 7
mov word [rsp + 0xe8], di
mov rdx, qword [rsp + 0x120]
cmp rdx, 8
jb 0x14001910c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019107
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019261
call fcn.140183134
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x120], 7
mov word [rsp + 0x108], di
mov r8, qword [rsp + 0xa0]
cmp r8, 8
jb 0x14001914e
inc r8
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x88]
call fcn.1400070c0
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], di
lea rcx, [rsp + 0x128]
call fcn.140006ac0
nop
lea rcx, [rsp + 0x148]
call fcn.140006ac0
nop
lea rcx, [rsp + 0x168]
call fcn.140006ac0
nop
lea rcx, [rsp + 0x188]
call fcn.140006ac0
nop
lea rcx, [rsp + 0x1a8]
call fcn.140006ac0
nop
lea rcx, [rsp + 0x1c8]
call fcn.140006ac0
nop
lea rcx, [rsp + 0x1e8]
call fcn.140006ac0
nop
lea rcx, [rsp + 0x68]
call fcn.140006ac0
add rbx, 4
cmp rbx, rsi
jne 0x140018960
mov rcx, r12
call fcn.14018370c
nop
test r13, r13
je 0x140019211
sub r15, r13
sar r15, 2
mov r8, r15
mov rdx, r13
call fcn.140019a90
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov al, 1
jmp 0x140019222
mov rcx, r12
call fcn.14018370c
nop
jmp 0x140019220
xor al, al
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.1401836e0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140195f1c
nop
call fcn.140195f1c
nop
call fcn.140195f1c
nop
call fcn.140195f1c
int3