Function at 0x1400955f0
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 [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r15, r8
mov rbx, rdx
mov qword [rsp + 0x80], rdx
mov r14, rcx
mov qword [rsp + 0x68], rcx
mov r13, qword [r8 + 8]
test r13, r13
je 0x140095cff
cmp r13, 1
jne 0x14009564a
mov rax, qword [r8]
cmp dword [rax], 7
lea esi, [r13 + 1]
je 0x14009564f
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 0x1400956f2
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rcx*2]
lea rax, [rcx - 2]
and eax, 0xfff
cmp rax, 0xffe
je 0x140095695
call fcn.1400971f0
test al, al
jne 0x1400956f2
xor r12d, r12d
mov qword [rsp + 0x140], r12
mov qword [rsp + 0x150], r12
mov qword [rsp + 0x158], 7
mov word [rsp + 0x140], r12w
movups xmm1, xmmword [rbx]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r8, xmm0
movq rdx, xmm1
lea rcx, [rsp + 0x140]
call fcn.140028220
mov rcx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x150]
jmp 0x14009571e
xor r12d, r12d
mov qword [rsp + 0x140], r12
mov eax, r12d
mov qword [rsp + 0x150], rax
mov ecx, 7
mov qword [rsp + 0x158], rcx
mov word [rsp + 0x140], r12w
test rax, rax
jne 0x14009572d
mov rbx, qword [rsp + 0x50]
test rbx, rbx
jne 0x140095742
lea rbx, [rsp + 0x140]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x140]
mov qword [rsp + 0x160], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x168], 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 0x140095d15
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0xf8]
call fcn.14002edc0
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 0x140095841
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rsi, [0x1401de4b0]
mov qword [rsp + 0x40], rsi
xor al, al
mov byte [rsp + 0xf0], al
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], r12
mov rdx, qword [rsp + 0x110]
cmp rdx, 8
jb 0x140095871
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140095d45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140095d45
jmp 0x140095d3f
mov al, 1
movups xmm0, xmmword [rsp + 0xf8]
movups xmm1, xmmword [rsp + 0x108]
movups xmmword [rsp + 0xe0], xmm1
lea rsi, [0x1401de4b0]
movups xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xf0], al
mov rdx, qword [rsp + 0x158]
cmp rdx, 8
jb 0x1400958c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400958b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140095d57
call fcn.140122560
movzx eax, byte [rsp + 0xf0]
mov qword [rsp + 0x150], r12
mov qword [rsp + 0x158], 7
mov word [rsp + 0x140], r12w
cmp al, 1
jne 0x140095d5d
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 sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140095e32
cmp dword [rsp + 0x30], 4
jb 0x140095e32
mov rdi, qword [r15]
lea r15, [r13*2]
add r15, r13
shl r15, 4
add r15, rdi
lea rdx, [0x140000000]
cmp rdi, r15
je 0x140095c4b
movsxd rax, dword [rdi]
cmp r13, 1
jbe 0x140095972
cmp eax, 7
je 0x140095d7e
cmp eax, 0xb
ja case.default.0x140095981
mov ecx, dword [rdx + rax*4 + 0x95e58]
add rcx, rdx
jmp rcx
lea rcx, str.Comments
jmp 0x1400959f6
lea rcx, [0x1401a3248]
jmp 0x1400959f6
lea rcx, [0x1401a3228]
jmp 0x1400959f6
lea rcx, [0x1401a3210]
jmp 0x1400959f6
lea rcx, [0x1401a32e0]
jmp 0x1400959f6
lea rcx, [0x1401a32c0]
jmp 0x1400959f6
lea rcx, str.LegalTrademarks
jmp 0x1400959f6
lea rcx, [0x1401a3278]
jmp 0x1400959f6
lea rcx, str.PrivateBuild
jmp 0x1400959f6
lea rcx, [0x1401a3340]
jmp 0x1400959f6
lea rcx, [0x1401a3320]
jmp 0x1400959f6
lea rcx, str.SpecialBuild
jmp 0x1400959f6
lea rcx, str.unknown
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.140096c10
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 sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140095afe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xb0], eax
mov qword [rsp + 0xb8], rsi
movups xmm0, xmmword [rsp + 0xb0]
mov byte [rsp + 0x138], 0
movups xmmword [rsp + 0x118], xmm0
mov qword [rsp + 0x128], r12
lea rdx, [rsp + 0x118]
lea rcx, [rdi + 8]
call fcn.140096550
lea rcx, [rsp + 0x118]
call fcn.140091f30
nop
mov rdx, qword [rsp + 0x110]
cmp rdx, 8
jb 0x140095af5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140095af0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140095e26
call fcn.140122560
add rdi, 0x30
jmp 0x140095950
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140095e02
mov qword [rsp + 0x170], r12
mov qword [rsp + 0x180], r12
mov qword [rsp + 0x188], 7
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140095b30
lea rcx, [rsp + 0x170]
call fcn.140028220
mov byte [rsp + 0x138], 1
movups xmm0, xmmword [rsp + 0x170]
movups xmmword [rsp + 0x118], xmm0
movups xmm1, xmmword [rsp + 0x180]
movups xmmword [rsp + 0x128], xmm1
lea rdx, [rsp + 0x118]
lea rcx, [rdi + 8]
call fcn.140096550
movzx ecx, byte [rsp + 0x138]
test ecx, ecx
je 0x140095bdc
cmp ecx, 1
jne 0x140095bfb
mov rdx, qword [rsp + 0x130]
cmp rdx, 8
jb 0x140095bfb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140095bd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140095e20
call fcn.140122560
jmp 0x140095bfb
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140095bfb
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [0x14016fb70]
nop
mov rdx, qword [rsp + 0x110]
cmp rdx, 8
jb 0x140095af5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140095af0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140095e26
jmp 0x140095af0
mov dword [r14], r12d
lea rcx, [0x1401c8008]
mov qword [r14 + 8], rcx
movzx ecx, byte [rsp + 0xf0]
test ecx, ecx
je 0x140095cb4
cmp ecx, 1
jne 0x140095cd2
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x140095cd2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140095cad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140095e2c
call fcn.140122560
jmp 0x140095cd2
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x140095cd2
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [0x14016fb70]
mov rax, r14
jmp 0x140095cdc
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140122510
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, [0x1401c8008]
mov qword [r14 + 8], rcx
mov rax, r14
jmp 0x140095cdc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rsi, [0x1401de4b0]
mov qword [rsp + 0x40], rsi
xor al, al
movups xmm0, xmmword [rsp + 0x38]
mov qword [rsp + 0xe0], r12
jmp 0x140095862
call fcn.1401297c0
int3
call fcn.140122560
movzx eax, byte [rsp + 0xf0]
jmp 0x140095871
call fcn.1401297c0
int3
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [r14], xmm0
lea rcx, [rsp + 0xd0]
call fcn.140091f30
mov rax, r14
jmp 0x140095cdc
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.1400955f0
cmp dword [rsp + 0xa0], 0
je 0x140095af5
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [r14], xmm0
lea rcx, [rsp + 0xd0]
call fcn.140091f30
mov rax, r14
jmp 0x140095cdc
mov dword [rsp + 0x70], 0x22
mov rax, qword [0x1401de458]
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [rsp + 0x70]
jmp 0x140095a76
call fcn.1401297c0
nop
call fcn.1401297c0
nop
call fcn.1401297c0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov qword [r14 + 8], rsi
lea rcx, [rsp + 0xd0]
call fcn.140091f30
mov rax, r14
jmp 0x140095cdc