Function at 0x140005fb0
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 [0x1400f63f8]
xor rax, rsp
mov qword [rsp + 0x198], rax
mov r12, r8
mov rsi, rdx
mov qword [rsp + 0x80], rdx
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov r13, qword [r8 + 8]
test r13, r13
je 0x140006648
cmp r13, 1
jne 0x14000600a
mov rax, qword [r8]
cmp dword [rax], 7
lea r15d, [r13 + 1]
je 0x140006010
mov r15d, 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 0x14000665c
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rcx*2]
lea rax, [rcx - 2]
and eax, 0xfff
cmp rax, 0xffe
je 0x140006081
call fcn.140008720
test al, al
je 0x140006081
xor edi, edi
mov qword [rsp + 0x120], rdi
mov eax, edi
mov qword [rsp + 0x130], rax
mov ecx, 7
mov qword [rsp + 0x138], rcx
mov word [rsp + 0x120], di
jmp 0x1400060da
xor edi, edi
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x130], rdi
mov qword [rsp + 0x138], 7
mov word [rsp + 0x120], di
movups xmm1, xmmword [rsi]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r8, xmm0
movq rdx, xmm1
lea rcx, [rsp + 0x120]
call fcn.140003b60
mov rcx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x130]
test rax, rax
jne 0x1400060e9
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jne 0x1400060fe
lea rsi, [rsp + 0x120]
cmp rcx, 8
cmovae rsi, qword [rsp + 0x120]
mov qword [rsp + 0x140], rsi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x148], rax
mov dword [rsp + 0x50], edi
lea r8, [rsp + 0x50]
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
mov r14d, eax
test eax, eax
je 0x14000668a
mov rdx, r14
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0x118], 7
xor r8d, r8d
lea rcx, [rsp + 0x100]
call fcn.140005af0
lea rax, [rsp + 0x100]
cmp qword [rsp + 0x118], 8
cmovae rax, qword [rsp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
test eax, eax
jne 0x14000620f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea r15, [0x1400fe0c8]
mov qword [rsp + 0x40], r15
xor cl, cl
mov byte [rsp + 0xf0], cl
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0xd0], xmm0
mov rdx, qword [rsp + 0x118]
cmp rdx, 8
jb 0x14000623f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066c1
jmp 0x1400066bb
mov cl, 1
mov byte [rsp + 0xf0], cl
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [rsp + 0xd0], xmm0
movups xmm1, xmmword [rsp + 0x110]
movups xmmword [rsp + 0xe0], xmm1
lea r15, [0x1400fe0c8]
mov rdx, qword [rsp + 0x138]
cmp rdx, 8
jb 0x14000628f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006282
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400066d3
call fcn.140084c40
movzx ecx, byte [rsp + 0xf0]
mov qword [rsp + 0x130], rdi
mov qword [rsp + 0x138], 7
mov word [rsp + 0x120], di
cmp cl, 1
je 0x14000631f
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [rbx], xmm0
movzx edx, cl
test cl, cl
je 0x1400066de
cmp edx, 1
jne 0x1400066de
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x1400066de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066d9
jmp 0x140006840
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rax, qword [rsp + 0xd0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x60], rdi
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 0x1400065ab
cmp dword [rsp + 0x30], 4
jb 0x1400065ab
mov rsi, qword [r12]
lea r12, [r13*2]
add r12, r13
shl r12, 4
add r12, rsi
nop word [rax + rax]
cmp rsi, r12
je 0x140006540
mov ecx, dword [rsi]
cmp r13, 1
jbe 0x1400063aa
cmp ecx, 7
je 0x1400066e6
call fcn.140004bb0
mov rcx, qword [rsp + 0x60]
movzx r9d, word [rcx + 2]
movzx r8d, word [rcx]
mov qword [rsp + 0x20], rax
lea rdx, str.StringFileInfo_04x_04x_ls
lea rcx, [rsp + 0x178]
call fcn.140007dd0
nop
mov qword [rsp + 0x50], rdi
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 8
cmovae rdx, qword [rsp + 0x178]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400067b7
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140006819
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0x118], 7
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140006444
lea rcx, [rsp + 0x100]
call fcn.140003b60
mov byte [rsp + 0x170], 1
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [rsp + 0x150], xmm0
movups xmm1, xmmword [rsp + 0x110]
movups xmmword [rsp + 0x160], xmm1
lea rdx, [rsp + 0x150]
lea rcx, [rsi + 8]
call fcn.140006d40
movzx ecx, byte [rsp + 0x170]
test ecx, ecx
je 0x1400064ef
cmp ecx, 1
jne 0x1400064ef
mov rdx, qword [rsp + 0x168]
cmp rdx, 8
jb 0x1400064ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400064e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006834
call fcn.140084c40
nop
mov rdx, qword [rsp + 0x190]
cmp rdx, 8
jb 0x140006537
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006532
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000683a
call fcn.140084c40
add rsi, 0x30
jmp 0x140006390
mov dword [rbx], edi
lea rax, [0x1400f7038]
mov qword [rbx + 8], rax
movzx ecx, byte [rsp + 0xf0]
test ecx, ecx
je 0x1400065a6
cmp ecx, 1
jne 0x1400065a6
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x1400065a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006840
call fcn.140084c40
mov rax, rbx
jmp 0x140006625
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov qword [rbx + 8], r15
movzx ecx, byte [rsp + 0xf0]
test ecx, ecx
je 0x14000684b
cmp ecx, 1
jne 0x14000684b
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x14000684b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006846
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006846
jmp 0x140006840
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140085660
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
xor edi, edi
mov dword [rcx], edi
lea rax, [0x1400f7038]
mov qword [rcx + 8], rax
mov rax, rcx
jmp 0x140006625
xor edi, edi
mov qword [rsp + 0x120], rdi
mov eax, edi
mov qword [rsp + 0x130], rax
mov ecx, 7
mov qword [rsp + 0x138], rcx
mov word [rsp + 0x120], di
jmp 0x1400060da
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea r15, [0x1400fe0c8]
mov qword [rsp + 0x40], r15
xor cl, cl
mov byte [rsp + 0xf0], cl
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0xd0], xmm0
jmp 0x14000623f
call fcn.14008c334
int3
call fcn.140084c40
movzx ecx, byte [rsp + 0xf0]
jmp 0x14000623f
call fcn.14008c334
nop
call fcn.140084c40
mov rax, rbx
jmp 0x140006625
mov qword [rsp + 0x90], rsi
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 + 0x100], xmm1
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xa0]
call fcn.140005fb0
cmp dword [rsp + 0xa0], 0
je 0x140006537
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rbx], xmm0
movzx ecx, byte [rsp + 0xf0]
test ecx, ecx
je 0x1400067af
cmp ecx, 1
jne 0x1400067af
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x1400067af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400067aa
call fcn.14008c334
int3
call fcn.140084c40
mov rax, rbx
jmp 0x140006625
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xb0], eax
mov qword [rsp + 0xb8], r15
movups xmm0, xmmword [rsp + 0xb0]
mov byte [rsp + 0x170], 0
movups xmmword [rsp + 0x150], xmm0
lea rdx, [rsp + 0x150]
lea rcx, [rsi + 8]
call fcn.140006d40
lea rcx, [rsp + 0x150]
call fcn.140003930
nop
lea rcx, [rsp + 0x178]
call fcn.140002410
add rsi, 0x30
jmp 0x140006390
mov dword [rsp + 0x70], 0x22
mov rax, qword [0x1400fe070]
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [rsp + 0x70]
jmp 0x1400067d4
call fcn.14008c334
nop
call fcn.14008c334
nop
call fcn.14008c334
int3
call fcn.140084c40
mov rax, rbx
jmp 0x140006625