Function at 0x14004f850
Capabilities:
Get file version info

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0x80], rdx
mov r15, rcx
mov qword [rsp + 0x68], rcx
mov r13, qword [r8 + 8]
test r13, r13
je 0x14004ffb5
cmp r13, 1
jne 0x14004f8aa
mov rax, qword [r8]
cmp dword [rax], 7
lea esi, [r13 + 1]
je 0x14004f8af
mov esi, 1
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x50], xmm0
movups xmm1, xmm0
movaps xmmword [rsp + 0x70], xmm0
psrldq xmm1, 8
movq rcx, xmm1
test rcx, rcx
je 0x14004ffcb
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rcx*2]
lea rax, [rcx - 2]
and eax, 0xfff
cmp rax, 0xffe
je 0x14004f923
call fcn.140053ab0
test al, al
je 0x14004f923
xor r12d, r12d
mov qword [rsp + 0x118], r12
mov eax, r12d
mov qword [rsp + 0x128], rax
mov ecx, 7
mov qword [rsp + 0x130], rcx
mov word [rsp + 0x118], r12w
jmp 0x14004f97e
xor r12d, r12d
mov qword [rsp + 0x118], r12
mov qword [rsp + 0x128], r12
mov qword [rsp + 0x130], 7
mov word [rsp + 0x118], r12w
movups xmm1, xmmword [rbx]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r8, xmm0
movq rdx, xmm1
lea rcx, [rsp + 0x118]
call fcn.140002fb0
mov rcx, qword [rsp + 0x130]
mov rax, qword [rsp + 0x128]
test rax, rax
jne 0x14004f98d
mov rbx, qword [rsp + 0x50]
test rbx, rbx
jne 0x14004f9a2
lea rbx, [rsp + 0x118]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x118]
mov qword [rsp + 0x138], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x50], r12d
lea r8, [rsp + 0x50]
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
mov edi, eax
test eax, eax
je 0x14004fffc
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0xf8]
call fcn.140011bf0
lea rax, [rsp + 0xf8]
cmp qword [rsp + 0x110], 8
cmovae rax, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
test eax, eax
jne 0x14004fa95
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rsi, [0x1401c10e8]
mov qword [rsp + 0x40], rsi
xor cl, cl
mov byte [rsp + 0xf0], cl
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0xd0], xmm0
mov rdx, qword [rsp + 0x110]
cmp rdx, 8
jb 0x14004fac5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050033
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050033
jmp 0x14005002d
mov cl, 1
mov byte [rsp + 0xf0], cl
movups xmm0, xmmword [rsp + 0xf8]
movups xmmword [rsp + 0xd0], xmm0
movups xmm1, xmmword [rsp + 0x108]
movups xmmword [rsp + 0xe0], xmm1
lea rsi, [0x1401c10e8]
mov rdx, qword [rsp + 0x130]
cmp rdx, 8
jb 0x14004fb15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fb08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050045
call fcn.140074f80
movzx ecx, byte [rsp + 0xf0]
mov qword [rsp + 0x128], r12
mov qword [rsp + 0x130], 7
mov word [rsp + 0x118], r12w
cmp cl, 1
je 0x14004fba7
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [r15], xmm0
movzx edx, cl
test cl, cl
je 0x140050050
cmp edx, 1
jne 0x140050050
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x140050050
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005004b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005004b
jmp 0x140050281
mov dword [rsp + 0x30], r12d
lea rax, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rax, qword [rsp + 0xd0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x60], r12
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x60]
lea rdx, str.VarFileInfoTranslation
mov rcx, rax
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14004ff17
cmp dword [rsp + 0x30], 4
jb 0x14004ff17
mov rdi, qword [r14]
lea r14, [r13*2]
add r14, r13
shl r14, 4
add r14, rdi
lea rdx, [0x140000000]
cmp rdi, r14
je 0x14004feab
movsxd rax, dword [rdi]
cmp r13, 1
jbe 0x14004fc34
cmp eax, 7
je 0x140050058
cmp eax, 0xb
ja case.default.0x14004fc43
mov ecx, dword [rdx + rax*4 + 0x50298]
add rcx, rdx
jmp rcx
lea rcx, str.Comments
jmp 0x14004fcb8
lea rcx, [0x1401814e0]
jmp 0x14004fcb8
lea rcx, [0x1401814f8]
jmp 0x14004fcb8
lea rcx, [0x1401814a8]
jmp 0x14004fcb8
lea rcx, [0x1401814c0]
jmp 0x14004fcb8
lea rcx, [0x140181560]
jmp 0x14004fcb8
lea rcx, str.LegalTrademarks
jmp 0x14004fcb8
lea rcx, [0x140181518]
jmp 0x14004fcb8
lea rcx, str.PrivateBuild
jmp 0x14004fcb8
lea rcx, [0x1401815d0]
jmp 0x14004fcb8
lea rcx, [0x1401815e8]
jmp 0x14004fcb8
lea rcx, str.SpecialBuild
jmp 0x14004fcb8
lea rcx, [0x1401815c0]
mov rax, qword [rsp + 0x60]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
mov qword [rsp + 0x20], rcx
lea rdx, str.StringFileInfo_04x_04x_ls
lea rcx, [rsp + 0xf8]
call fcn.140053710
nop
mov qword [rsp + 0x50], r12
lea rdx, [rsp + 0xf8]
cmp qword [rsp + 0x110], 8
cmovae rdx, qword [rsp + 0xf8]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14005012a
jmp 0x14004fd75
call fcn.140074f80
nop
mov rdx, qword [rsp + 0x110]
cmp rdx, 8
jb 0x14004fd6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fd67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005027b
call fcn.140074f80
add rdi, 0x30
jmp 0x14004fc12
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1400501d2
mov qword [rsp + 0x170], r12
mov qword [rsp + 0x180], r12
mov qword [rsp + 0x188], 7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14004fdb0
lea rcx, [rsp + 0x170]
call fcn.140002fb0
mov byte [rsp + 0x168], 1
movups xmm0, xmmword [rsp + 0x170]
movups xmmword [rsp + 0x148], xmm0
movups xmm1, xmmword [rsp + 0x180]
movups xmmword [rsp + 0x158], xmm1
lea rdx, [rsp + 0x148]
lea rcx, [rdi + 8]
call fcn.140050310
movzx ecx, byte [rsp + 0x168]
test ecx, ecx
je 0x14004fe5b
cmp ecx, 1
jne 0x14004fe5b
mov rdx, qword [rsp + 0x160]
cmp rdx, 8
jb 0x14004fe5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fe55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050275
call fcn.140074f80
nop
mov rdx, qword [rsp + 0x110]
cmp rdx, 8
jb 0x14004fd6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fd67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005027b
jmp 0x14004fd67
mov dword [r15], r12d
lea rcx, [0x1401b5730]
mov qword [r15 + 8], rcx
movzx ecx, byte [rsp + 0xf0]
test ecx, ecx
je 0x14004ff12
cmp ecx, 1
jne 0x14004ff12
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x14004ff12
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ff0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050281
call fcn.140074f80
mov rax, r15
jmp 0x14004ff92
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov qword [r15 + 8], rsi
movzx ecx, byte [rsp + 0xf0]
test ecx, ecx
je 0x14005028c
cmp ecx, 1
jne 0x14005028c
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x14005028c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050287
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050287
jmp 0x140050281
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400fb890
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
xor r12d, r12d
mov dword [rcx], r12d
lea rcx, [0x1401b5730]
mov qword [r15 + 8], rcx
mov rax, r15
jmp 0x14004ff92
xor r12d, r12d
mov qword [rsp + 0x118], r12
mov eax, r12d
mov qword [rsp + 0x128], rax
mov ecx, 7
mov qword [rsp + 0x130], rcx
mov word [rsp + 0x118], r12w
jmp 0x14004f97e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rsi, [0x1401c10e8]
mov qword [rsp + 0x40], rsi
xor cl, cl
mov byte [rsp + 0xf0], cl
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0xd0], xmm0
jmp 0x14004fac5
call fcn.140103230
int3
call fcn.140074f80
movzx ecx, byte [rsp + 0xf0]
jmp 0x14004fac5
call fcn.140103230
nop
call fcn.140074f80
mov rax, r15
jmp 0x14004ff92
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], 1
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0xc0], xmm0
mov rax, qword [rsp + 0x80]
movups xmm1, xmmword [rax]
movaps xmmword [rsp + 0x170], xmm1
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xa0]
call fcn.14004f850
cmp dword [rsp + 0xa0], 0
je 0x14004fd6c
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [r15], xmm0
movzx ecx, byte [rsp + 0xf0]
test ecx, ecx
je 0x140050122
cmp ecx, 1
jne 0x140050122
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x140050122
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005011d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005011d
call fcn.140103230
int3
call fcn.140074f80
mov rax, r15
jmp 0x14004ff92
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xb0], eax
mov qword [rsp + 0xb8], rsi
mov byte [rsp + 0x168], 0
movups xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsp + 0x148], xmm0
lea rdx, [rsp + 0x148]
lea rcx, [rdi + 8]
call fcn.140050310
movzx ecx, byte [rsp + 0x168]
test ecx, ecx
je 0x14004fd24
cmp ecx, 1
jne 0x14004fd24
mov rdx, qword [rsp + 0x160]
cmp rdx, 8
jb 0x14004fd24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fd1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fd1e
call fcn.140103230
int3
mov dword [rsp + 0x70], 0x22
mov rax, qword [0x1401c1090]
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x168], dl
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x148], xmm0
lea rdx, [rsp + 0x148]
lea rcx, [rdi + 8]
call fcn.140050310
movzx ecx, byte [rsp + 0x168]
test ecx, ecx
je 0x14004fd24
cmp ecx, 1
jne 0x14004fd24
mov rdx, qword [rsp + 0x160]
cmp rdx, 8
jb 0x14004fd24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fd1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fd1e
call fcn.140103230
int3
call fcn.140103230
nop
call fcn.140103230
nop
call fcn.140103230
int3
call fcn.140074f80
mov rax, r15
jmp 0x14004ff92