Function at 0x140006150
Capabilities:
Get file version info

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov rax, qword [0x1400fc3f8]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov r12, r8
mov rsi, rdx
mov qword [rsp + 0x80], rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov rax, qword [r8 + 8]
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1400068cd
cmp rax, 1
jne 0x1400061b4
mov rax, qword [r8]
cmp dword [rax], 7
mov r15d, 2
je 0x1400061ba
mov r15d, 1
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmm0
movaps xmmword [rsp + 0x70], xmm0
psrldq xmm1, 8
movq rcx, xmm1
test rcx, rcx
je 0x1400068e1
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rcx*2]
lea rax, [rcx - 2]
and eax, 0xfff
cmp rax, 0xffe
je 0x14000622b
call fcn.140009000
test al, al
je 0x14000622b
xor ebx, ebx
mov qword [rsp + 0x110], rbx
mov eax, ebx
mov qword [rsp + 0x120], rbx
mov ecx, 7
mov qword [rsp + 0x128], rcx
mov word [rsp + 0x110], bx
jmp 0x140006284
xor ebx, ebx
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x128], 7
mov word [rsp + 0x110], bx
movups xmm1, xmmword [rsi]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r8, xmm0
movq rdx, xmm1
lea rcx, [rsp + 0x110]
call fcn.140003c40
mov rcx, qword [rsp + 0x128]
mov rax, qword [rsp + 0x120]
test rax, rax
jne 0x140006293
mov rsi, qword [rsp + 0x40]
test rsi, rsi
jne 0x1400062a8
lea rsi, [rsp + 0x110]
cmp rcx, 8
cmovae rsi, qword [rsp + 0x110]
mov qword [rsp + 0x130], rsi
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x138], rax
mov dword [rsp + 0x40], ebx
lea r8, [rsp + 0x40]
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
mov r14d, eax
test eax, eax
je 0x14000690f
mov rdx, r14
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], 7
xor r8d, r8d
lea rcx, [rsp + 0xf0]
call fcn.140005b30
lea rax, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rax, qword [rsp + 0xf0]
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 0x1400063c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea r13, [0x1401040c8]
mov qword [rsp + 0x68], r13
xor cl, cl
mov byte [rsp + 0xe0], cl
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0xc0], xmm0
mov r8, rbx
mov qword [rsp + 0xd0], rbx
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x140006400
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006951
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006951
jmp 0x14000694b
mov cl, 1
mov byte [rsp + 0xe0], cl
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [rsp + 0xc0], xmm0
movups xmm1, xmmword [rsp + 0x100]
movups xmmword [rsp + 0xd0], xmm1
lea r13, [0x1401040c8]
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x128]
cmp rdx, 8
jb 0x140006458
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006443
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006963
call fcn.140089ca0
movzx ecx, byte [rsp + 0xe0]
mov r8, qword [rsp + 0xd0]
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x128], 7
mov word [rsp + 0x110], bx
cmp cl, 1
je 0x1400064e8
movups xmm0, xmmword [rsp + 0xc0]
movups xmmword [rdi], xmm0
movzx edx, cl
test cl, cl
je 0x140006970
cmp edx, 1
jne 0x14000698a
mov rdx, qword [rsp + 0xd8]
cmp rdx, 8
jb 0x14000698a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006969
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006969
jmp 0x140006a36
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rbx
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, str.VarFileInfoTranslation
mov rcx, rax
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140006830
cmp dword [rsp + 0x30], 4
jb 0x140006830
mov rsi, qword [r12]
mov rax, qword [r12 + 8]
lea r15, [rax + rax*2]
shl r15, 4
add r15, rsi
mov r12, qword [rsp + 0x40]
cmp rsi, r15
je 0x1400067a4
mov ecx, dword [rsi]
cmp rax, 1
jbe 0x140006570
cmp ecx, 7
je 0x140006992
call fcn.140004c90
mov rcx, qword [rsp + 0x50]
movzx r9d, word [rcx + 2]
movzx r8d, word [rcx]
mov qword [rsp + 0x20], rax
lea rdx, str.StringFileInfo_04x_04x_ls
lea rcx, [rsp + 0x168]
call fcn.1400085a0
nop
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x168]
cmp qword [rsp + 0x180], 8
cmovae rdx, qword [rsp + 0x168]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x140006645
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa0], eax
mov qword [rsp + 0xa8], r13
movups xmm0, xmmword [rsp + 0xa0]
mov byte [rsp + 0x160], 0
movups xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0x150], rbx
lea rdx, [rsp + 0x140]
lea rcx, [rsi + 8]
call fcn.140007a60
lea rcx, [rsp + 0x140]
call fcn.1400039d0
nop
lea rcx, [rsp + 0x168]
call fcn.140002430
add rsi, 0x30
mov rax, qword [rsp + 0x88]
jmp 0x140006556
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140006a0c
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], 7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140006680
lea rcx, [rsp + 0xf0]
call fcn.140003c40
mov byte [rsp + 0x160], 1
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [rsp + 0x140], xmm0
movups xmm1, xmmword [rsp + 0x100]
movups xmmword [rsp + 0x150], xmm1
lea rdx, [rsp + 0x140]
lea rcx, [rsi + 8]
call fcn.140007a60
movzx ecx, byte [rsp + 0x160]
test ecx, ecx
je 0x14000672c
cmp ecx, 1
jne 0x14000674b
mov rdx, qword [rsp + 0x158]
cmp rdx, 8
jb 0x14000674b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006725
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006a2a
call fcn.140089ca0
jmp 0x14000674b
mov rcx, qword [rsp + 0x150]
test rcx, rcx
je 0x14000674b
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14005f7f8.0]
nop
mov rdx, qword [rsp + 0x180]
cmp rdx, 8
jb 0x140006793
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x168]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000678e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006a30
call fcn.140089ca0
add rsi, 0x30
mov rax, qword [rsp + 0x88]
jmp 0x140006556
mov dword [rdi], ebx
lea rax, str.Pe_f_
mov qword [rdi + 8], rax
movzx ecx, byte [rsp + 0xe0]
test ecx, ecx
je 0x14000680c
cmp ecx, 1
jne 0x14000682b
mov rdx, qword [rsp + 0xd8]
cmp rdx, 8
jb 0x14000682b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006805
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006a36
call fcn.140089ca0
jmp 0x14000682b
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x14000682b
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14005f7f8.0]
nop
mov rax, rdi
jmp 0x1400068aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov qword [rdi + 8], r13
movzx ecx, byte [rsp + 0xe0]
test ecx, ecx
je 0x140006a43
cmp ecx, 1
jne 0x140006a62
mov rdx, qword [rsp + 0xd8]
cmp rdx, 8
jb 0x140006a62
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a3c
jmp 0x140006a36
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14008a6c0
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
xor ebx, ebx
mov dword [rcx], ebx
lea rax, str.Pe_f_
mov qword [rcx + 8], rax
mov rax, rcx
jmp 0x1400068aa
xor ebx, ebx
mov qword [rsp + 0x110], rbx
mov eax, ebx
mov qword [rsp + 0x120], rbx
mov ecx, 7
mov qword [rsp + 0x128], rcx
mov word [rsp + 0x110], bx
jmp 0x140006284
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea r13, [0x1401040c8]
mov qword [rsp + 0x48], r13
xor cl, cl
mov byte [rsp + 0xe0], cl
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0xc0], xmm0
mov r8, rbx
mov qword [rsp + 0xd0], rbx
jmp 0x140006400
call fcn.1400916c4
int3
call fcn.140089ca0
movzx ecx, byte [rsp + 0xe0]
jmp 0x1400063f8
call fcn.1400916c4
nop
call fcn.140089ca0
jmp 0x14000698a
test r8, r8
je 0x14000698a
mov rax, qword [r8]
mov edx, 1
mov rcx, r8
mov rax, qword [rax]
call qword [case.0x14005f7f8.0]
nop
mov rax, rdi
jmp 0x1400068aa
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 1
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0xb0], xmm0
mov rax, qword [rsp + 0x80]
movups xmm1, xmmword [rax]
movaps xmmword [rsp + 0xf0], xmm1
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x90]
call fcn.140006150
cmp dword [rsp + 0x90], 0
je 0x140006793
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rdi], xmm0
lea rcx, [rsp + 0xc0]
call fcn.1400039d0
mov rax, rdi
jmp 0x1400068aa
mov dword [rsp + 0x70], 0x22
mov rax, qword [0x140104070]
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [rsp + 0x70]
jmp 0x1400065f0
call fcn.1400916c4
nop
call fcn.1400916c4
nop
call fcn.1400916c4
int3
call fcn.140089ca0
jmp 0x140006a62
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140006a62
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14005f7f8.0]
nop
mov rax, rdi
jmp 0x1400068aa