Function at 0x1400951e0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov r15, rdx
mov qword [rsp + 0x58], r8
lea rdx, str.OperateFile::GetFileVersion
mov r12d, r9d
lea rcx, [rsp + 0x60]
call fcn.14001abe0
mov rcx, qword [0x1402a8360]
lea rsi, [0x1402a8360]
mov edi, dword [rbp + 0x1a0]
lea r13, [0x1402bbdb0]
cmp rcx, rsi
je 0x1400952c2
test byte [rcx + 0x1c], 1
je 0x140095281
cmp qword [0x1402bbdc8], 8
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
mov r9, r13
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x42
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x1400952c2
test byte [rcx + 0x1c], 1
je 0x1400952c2
cmp qword [0x1402bbdc8], 8
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
mov r9, r13
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x43
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r15
call fcn.14005f570
xorps xmm0, xmm0
lea rdx, [rsp + 0x50]
xorps xmm1, xmm1
xor ebx, ebx
mov rcx, r15
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x50], ebx
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r14d, eax
test eax, eax
jne 0x14009532e
mov byte [rsp + 0x68], 1
mov rax, qword [0x1402a8360]
cmp rax, rsi
je 0x14009565c
test byte [rax + 0x1c], 1
je 0x14009565c
lea edx, [rbx + 0x44]
jmp 0x14009562e
lea rdx, [r14 + 0x64]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
jne 0x140095375
mov byte [rsp + 0x68], 1
mov rax, qword [0x1402a8360]
lea rsi, [0x1402a8360]
cmp rax, rsi
je 0x14009565c
test byte [rax + 0x1c], 1
je 0x14009565c
mov edx, 0x45
jmp 0x14009562e
mov r9, rsi
mov r8d, r14d
xor edx, edx
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140095518
xor edx, edx
mov qword [rsp + 0x48], rbx
mov r8d, 0x100
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x30]
call fcn.1401e7e40
lea r9, [rsp + 0x40]
mov rcx, rsi
lea r8, [rsp + 0x48]
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [rsp + 0x40], 4
jne 0x1400953fa
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 3]
movzx r9d, byte [rax]
movzx r8d, byte [rax + 1]
mov dword [rsp + 0x28], ecx
lea rcx, [rbp + 0x30]
mov dword [rsp + 0x20], edx
lea rdx, str.StringFileInfo_02x_02x_02x_02x_
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14009540b
lea rdx, str.StringFileInfo040904e4_
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp r12d, 1
lea rax, [0x140259340]
lea rdx, [0x140259448]
cmove rdx, rax
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, qword [0x1402a8360]
lea r14, [0x1402a8360]
cmp rcx, r14
je 0x140095475
test byte [rcx + 0x1c], 4
je 0x140095475
cmp qword [0x1402bbdc8], 8
lea rax, [rbp + 0x30]
mov rcx, qword [rcx + 0x10]
lea r8, str.eXK3
mov r9, r13
mov qword [rsp + 0x20], rax
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x46
call fcn.140006c90
lea r9, [rsp + 0x40]
mov rcx, rsi
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x30]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [rsp + 0x40], ebx
je 0x1400954c0
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x44], 1
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x20], xmm1
jmp 0x1400954d5
lea r8, str.0.0.0.0.0.0.0.0.0.0
mov edx, 0x20
lea rcx, [rbp - 0x50]
call fcn.1401ebfa8
mov rcx, qword [0x1402a8360]
cmp rcx, r14
je 0x140095518
test byte [rcx + 0x1c], 4
je 0x140095518
cmp qword [0x1402bbdc8], 8
lea rax, [rbp - 0x50]
mov rcx, qword [rcx + 0x10]
lea r8, str.eXK3
mov r9, r13
mov qword [rsp + 0x20], rax
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x47
call fcn.140006c90
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, ebx
test edi, edi
jle 0x1400955b1
lea r9, [rbp - 0x10]
movabs r10, 0x500100000001
lea r8, [rbp - 0x50]
nop dword [rax]
movzx ecx, word [r8]
cmp ecx, 0x2e
ja 0x14009554f
bt r10, rcx
jb 0x140095559
inc edx
mov word [r9], cx
add r9, 2
add r8, 2
cmp edx, edi
jl 0x140095540
test edx, edx
je 0x1400955b1
xorps xmm0, xmm0
lea r8d, [rdi - 2]
movups xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
mov r9d, 0x2e
movups xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x10]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
nop word [rax + rax]
cmp ebx, r8d
jne 0x14009559d
mov word [rcx], r9w
add rcx, 2
movzx eax, word [rdx]
inc ebx
mov word [rcx], ax
add rdx, 2
add rcx, 2
cmp ebx, edi
jl 0x140095590
mov rbx, qword [rsp + 0x58]
lea r8, [rbp - 0x50]
mov edx, dword [rbp + 0x1a8]
mov rcx, rbx
call fcn.1401ebfa8
mov rax, qword [0x1402a8360]
lea rsi, [0x1402a8360]
cmp rax, rsi
je 0x140095615
test byte [rax + 0x1c], 4
je 0x140095615
cmp qword [0x1402bbdc8], 8
lea r8, str.eXK3
mov rcx, qword [rax + 0x10]
mov r9, r13
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x48
mov qword [rsp + 0x20], rbx
call fcn.140006c90
mov rax, qword [0x1402a8360]
mov byte [rsp + 0x68], 1
mov ebx, dword [rsp + 0x44]
cmp rax, rsi
je 0x14009565c
test byte [rax + 0x1c], 1
je 0x14009565c
mov edx, 0x49
cmp qword [0x1402bbdc8], 8
lea r8, str.eXK3
mov rcx, qword [rax + 0x10]
mov r9, r13
cmovae r9, qword [0x1402bbdb0]
mov dword [rsp + 0x20], ebx
call fcn.140001b40
mov rax, qword [0x1402a8360]
cmp byte [rsp + 0x68], 0
lea rcx, vtable.WppTrace.0
mov qword [rsp + 0x60], rcx
jne 0x1400956b7
cmp rax, rsi
je 0x1400956b7
test byte [rax + 0x1c], 1
je 0x1400956b7
cmp qword [rbp - 0x78], 8
lea rcx, [rsp + 0x70]
mov edx, 0xa
lea r8, [0x140252818]
cmovae rcx, qword [rsp + 0x70]
cmp qword [0x1402bbdc8], 8
mov qword [rsp + 0x20], rcx
cmovae r13, qword [0x1402bbdb0]
mov rcx, qword [rax + 0x10]
mov r9, r13
call fcn.140006c90
lea rcx, [rbp - 0x70]
call fcn.1400048a0
lea rcx, [rsp + 0x70]
call fcn.1400048a0
mov eax, ebx
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x280]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret