joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f3170
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 0x1400f31b1
mov rax, qword [rdx]
movzx edi, byte [rax + rcx]
mov al, 1
cmp edi, 0x2b
je 0x1400f31a6
cmp edi, 0x2d
jne 0x1400f31b1
xor eax, eax
add r10, 2
mov qword [rdx + 0x10], r10
mov rcx, r10
cmp rcx, r11
jae 0x1400f334a
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 0x1400f3355
movzx r10d, r10b
cmp rbx, r11
jae 0x1400f3250
mov ebx, 1
sub rbx, r11
add rcx, 2
jmp 0x1400f320c
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 0x1400f3250
movzx r11d, byte [rdi + rcx - 1]
add r11b, 0xd0
cmp r11b, 0xa
jae 0x1400f3250
mov qword [rdx + 0x10], rcx
cmp r10d, 0xccccccb
jle 0x1400f31f0
cmp r10d, 0xccccccc
jne 0x1400f3238
cmp r11b, 7
jbe 0x1400f31f0
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
mov rcx, rsi
call fcn.14025f070
jmp 0x1400f3337
mov ecx, dword [rsp + 0x80]
test al, al
je 0x1400f326c
lea eax, [rcx + r10]
sar eax, 0x1f
add eax, 0x80000000
add ecx, r10d
jmp 0x1400f327c
xor eax, eax
cmp ecx, r10d
setns al
add eax, 0x7fffffff
sub ecx, r10d
cmovo ecx, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x140619a60]
subpd xmm1, xmmword [0x140619a70]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x135
jb 0x1400f32e8
xorpd xmm1, xmm1
movsd xmm2, qword [0x140619a80]
nop word [rax + rax]
ucomisd xmm0, xmm1
jne 0x1400f32c8
jnp 0x1400f3320
test ecx, ecx
jns 0x1400f337b
divsd xmm0, xmm2
add ecx, 0x134
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x134
ja 0x1400f32c0
mov eax, eax
mov r9, qword [str.x_ff_]
movsd xmm1, qword [r9 + rax*8]
test ecx, ecx
js 0x1400f333f
mulsd xmm0, xmm1
movq rax, xmm0
movabs rcx, 0x7fffffffffffffff
and rcx, rax
movabs rax, 0x7ff0000000000000
cmp rcx, rax
je 0x1400f337b
test r8b, r8b
jne 0x1400f332d
xorpd xmm0, xmmword [0x140619a90]
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 0x1400f3325
jmp 0x1400f332d
mov qword [rsp + 0x28], 5
jmp 0x1400f335e
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.14025f110
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400f3337
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.14025f110
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400f3334
Function at 0x140105990
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 0x1401059d4
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov byte [rsi + 0x18], 2
jmp 0x140105a03
call qword [sym.imp.kernel32.dll_lstrlenW]
movsxd r8, eax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.140225fa0
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 0x1401316f0
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.14016edc0
test rax, rax
je 0x14013175c
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 0x1401317ad
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x18]
call fcn.1401047e0
jmp 0x1401317ad
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x60], xmm0
lea r8, [0x140621858]
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x60]
mov r9d, 8
call fcn.14016ebb0
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.14016c620
Function at 0x140162200
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 0x140162239
mov byte [rsi + 0x18], 2
jmp 0x14016226a
mov rcx, qword [rbp - 8]
call sub.kernel32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.140225fa0
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 0x14018e840
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 0x14018e887
xor edx, edx
mov eax, 2
mov qword [rbp - 8], rax
jmp 0x14018e8aa
js 0x14018e91c
lea r14, [rax + rax]
mov edx, 2
mov rcx, r14
call fcn.140104800
mov rdx, rax
mov qword [rbp - 8], rax
test rax, rax
je 0x14018e923
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 0x14018e90a
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.14019bfa0
mov rdx, qword [rbp - 0x10]
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 8]
call fcn.1401047e0
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.14026cea0
ud2
call fcn.140240ab0
ud2
mov ecx, 2
mov rdx, r14
call fcn.14026c6c0
ud2

Function at 0x14018f410
Capabilities:
Log keystrokes

Disassembly:
push rsi
sub rsp, 0x70
mov rsi, rcx
call qword [sym.imp.user32.dll_SetForegroundWindow]
test eax, eax
je 0x14018f428
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 0x1401955d0
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x48
movzx edx, dl
test dl, dl
je 0x1401955e7
cmp edx, 1
jne 0x1401955f1
mov eax, 0x2000
jmp 0x1401955f6
mov eax, 1
mov rcx, rdx
jmp 0x1401955f6
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 0x14019a940
Capabilities:
Log keystrokes via polling

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
call fcn.140199090
cmp byte [rdx + 0x98], 0
je 0x14019a96b
mov ecx, 0xa5
call qword [sym.imp.user32.dll_GetKeyState]
test ax, ax
setns bl
jmp 0x14019a96d
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 0x14019a9e3
mov ecx, 0x5c
call qword [sym.imp.user32.dll_GetKeyState]
test ax, ax
js 0x14019a9e3
and esi, 0xf7ff
jmp 0x14019a9e9
or esi, 0x800
mov eax, esi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

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

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rdx, [0x1406307e8]
call fcn.1401ad8e6
lea rdx, str.EBWebViewx64EmbeddedBrowserWebView.dll
mov rcx, rsi
call fcn.1401ad8e6
mov rcx, rsi
call fcn.1401ad9c0
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1401ac706
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.1401ad77a
mov rcx, rsi
mov rdx, r14
call fcn.1401ad802
mov rcx, rsi
call fcn.1401ad9c0
mov rbx, rax
mov rcx, rsi
call fcn.1401ad9bc
cmp rax, 3
jb 0x1401ac78a
movzx eax, word [rbx + 2]
cmp ax, 0x3a
jne 0x1401ac77a
cmp word [rbx + 4], 0x5c
jne 0x1401ac78a
movzx eax, word [rbx]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x1401ac78a
jmp 0x1401ac847
cmp word [rbx], 0x5c
jne 0x1401ac78a
cmp ax, 0x5c
je 0x1401ac847
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x20]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1406304f0]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1401ad70c
xor ecx, ecx
mov rdx, rbx
call fcn.1401ac63a
test eax, eax
js 0x1401ac886
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401ad9bc
mov rdi, rax
mov rcx, rbx
call fcn.1401ad9c0
mov rcx, rsi
mov rdx, rax
mov r8, rdi
call fcn.1401ad834
mov rcx, rbx
call fcn.1401ad9c0
mov rcx, rax
mov dx, 0x5c
call fcn.140253380
test rax, rax
je 0x1401ac897
mov rbx, rax
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.1401ad9c0
sub rbx, rax
add rbx, 2
sar rbx, 1
mov rcx, rdi
call fcn.1401ad9c0
mov rcx, rsi
mov rdx, rax
mov r8, rbx
call fcn.1401ad834
mov rcx, rsi
mov rdx, r14
call fcn.1401ad8e6
mov rcx, rdi
call fcn.1401ad71e
mov rcx, rsi
call fcn.1401ac5fa
xor ebx, ebx
test al, al
jne 0x1401ac8a6
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.1401ad9c0
mov rcx, rax
call qword [sym.imp.kernel32.dll_OutputDebugStringW]
lea rcx, str._nADVAPI32.dll
call rdi
mov ebx, 0x80070002
jmp 0x1401ac8a6
mov ebx, eax
lea rcx, str.WebView2:_Failed_to_find_the_app_exe_path._n
call qword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x1401ac89c
mov ebx, 0x80004005
lea rcx, [rsp + 0x20]
call fcn.1401ad71e
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140251a90
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401ad32a
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.140258480
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 0x1401ad3cf
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140251a90
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 0x1401ad3ae
cmp dword [rsp + 0x3c], 3
jb 0x1401ad3ae
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1401ad802
mov rcx, r15
call fcn.1401ad9c0
mov rcx, rax
mov dx, 0x5c
call fcn.140253380
test rax, rax
je 0x1401ad47c
mov rdi, rax
add rdi, 2
movaps xmm0, xmmword [0x1406304f0]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.1401ad1fd
test al, al
je 0x1401ad47c
test r14, r14
je 0x1401ad468
mov rcx, r14
mov rdx, rdi
call fcn.1401ad802
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.1401ad483
mov ebx, eax
jmp 0x1401ad3ae
xor ebx, ebx
jmp 0x1401ad3ae

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
xor eax, eax
lea rdx, [0x140630ae0]
mov esi, dword [rax + rdx]
cmp dword [rcx + rax], esi
ja 0x1401ad4a9
jb 0x1401ad4b7
add rax, 4
cmp rax, 0x10
jne 0x1401ad495
mov rcx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401ac5fa
lea rcx, str.Loader_skipped_an_incompatible_version:
mov rsi, qword [sym.imp.kernel32.dll_OutputDebugStringW]
call rsi
mov rcx, rdi
call fcn.1401ad9c0
mov rcx, rax
call rsi
lea rcx, [0x140630b42]
call rsi
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1401ae039
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 0x1401ae0dc
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 0x1401ae105
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
call 0x1401ae138
test al, al
je 0x1401ae117
mov rcx, qword [r15]
test rcx, rcx
je 0x1401ae134
xor edx, edx
mov r8d, 0xa
call sub.api_ms_win_crt_convert_l1_1_0.dll_wcstol
cmp eax, 1
jmp 0x1401ae10a
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140251a90
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 0x1401ae138
cmp dword [rsp + 0x44], 1
sete al
movzx eax, al
mov dword [rsi], eax
mov sil, 1
jmp 0x1401ae119
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140251a90
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
jmp 0x1401ae10d
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.140258480
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 0x1401ae1c9
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1401ad802
mov rcx, r15
call fcn.1401ad9c0
mov qword [r14], rax
test ebx, ebx
sete bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140251a90
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401ae138
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 0x1401ae0dc
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 0x1401ae105
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
call 0x1401ae138
test al, al
je 0x1401ae117
mov rcx, qword [r15]
test rcx, rcx
je 0x1401ae134
xor edx, edx
mov r8d, 0xa
call sub.api_ms_win_crt_convert_l1_1_0.dll_wcstol
cmp eax, 1
jmp 0x1401ae10a
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140251a90
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 0x1401ae138
cmp dword [rsp + 0x44], 1
sete al
movzx eax, al
mov dword [rsi], eax
mov sil, 1
jmp 0x1401ae119
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140251a90
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
jmp 0x1401ae10d
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.140258480
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 0x1401ae1c9
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1401ad802
mov rcx, r15
call fcn.1401ad9c0
mov qword [r14], rax
test ebx, ebx
sete bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140251a90
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401ae29f
Capabilities:
Print debug messages

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rsi, r9
mov ebp, r8d
mov r14d, edx
mov rbx, rcx
mov rax, qword [0x14071e300]
xor rax, rsp
mov qword [rsp + 0x58], rax
call qword [sym.imp.kernel32.dll_LoadLibraryW]
test rax, rax
je 0x1401ae319
mov rdi, rax
lea rdx, str.CreateWebViewEnvironmentWithOptionsInternal
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401ae3ae
mov rcx, qword [rsp + 0xb8]
mov r9, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rcx
mov ecx, r14d
mov edx, ebp
mov r8, rsi
call qword [0x14026e968]
mov esi, eax
mov dword [rsp + 0x54], eax
jmp 0x1401ae430
call qword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea rbp, [rsp + 0x54]
mov dword [rbp], esi
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1406304f0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1401ad70c
mov edx, 4
mov rcx, rbp
mov r8b, 1
mov r9, rdi
call fcn.1401ae1f0
lea rcx, str.WebView2:_CoreWebView2Environment_failed_when_trying_to_LoadLibrary:_hr0x
mov rbp, qword [sym.imp.kernel32.dll_OutputDebugStringW]
call rbp
mov rcx, rdi
call fcn.1401ad9c0
mov rcx, rax
call rbp
lea rcx, str._path
call rbp
mov rcx, rbx
call rbp
lea rcx, [0x140630b42]
call rbp
mov rcx, rdi
call fcn.1401ad71e
jmp 0x1401ae44e
call qword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea rbp, [rsp + 0x54]
mov dword [rbp], esi
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1406304f0]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1401ad70c
mov edx, 4
mov rcx, rbp
mov r8b, 1
mov r9, rbx
call fcn.1401ae1f0
lea rcx, str.WebView2:_CoreWebView2Environment_failed_when_trying_to_call_into_EmbeddedBrowserWebView.dll._hr0x
mov rbp, qword [sym.imp.kernel32.dll_OutputDebugStringW]
call rbp
mov rcx, rbx
call fcn.1401ad9c0
mov rcx, rax
call rbp
lea rcx, [0x140630b42]
call rbp
mov rcx, rbx
call fcn.1401ad71e
lea rdx, str.DllCanUnloadNow
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401ae44e
mov rcx, rdi
call qword [sym.imp.kernel32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140251a90
mov eax, esi
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1401ae468
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1401ae4bc
mov ebx, eax
mov edx, eax
mov rcx, rsi
call fcn.1401ad77a
test al, al
je 0x1401ae4bc
mov rcx, rsi
call fcn.1401ad9c0
mov rcx, rdi
mov rdx, rax
mov r8d, ebx
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov edx, eax
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1401ad8c4
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401b5980
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rbp + 0x18], rcx
mov rax, qword [rcx]
nop
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1401b59a0
test al, 1
je 0x1401b5a69
test al, 2
jne 0x1401b5a83
xor rax, 3
mov qword [rbp], rax
mov rcx, rbp
lea rdx, [rbp + 0x18]
call fcn.1401bcee0
test rax, rax
je 0x1401b59fe
mov qword [rbp + 0x10], 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
mov rcx, qword [rbp + 0x10]
je 0x1401b59fe
mov r8, qword [rax + 0x10]
call fcn.1401047e0
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 8], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 8]
jb 0x1401b5a9d
jne 0x1401b5a5f
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x20], rax
lea rcx, [rax + 0x28]
call fcn.1401b0980
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x58]
test rax, rax
je 0x1401b5a4b
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 0x60]
call qword [rax + 0x18]
mov edx, 0x80
mov r8d, 0x80
mov rcx, qword [rbp + 0x20]
call fcn.1401047e0
nop
add rsp, 0xb0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140632898]
mov edx, 0x23
call fcn.14026c9b0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1406328d8]
mov edx, 0x25
call fcn.14026c9b0
ud2
mov qword [rbp - 8], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x28], rax
lea rax, [fcn.140250b80]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 8]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
lea rax, str.current:___sub:
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 2
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
lea rdx, [0x140632920]
lea rcx, [rbp - 0x58]
call fcn.14026c900
ud2

Function at 0x1401b8b60
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1401b8b70
test al, 1
je 0x1401b8b8f
test al, 2
jne 0x1401b8ba9
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140632898]
mov edx, 0x23
call fcn.14026c9b0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1406328d8]
mov edx, 0x25
call fcn.14026c9b0
ud2
Function at 0x1401c7630
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret