Function at 0x140025b94
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x3b0
movaps xmmword [rsp + 0x3a0], xmm6
mov rsi, r8
mov rax, qword [0x1400f9028]
xor rax, rsp
mov qword [rsp + 0x398], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x160], r15
movaps xmm6, xmmword [0x1400e2ad0]
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm6
mov qword [rsp + 0x110], r8
test r8, r8
je 0x140025c13
mov rcx, rsi
call fcn.140062f08
jmp 0x140025c15
xor eax, eax
lea rdx, [rsp + 0x110]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x120]
call fcn.1400b8640
call fcn.1400b8cd0
test al, al
je 0x140025c63
call fcn.1400b8ed0
test al, al
je 0x140025c63
lea rdx, str.relaunch
lea rcx, [rsp + 0x120]
call fcn.1400532f0
test al, al
je 0x140025ce6
mov edi, 1
jmp 0x140025cac
lea rdi, str.relaunch
lea rcx, [rsp + 0x120]
mov rdx, rdi
call fcn.1400532f0
test al, al
je 0x140025c9e
lea rdx, [rsp + 0x100]
mov qword [rdx], rdi
mov qword [rdx + 8], 8
lea rcx, [rsp + 0x120]
call fcn.1400b86d0
mov edi, 1
test rsi, rsi
jne 0x140025e55
lea rcx, [rsp + 0x120]
call fcn.1400b85d0
mov rcx, qword [rsp + 0x398]
xor rcx, rsp
call fcn.140065120
mov eax, edi
movaps xmm6, xmmword [rsp + 0x3a0]
add rsp, 0x3b0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoInitialize]
test eax, eax
js 0x140025e4e
xorps xmm0, xmm0
lea rsi, [rsp + 0x190]
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, rsi
call fcn.1400b9060
mov ebx, 1
mov edi, 1
test eax, eax
jne 0x140025e24
lea rax, [rsp + 0xd0]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x1400d4010]
lea r9, section..rdata
xor edx, edx
mov r8d, 4
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140025e01
movabs rax, 0xaaa0000aaaaaaaa
mov qword [rsp + 0x180], rax
movups xmm0, xmmword [str.__relaunch]
movaps xmmword [rsp + 0x170], xmm0
mov eax, dword [0x1400e2afa]
mov dword [rsp + 0x180], eax
mov dword [rsp + 0xb0], 0xaaaaaaaa
mov rcx, qword [rsp + 0xd0]
cmp byte [rsp + 0x1a7], 0
jns 0x140025db1
mov rsi, qword [rsp + 0x190]
mov rax, qword [rcx]
lea rbx, [rsp + 0xb0]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x170]
mov rdx, rsi
mov r8, rdi
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
setns al
cmp dword [rbx], 0
setne sil
and sil, al
cmp byte [rdi + 0x17], 0
jns 0x140025df7
mov rcx, qword [rsp + 0x170]
call fcn.140062b78
mov ebx, 1
test sil, sil
jne 0x140025e03
xor ebx, ebx
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140025e22
mov qword [rsp + 0xd0], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edi, edi
cmp byte [rsp + 0x1a7], 0
jns 0x140025e3b
mov rcx, qword [rsp + 0x190]
call fcn.140062b78
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoUninitialize]
test ebx, ebx
jne 0x140025cac
jmp 0x140025c5c
mov edi, eax
jmp 0x140025cac
movabs r12, 0x7fffffffffffffef
mov rcx, rsi
call fcn.140062f08
cmp rax, r12
ja 0x1400262c8
mov rbx, rax
cmp rax, 0xb
jae 0x140025e8c
lea r14, [rsp + 0xe8]
mov byte [r14 + 0x17], bl
test rbx, rbx
jne 0x140025ec1
jmp 0x140025ed2
lea r13, [rbx + 8]
and r13, 0xfffffffffffffff8
mov rcx, r13
add rcx, r13
call fcn.140062b88
mov r14, rax
mov qword [rsp + 0xe8], rax
add r12, 0x11
or r12, r13
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0xf0], rbx
mov r8, rbx
add r8, rbx
mov rcx, r14
mov rdx, rsi
call fcn.1400670a0
mov word [r14 + rbx*2], 0
lea r14, [rsp + 0xe8]
mov rcx, r14
call fcn.1400625a8
mov rbx, rax
cmp byte [r14 + 0x17], 0
jns 0x140025f00
mov rcx, qword [rsp + 0xe8]
call fcn.140062b78
cmp rbx, 0xffffffffffffffff
je 0x140025cac
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], 0
lea rdi, [rsp + 0x190]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140067750
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140025c5c
lea r14, [rsp + 0xb0]
mov qword [r14 + 0x10], r15
movaps xmmword [r14], xmm6
lea rbx, [rsp + 0xa0]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.140062f08
mov qword [rbx + 8], rax
lea rdi, [rsp + 0x170]
mov rcx, rdi
mov rdx, rbx
call fcn.140049950
mov rcx, rdi
mov rdx, r14
call fcn.140006b30
mov rcx, rdi
call fcn.140051650
call fcn.140055660
test al, al
je 0x1400261cc
mov qword [rsp + 0x90], r15
movaps xmmword [rsp + 0x80], xmm6
lea rdx, [rsp + 0x18c]
mov dword [rdx], 0xaaaaaaaa
lea rcx, str.msedge.exe
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1400260c6
mov ebx, eax
mov edi, eax
mov rcx, rdi
call fcn.140062b88
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.140067750
lea rcx, str.msedge.exe
xor edx, edx
mov r8d, ebx
mov r9, r14
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400260a0
lea r8, [rsp + 0x58]
mov qword [r8], r15
lea r9, [rsp + 0x188]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x1400e2b46]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400260a0
mov rax, qword [rsp + 0x58]
lea rdi, [rsp + 0x170]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov r8d, dword [rax + 8]
mov eax, dword [rax + 0xc]
mov r9d, 0xffff
mov ecx, eax
and ecx, r9d
shr eax, 0x10
and r9d, r8d
shr r8d, 0x10
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rdx, str._d._d._d._d
mov rcx, rdi
call fcn.140006ad0
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x80], xmm0
jmp 0x1400260b7
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
test r14, r14
je 0x1400260dd
mov rcx, r14
call fcn.140062b78
jmp 0x1400260dd
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
lea rdi, [rsp + 0x170]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
lea rax, [rsp + 0x80]
movzx ecx, byte [rax + 0x17]
test cl, cl
mov rdx, qword [rax]
cmovns rdx, rax
lea r8, [rsp + 0x70]
mov qword [r8], rdx
cmovs rcx, qword [rax + 8]
mov qword [r8 + 8], rcx
lea rcx, [rsp + 0xb0]
mov rdx, rdi
call fcn.140026380
lea rax, str.pwahelper.dll
lea r8, [rsp + 0x48]
mov qword [r8], rax
mov qword [r8 + 8], 0xd
lea rbx, [rsp + 0x58]
mov rcx, rdi
mov rdx, rbx
call fcn.140026380
cmp byte [rbx + 0x17], 0
jns 0x140026168
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
lea rcx, [rsp + 0xd0]
call fcn.14005dd80
jmp 0x140026182
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0xd0], xmm0
lea rcx, [rsp + 0x58]
call fcn.140051650
lea rcx, [rsp + 0xd0]
mov rdx, rsi
call fcn.1400262d6
mov ebx, eax
lea rcx, [rsp + 0x170]
call fcn.140051650
cmp byte [rsp + 0x97], 0
jns 0x1400261c2
mov rcx, qword [rsp + 0x80]
call fcn.140062b78
xor edi, edi
test bl, bl
jne 0x140026274
lea rax, str.pwahelper.dll
lea r8, [rsp + 0x38]
mov qword [r8], rax
mov qword [r8 + 8], 0xd
lea rcx, [rsp + 0xb0]
lea rdi, [rsp + 0x170]
mov rdx, rdi
call fcn.140026380
cmp byte [rsp + 0xe7], 0
movzx r8d, byte [rdi + 0x17]
js 0x1400262a1
test r8b, r8b
jns 0x140026232
mov rdx, qword [rsp + 0x170]
mov r8, qword [rsp + 0x178]
lea rcx, [rsp + 0xd0]
call fcn.14005dd80
jmp 0x140026252
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0xd0], xmm0
lea rcx, [rsp + 0x170]
call fcn.140051650
lea rcx, [rsp + 0xd0]
mov rdx, rsi
call fcn.1400262d6
xor al, 1
movzx edi, al
lea rcx, [rsp + 0xb0]
call fcn.140051650
cmp byte [rsp + 0xe7], 0
jns 0x140025cac
mov rcx, qword [rsp + 0xd0]
call fcn.140062b78
jmp 0x140025cac
test r8b, r8b
cmovs r8, qword [rsp + 0x178]
cmovs rdi, qword [rsp + 0x170]
lea rcx, [rsp + 0xd0]
mov rdx, rdi
call fcn.1400a047a
jmp 0x140026252
lea rcx, [rsp + 0xe8]
call fcn.140091a84
int3