joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400955e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140095622
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14009562a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14009563b
jmp 0x140095652
xor r10d, r10d
jmp 0x1400956dd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140095652
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140095669
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140095689
add r11, r8
jmp 0x1400957ba
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140095752
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140095700
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x140095770
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140095782
jmp 0x14009579c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14009579c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400957b6
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400ad680
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1400ad716
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140275090]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400955e0
test rdi, rdi
je 0x1400ad7a5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400ad7be
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1400ad8b6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400ad938
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1400ad8c3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x1400ad780
cmp r9, 8
jae 0x1400ad8cc
jmp 0x1400ad938
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400955e0
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400ad938
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1400ad938
mov r8, rcx
cmp r9, 8
jb 0x1400ad938
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1400ad8d0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400dfc20
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
lea rdx, [rbp - 0x10]
mov r8d, 0x20
call fcn.14016edb0
test rax, rax
je 0x1400dfc8c
mov qword [rbp + 0x18], rax
mov rcx, rax
mov qword [rbp + 0x20], rdx
call qword [rdx]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400dfcdd
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x18]
call fcn.1401047d0
jmp 0x1400dfcdd
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x60], xmm0
lea r8, [0x14060ba20]
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x60]
mov r9d, 8
call fcn.14016eba0
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x18]
mov qword [rdi + 0x28], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi + 0x18], xmm0
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rdi + 8], xmm0
mov rcx, qword [rdi + 0x30]
mov qword [rdi + 0x38], rcx
mov qword [rdi], rax
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
jmp fcn.14016c610
Function at 0x1400f3160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov r11, qword [rdx + 8]
mov r10, qword [rdx + 0x10]
lea rcx, [r10 + 1]
mov qword [rdx + 0x10], rcx
mov al, 1
cmp rcx, r11
jae 0x1400f31a1
mov rax, qword [rdx]
movzx edi, byte [rax + rcx]
mov al, 1
cmp edi, 0x2b
je 0x1400f3196
cmp edi, 0x2d
jne 0x1400f31a1
xor eax, eax
add r10, 2
mov qword [rdx + 0x10], r10
mov rcx, r10
cmp rcx, r11
jae 0x1400f333a
mov rdi, qword [rdx]
movzx r10d, byte [rdi + rcx]
lea rbx, [rcx + 1]
mov qword [rdx + 0x10], rbx
add r10b, 0xd0
cmp r10b, 0xa
jae 0x1400f3345
movzx r10d, r10b
cmp rbx, r11
jae 0x1400f3240
mov ebx, 1
sub rbx, r11
add rcx, 2
jmp 0x1400f31fc
movzx r11d, r11b
lea r10d, [r10 + r10*4]
lea r10d, [r11 + r10*2]
lea r11, [rbx + rcx]
inc r11
inc rcx
cmp r11, 2
je 0x1400f3240
movzx r11d, byte [rdi + rcx - 1]
add r11b, 0xd0
cmp r11b, 0xa
jae 0x1400f3240
mov qword [rdx + 0x10], rcx
cmp r10d, 0xccccccb
jle 0x1400f31e0
cmp r10d, 0xccccccc
jne 0x1400f3228
cmp r11b, 7
jbe 0x1400f31e0
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
mov rcx, rsi
call fcn.14025f060
jmp 0x1400f3327
mov ecx, dword [rsp + 0x80]
test al, al
je 0x1400f325c
lea eax, [rcx + r10]
sar eax, 0x1f
add eax, 0x80000000
add ecx, r10d
jmp 0x1400f326c
xor eax, eax
cmp ecx, r10d
setns al
add eax, 0x7fffffff
sub ecx, r10d
cmovo ecx, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x14061a0b0]
subpd xmm1, xmmword [0x14061a0c0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x135
jb 0x1400f32d8
xorpd xmm1, xmm1
movsd xmm2, qword [0x14061a0d0]
nop word [rax + rax]
ucomisd xmm0, xmm1
jne 0x1400f32b8
jnp 0x1400f3310
test ecx, ecx
jns 0x1400f336b
divsd xmm0, xmm2
add ecx, 0x134
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x134
ja 0x1400f32b0
mov eax, eax
mov r9, qword [0x14071e218]
movsd xmm1, qword [r9 + rax*8]
test ecx, ecx
js 0x1400f332f
mulsd xmm0, xmm1
movq rax, xmm0
movabs rcx, 0x7fffffffffffffff
and rcx, rax
movabs rax, 0x7ff0000000000000
cmp rcx, rax
je 0x1400f336b
test r8b, r8b
jne 0x1400f331d
xorpd xmm0, xmmword [0x14061a0e0]
movsd qword [rsi + 8], xmm0
xor eax, eax
mov qword [rsi], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x1400f3315
jmp 0x1400f331d
mov qword [rsp + 0x28], 5
jmp 0x1400f334e
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.14025f100
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400f3327
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.14025f100
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400f3324
Function at 0x140105980
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 8], 0
lea r9, [rbp - 8]
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.shell32.dll_SHGetKnownFolderPath]
mov rcx, qword [rbp - 8]
test eax, eax
je 0x1401059c4
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov byte [rsi + 0x18], 2
jmp 0x1401059f3
call qword [sym.imp.kernel32.dll_lstrlenW]
movsxd r8, eax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.140225f90
mov rcx, qword [rbp - 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x58
pop rsi
pop rbp
ret

Function at 0x1401316e0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
lea rdx, [rbp - 0x10]
mov r8d, 0x20
call fcn.14016edb0
test rax, rax
je 0x14013174c
mov qword [rbp + 0x18], rax
mov rcx, rax
mov qword [rbp + 0x20], rdx
call qword [rdx]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14013179d
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x18]
call fcn.1401047d0
jmp 0x14013179d
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x60], xmm0
lea r8, [0x140621ea8]
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x60]
mov r9d, 8
call fcn.14016eba0
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x18]
mov qword [rdi + 0x28], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi + 0x18], xmm0
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rdi + 8], xmm0
mov rcx, qword [rdi + 0x30]
mov qword [rdi + 0x38], rcx
mov qword [rdi], rax
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
jmp fcn.14016c610
Function at 0x1401621f0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 8], 0
lea r9, [rbp - 8]
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
je 0x140162229
mov byte [rsi + 0x18], 2
jmp 0x14016225a
mov rcx, qword [rbp - 8]
call sub.kernel32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.140225f90
mov rcx, qword [rbp - 8]
call sub.ole32.dll_CoTaskMemFree
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14018e830
Capabilities:
Get graphical window text

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov rbx, qword [rdx + 0x18]
mov rcx, rbx
call qword [sym.imp.user32.dll_GetWindowTextLengthW]
mov edi, eax
mov r15d, eax
inc r15d
movsxd rax, r15d
mov qword [rbp - 0x10], rax
jne 0x14018e877
xor edx, edx
mov eax, 2
mov qword [rbp - 8], rax
jmp 0x14018e89a
js 0x14018e90c
lea r14, [rax + rax]
mov edx, 2
mov rcx, r14
call fcn.1401047f0
mov rdx, rax
mov qword [rbp - 8], rax
test rax, rax
je 0x14018e913
mov rcx, rbx
mov dword [rbp - 0x14], r15d
mov r8d, r15d
call qword [sym.imp.user32.dll_GetWindowTextW]
movsxd rcx, edi
cmp edi, 0xffffffff
je 0x14018e8fa
mov rdx, qword [rbp - 8]
lea rax, [rdx + rcx*2]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rax
mov word [rbp - 0x20], 0
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.14019bf90
mov rdx, qword [rbp - 0x10]
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 8]
call fcn.1401047d0
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea r8, str.C:Usersomerf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tao_0.16.7_srcplatform_implwindowswindow.rs
mov rdx, qword [rbp - 0x10]
call fcn.14026ce90
ud2
call fcn.140240aa0
ud2
mov ecx, 2
mov rdx, r14
call fcn.14026c6b0
ud2

Function at 0x14018f400
Capabilities:
Log keystrokes

Disassembly:
push rsi
sub rsp, 0x70
mov rsi, rcx
call qword [sym.imp.user32.dll_SetForegroundWindow]
test eax, eax
je 0x14018f418
add rsp, 0x70
pop rsi
ret
mov ecx, 0x12
xor edx, edx
call qword [sym.imp.user32.dll_MapVirtualKeyW]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 1
mov word [rsp + 0x28], 0xa4
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x48], 1
mov word [rsp + 0x50], 0xa4
mov word [rsp + 0x52], ax
mov dword [rsp + 0x54], 3
lea rdx, [rsp + 0x20]
mov ecx, 2
mov r8d, 0x28
call qword [sym.imp.user32.dll_SendInput]
mov rcx, rsi
call qword [sym.imp.user32.dll_SetForegroundWindow]
nop
add rsp, 0x70
pop rsi
ret
Function at 0x1401955c0
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x48
movzx edx, dl
test dl, dl
je 0x1401955d7
cmp edx, 1
jne 0x1401955e1
mov eax, 0x2000
jmp 0x1401955e6
mov eax, 1
mov rcx, rdx
jmp 0x1401955e6
mov eax, 0x2100
mov dword [rsp + 0x28], 0x20001
mov dword [rsp + 0x2c], eax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x38], 0x60001
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x28]
mov edx, 2
mov r8d, 0x10
call qword [sym.imp.user32.dll_RegisterRawInputDevices]
test eax, eax
setne al
add rsp, 0x48
ret
Function at 0x14019a930
Capabilities:
Log keystrokes via polling

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
call fcn.140199080
cmp byte [rdx + 0x98], 0
je 0x14019a95b
mov ecx, 0xa5
call qword [sym.imp.user32.dll_GetKeyState]
test ax, ax
setns bl
jmp 0x14019a95d
mov bl, 1
mov rdi, qword [sym.imp.user32.dll_GetKeyState]
mov ecx, 0x10
call rdi
movzx esi, ax
shr esi, 0xf
lea ebp, [rsi*4]
mov ecx, 0x11
call rdi
test ax, ax
lea r14d, [rsi*4 + 0x20]
cmovns r14d, ebp
test bl, bl
cmove r14d, ebp
mov ecx, 0x12
call rdi
lea esi, [r14 + 0x100]
test ax, ax
cmovns esi, r14d
test bl, bl
cmove esi, r14d
mov ecx, 0x5b
call rdi
test ax, ax
js 0x14019a9d3
mov ecx, 0x5c
call qword [sym.imp.user32.dll_GetKeyState]
test ax, ax
js 0x14019a9d3
and esi, 0xf7ff
jmp 0x14019a9d9
or esi, 0x800
mov eax, esi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1401ac5ea
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rdx, [0x140630e28]
call fcn.1401ad8d6
lea rdx, str.EBWebViewx64EmbeddedBrowserWebView.dll
mov rcx, rsi
call fcn.1401ad8d6
mov rcx, rsi
call fcn.1401ad9b0
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1401ac6f6
Capabilities:
Print debug messages

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x14071e300]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov edx, 0x104
mov rcx, rsi
call fcn.1401ad76a
mov rcx, rsi
mov rdx, r14
call fcn.1401ad7f2
mov rcx, rsi
call fcn.1401ad9b0
mov rbx, rax
mov rcx, rsi
call fcn.1401ad9ac
cmp rax, 3
jb 0x1401ac77a
movzx eax, word [rbx + 2]
cmp ax, 0x3a
jne 0x1401ac76a
cmp word [rbx + 4], 0x5c
jne 0x1401ac77a
movzx eax, word [rbx]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x1401ac77a
jmp 0x1401ac837
cmp word [rbx], 0x5c
jne 0x1401ac77a
cmp ax, 0x5c
je 0x1401ac837
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x20]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140630b30]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1401ad6fc
xor ecx, ecx
mov rdx, rbx
call fcn.1401ac62a
test eax, eax
js 0x1401ac876
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401ad9ac
mov rdi, rax
mov rcx, rbx
call fcn.1401ad9b0
mov rcx, rsi
mov rdx, rax
mov r8, rdi
call fcn.1401ad824
mov rcx, rbx
call fcn.1401ad9b0
mov rcx, rax
mov dx, 0x5c
call fcn.140253370
test rax, rax
je 0x1401ac887
mov rbx, rax
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.1401ad9b0
sub rbx, rax
add rbx, 2
sar rbx, 1
mov rcx, rdi
call fcn.1401ad9b0
mov rcx, rsi
mov rdx, rax
mov r8, rbx
call fcn.1401ad824
mov rcx, rsi
mov rdx, r14
call fcn.1401ad8d6
mov rcx, rdi
call fcn.1401ad70e
mov rcx, rsi
call fcn.1401ac5ea
xor ebx, ebx
test al, al
jne 0x1401ac896
lea rcx, str.WebView2:_Failed_to_find_the_WebView2_client_dll_at:
mov rdi, qword [sym.imp.kernel32.dll_OutputDebugStringA]
call rdi
mov rcx, rsi
call fcn.1401ad9b0
mov rcx, rax
call qword [sym.imp.kernel32.dll_OutputDebugStringW]
lea rcx, str._nADVAPI32.dll
call rdi
mov ebx, 0x80070002
jmp 0x1401ac896
mov ebx, eax
lea rcx, str.WebView2:_Failed_to_find_the_app_exe_path._n
call qword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x1401ac88c
mov ebx, 0x80004005
lea rcx, [rsp + 0x20]
call fcn.1401ad70e
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140251a80
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401ad31a
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x260
mov r15, r9
mov r14, r8
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14071e300]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rdi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140258470
mov dword [rsp + 0x3c], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
movzx eax, bl
mov rcx, 0xffffffff80000002
sub rcx, rax
mov qword [rsp + 0x20], rdx
xor ebx, ebx
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20219
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x1401ad3bf
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140251a80
mov eax, ebx
add rsp, 0x260
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, str.EBWebView
xor ebx, ebx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.advapi32.dll_RegCloseKey]
test esi, esi
jne 0x1401ad39e
cmp dword [rsp + 0x3c], 3
jb 0x1401ad39e
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1401ad7f2
mov rcx, r15
call fcn.1401ad9b0
mov rcx, rax
mov dx, 0x5c
call fcn.140253370
test rax, rax
je 0x1401ad46c
mov rdi, rax
add rdi, 2
movaps xmm0, xmmword [0x140630b30]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.1401ad1ed
test al, al
je 0x1401ad46c
test r14, r14
je 0x1401ad458
mov rcx, r14
mov rdx, rdi
call fcn.1401ad7f2
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.1401ad473
mov ebx, eax
jmp 0x1401ad39e
xor ebx, ebx
jmp 0x1401ad39e

Function at 0x1401ad473
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
xor eax, eax
lea rdx, [0x140631120]
mov esi, dword [rax + rdx]
cmp dword [rcx + rax], esi
ja 0x1401ad499
jb 0x1401ad4a7
add rax, 4
cmp rax, 0x10
jne 0x1401ad485
mov rcx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401ac5ea
lea rcx, str.Loader_skipped_an_incompatible_version:
mov rsi, qword [sym.imp.kernel32.dll_OutputDebugStringW]
call rsi
mov rcx, rdi
call fcn.1401ad9b0
mov rcx, rax
call rsi
lea rcx, [0x140631182]
call rsi
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1401ae029
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0xa0]
mov rax, qword [0x14071e300]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rsi, rsi
je 0x1401ae0cc
lea rax, [rsp + 0x44]
mov dword [rax], 0
lea rcx, [rsp + 0x40]
mov dword [rcx], 4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
mov r8, rbx
mov r9d, 0x10
call qword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
je 0x1401ae0f5
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
call 0x1401ae128
test al, al
je 0x1401ae107
mov rcx, qword [r15]
test rcx, rcx
je 0x1401ae124
xor edx, edx
mov r8d, 0xa
call sub.api_ms_win_crt_convert_l1_1_0.dll_wcstol
cmp eax, 1
jmp 0x1401ae0fa
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140251a80
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x1401ae128
cmp dword [rsp + 0x44], 1
sete al
movzx eax, al
mov dword [rsi], eax
mov sil, 1
jmp 0x1401ae109
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140251a80
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
jmp 0x1401ae0fd
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x250
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14071e300]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
xor edx, edx
call fcn.140258470
lea rax, [rsp + 0x3c]
mov dword [rax], 0x104
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
mov r8, rbx
mov r9d, 2
call qword [sym.imp.advapi32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x1401ae1b9
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1401ad7f2
mov rcx, r15
call fcn.1401ad9b0
mov qword [r14], rax
test ebx, ebx
sete bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140251a80
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret