Function at 0x140018730
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.140019730
mov rcx, rbx
call fcn.1400bfa90
test al, al
je 0x140019230
mov dword [rsp + 0x34], edi
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140018794
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 0x140019230
mov rcx, rdi
lea rdx, [0x1402c0d1c]
call fcn.140183ba0
mov r12, rax
test rax, rax
je 0x140019230
cmp qword [rbx + 0x18], 8
jb 0x1400187d2
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 0x1400187f6
call fcn.1401837ec
jmp 0x140019230
xor edi, edi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [0x14023d458]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14001884d
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14001884d
cmp dword [rsp + 0x20], 0x34
jne 0x14001884d
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 0x140019225
cmp qword [rsp + 0x38], 0
je 0x140019225
mov ebx, edi
test dword [rsp + 0x20], 0xfffffffc
jbe 0x140018960
mov ecx, 0x409
mov eax, ebx
lea rdi, [rax*4]
mov r8, qword [rsp + 0x38]
add r8, rdi
cmp r15, rsi
je 0x1400188d8
mov eax, dword [r8]
mov dword [rsi], eax
add rsi, 4
mov qword [rsp + 0x48], rsi
jmp 0x1400188f9
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140019b40
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 0x140018948
mov eax, dword [rdi + rax]
mov dword [rsp + 0x30], eax
mov word [rsp + 0x30], cx
cmp r15, rsi
je 0x140018927
mov eax, dword [rsp + 0x30]
mov dword [rsi], eax
add rsi, 4
mov qword [rsp + 0x48], rsi
jmp 0x140018948
lea r8, [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140019b40
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 0x1400188b1
xor edi, edi
mov rbx, r13
cmp r13, rsi
je 0x1400191f3
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.1400b27a0
lea r8, [0x14023db28]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x1e8]
call fcn.140019cf0
nop
cmp qword [r14 + 0x48], 0
jne 0x140018a24
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 0x140018a24
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018a24
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018a10
lea rcx, [r14 + 0x38]
call fcn.140006b90
lea r8, [0x14023db40]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x1c8]
call fcn.140019cf0
nop
cmp qword [r14 + 0x68], 0
jne 0x140018aa4
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 0x140018aa4
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018aa4
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018a90
lea rcx, [r14 + 0x58]
call fcn.140006b90
lea r8, [0x14023db60]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x1a8]
call fcn.140019cf0
nop
cmp qword [r14 + 0x88], 0
jne 0x140018b24
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 0x140018b24
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018b24
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018b10
lea rcx, [r14 + 0x78]
call fcn.140006b90
lea r8, [0x14023db78]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x188]
call fcn.140019cf0
nop
cmp qword [r14 + 0xa8], 0
jne 0x140018ba7
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 0x140018ba7
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018ba7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018b90
lea rcx, [r14 + 0x98]
call fcn.140006b90
lea r8, [0x14023db98]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x168]
call fcn.140019cf0
nop
cmp qword [r14 + 0xc8], 0
jne 0x140018c27
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 0x140018c27
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018c27
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018c10
lea rcx, [r14 + 0xb8]
call fcn.140006b90
lea r8, str.OriginalFileName
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x148]
call fcn.140019cf0
nop
cmp qword [r14 + 0xe8], 0
jne 0x140018ca7
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 0x140018ca7
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018ca7
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018c90
lea rcx, [r14 + 0xd8]
call fcn.140006b90
lea r8, [0x14023dbe0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x128]
call fcn.140019cf0
nop
cmp qword [r14 + 0x108], 0
jne 0x140018d27
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 0x140018d27
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018d27
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018d10
lea rcx, [r14 + 0xf8]
call fcn.140006b90
lea r8, [0x14023dbf8]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.140019cf0
nop
cmp qword [r14 + 0x128], 0
jne 0x140018da7
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 0x140018da7
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018da7
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018d90
lea rcx, [r14 + 0x118]
call fcn.140006b90
lea r8, [0x14023dc18]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x108]
call fcn.140019cf0
nop
cmp qword [r14 + 0x148], 0
jne 0x140018e27
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 0x140018e27
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018e27
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018e10
lea rcx, [r14 + 0x138]
call fcn.140006b90
lea r8, str.LegalTrademarks
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xe8]
call fcn.140019cf0
nop
cmp qword [r14 + 0x168], 0
jne 0x140018ea7
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 0x140018ea7
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018ea7
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018e90
lea rcx, [r14 + 0x158]
call fcn.140006b90
lea r8, str.PrivateBuild
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xc8]
call fcn.140019cf0
nop
cmp qword [r14 + 0x188], 0
jne 0x140018f27
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 0x140018f27
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018f27
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018f10
lea rcx, [r14 + 0x178]
call fcn.140006b90
lea r8, str.SpecialBuild
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call fcn.140019cf0
nop
cmp qword [r14 + 0x1a8], 0
jne 0x140018fa8
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 0x140018fa8
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140018fa8
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018f90
lea rcx, [r14 + 0x198]
call fcn.140006b90
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x140018ff0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018feb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001925f
call fcn.140183214
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 8
jb 0x140019054
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001904f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019265
call fcn.140183214
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 7
mov word [rsp + 0xc8], di
mov rdx, qword [rsp + 0x100]
cmp rdx, 8
jb 0x1400190b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400190b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001926b
call fcn.140183214
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x100], 7
mov word [rsp + 0xe8], di
mov rdx, qword [rsp + 0x120]
cmp rdx, 8
jb 0x14001911c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019117
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019271
call fcn.140183214
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x120], 7
mov word [rsp + 0x108], di
mov r8, qword [rsp + 0xa0]
cmp r8, 8
jb 0x14001915e
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 0x140018970
mov rcx, r12
call fcn.1401837ec
nop
test r13, r13
je 0x140019221
sub r15, r13
sar r15, 2
mov r8, r15
mov rdx, r13
call fcn.140019aa0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov al, 1
jmp 0x140019232
mov rcx, r12
call fcn.1401837ec
nop
jmp 0x140019230
xor al, al
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.1401837c0
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.140195ffc
nop
call fcn.140195ffc
nop
call fcn.140195ffc
nop
call fcn.140195ffc
int3