Function at 0x140052360
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 [0x1400ed1f8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r12, r8
mov rsi, rdx
mov qword [rsp + 0x80], rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov r13, qword [r8 + 8]
test r13, r13
je 0x14005294f
cmp r13, 1
jne 0x1400523ba
mov rax, qword [r8]
cmp dword [rax], 7
lea r15d, [r13 + 1]
je 0x1400523c0
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 0x140052963
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rcx*2]
lea rax, [rcx - 2]
and eax, 0xfff
cmp rax, 0xffe
je 0x140052431
call fcn.140055750
test al, al
je 0x140052431
xor ebx, ebx
mov qword [rsp + 0xf0], rbx
mov eax, ebx
mov qword [rsp + 0x100], rbx
mov ecx, 7
mov qword [rsp + 0x108], rcx
mov word [rsp + 0xf0], bx
jmp 0x14005248a
xor ebx, ebx
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], 7
mov word [rsp + 0xf0], bx
movups xmm1, xmmword [rsi]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r8, xmm0
movq rdx, xmm1
lea rcx, [rsp + 0xf0]
call fcn.1400027c0
mov rcx, qword [rsp + 0x108]
mov rax, qword [rsp + 0x100]
test rax, rax
jne 0x140052499
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jne 0x1400524ae
lea rsi, [rsp + 0xf0]
cmp rcx, 8
cmovae rsi, qword [rsp + 0xf0]
mov qword [rsp + 0x110], rsi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x118], rax
mov dword [rsp + 0x50], ebx
lea r8, [rsp + 0x50]
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
mov r14d, eax
test eax, eax
je 0x140052991
mov rdx, r14
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], 7
xor r8d, r8d
lea rcx, [rsp + 0xd0]
call fcn.140009490
lea rax, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rax, qword [rsp + 0xd0]
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
je 0x1400529c1
mov byte [rsp + 0x140], 1
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsp + 0x120], xmm0
movups xmm1, xmmword [rsp + 0xe0]
movups xmmword [rsp + 0x130], xmm1
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], 7
mov word [rsp + 0xd0], bx
lea rcx, [rsp + 0xd0]
call fcn.140002730
lea r15, [0x1400f4118]
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x1400525eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400525e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400529fe
call fcn.14005ce30
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], 7
mov word [rsp + 0xf0], bx
cmp byte [rsp + 0x140], 1
jne 0x140052a04
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x120]
cmp qword [rsp + 0x138], 8
cmovae rax, qword [rsp + 0x120]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x60], rbx
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 0x140052b36
cmp dword [rsp + 0x30], 4
jb 0x140052b36
mov r14, qword [r12]
lea r12, [r13*2]
add r12, r13
shl r12, 4
add r12, r14
lea rdx, [0x140000000]
cmp r14, r12
je 0x1400528bc
movsxd rax, dword [r14]
cmp r13, 1
jbe 0x1400526a2
cmp eax, 7
je 0x140052a24
cmp eax, 0xb
ja case.default.0x1400526b1
mov ecx, dword [rdx + rax*4 + 0x52b58]
add rcx, rdx
jmp rcx
lea rcx, str.Comments
jmp 0x140052726
lea rcx, [0x1400ce4a0]
jmp 0x140052726
lea rcx, [0x1400ce480]
jmp 0x140052726
lea rcx, [0x1400ce468]
jmp 0x140052726
lea rcx, [0x1400ce538]
jmp 0x140052726
lea rcx, [0x1400ce518]
jmp 0x140052726
lea rcx, str.LegalTrademarks
jmp 0x140052726
lea rcx, [0x1400ce4d0]
jmp 0x140052726
lea rcx, str.PrivateBuild
jmp 0x140052726
lea rcx, [0x1400ce598]
jmp 0x140052726
lea rcx, [0x1400ce578]
jmp 0x140052726
lea rcx, str.SpecialBuild
jmp 0x140052726
lea rcx, [0x1400c4028]
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 + 0x170]
call fcn.1400553b0
nop
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae rdx, qword [rsp + 0x170]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140052aa7
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140052b09
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], 7
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400527c0
lea rcx, [rsp + 0xd0]
call fcn.1400027c0
mov byte [rsp + 0x168], 1
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsp + 0x148], xmm0
movups xmm1, xmmword [rsp + 0xe0]
movups xmmword [rsp + 0x158], xmm1
lea rdx, [rsp + 0x148]
lea rcx, [r14 + 8]
call fcn.140052e50
movzx ecx, byte [rsp + 0x168]
test ecx, ecx
je 0x14005286b
cmp ecx, 1
jne 0x14005286b
mov rdx, qword [rsp + 0x160]
cmp rdx, 8
jb 0x14005286b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052865
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052b24
call fcn.14005ce30
nop
mov rdx, qword [rsp + 0x188]
cmp rdx, 8
jb 0x1400528b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400528ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052b2a
call fcn.14005ce30
add r14, 0x30
jmp 0x140052680
mov dword [rdi], ebx
lea rax, str.x_f_
mov qword [rdi + 8], rax
movzx ecx, byte [rsp + 0x140]
test ecx, ecx
je 0x140052922
cmp ecx, 1
jne 0x140052922
mov rdx, qword [rsp + 0x138]
cmp rdx, 8
jb 0x140052922
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005291d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052b30
call fcn.14005ce30
mov rax, rdi
jmp 0x14005292c
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140068e00
add rsp, 0x1a0
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.x_f_
mov qword [rcx + 8], rax
mov rax, rcx
jmp 0x14005292c
xor ebx, ebx
mov qword [rsp + 0xf0], rbx
mov eax, ebx
mov qword [rsp + 0x100], rbx
mov ecx, 7
mov qword [rsp + 0x108], rcx
mov word [rsp + 0xf0], bx
jmp 0x14005248a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea r15, [0x1400f4118]
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x140], 0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x120], xmm0
jmp 0x1400525a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea r15, [0x1400f4118]
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x140], 0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x120], xmm0
lea rcx, [rsp + 0xd0]
call fcn.140002730
jmp 0x1400525a3
call fcn.14008c3ec
int3
movups xmm0, xmmword [rsp + 0x120]
movups xmmword [rdi], xmm0
lea rcx, [rsp + 0x120]
call fcn.140006b20
mov rax, rdi
jmp 0x14005292c
mov qword [rsp + 0x90], r14
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 + 0xd0], xmm1
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xa0]
call fcn.1400515b0
cmp dword [rsp + 0xa0], 0
je 0x1400528b3
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rdi], xmm0
lea rcx, [rsp + 0x120]
call fcn.140006b20
mov rax, rdi
jmp 0x14005292c
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 + 0x168], 0
movups xmmword [rsp + 0x148], xmm0
lea rdx, [rsp + 0x148]
lea rcx, [r14 + 8]
call fcn.140052e50
lea rcx, [rsp + 0x148]
call fcn.140006b20
nop
lea rcx, [rsp + 0x170]
call fcn.140002730
add r14, 0x30
jmp 0x140052680
mov dword [rsp + 0x70], 0x22
mov rax, qword [0x1400f40c0]
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [rsp + 0x70]
jmp 0x140052ac4
call fcn.14008c3ec
nop
call fcn.14008c3ec
nop
call fcn.14008c3ec
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov qword [rdi + 8], r15
lea rcx, [rsp + 0x120]
call fcn.140006b20
mov rax, rdi
jmp 0x14005292c