joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003f250
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18003f280
xor eax, eax
jmp 0x18003f343
mov rbp, rbx
cmp word [rax], si
je 0x18003f2a5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18003f28c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18003f288
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18003f170
movsxd r14, eax
test eax, eax
jne 0x18003f2e3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18003f279
mov rcx, r14
call fcn.18003776c
mov rdi, rax
test rax, rax
jne 0x18003f2fc
xor ecx, ecx
call fcn.180036b0c
jmp 0x18003f2d8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18003f170
test eax, eax
jne 0x18003f32d
mov rcx, rdi
call fcn.180036b0c
jmp 0x18003f337
xor ecx, ecx
call fcn.180036b0c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1800437fc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180034f28
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18004389d
cmp ebx, dword [rsp + 0x30]
je 0x180043896
test esi, esi
je 0x180043896
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180043871
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18004387e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18004385b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180043882
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18004389f
mov eax, 1
jmp 0x18004389f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180046a1c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.180033968
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x180046aa6
cmp byte [rbp - 0x21], r15b
je 0x180046aa1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x180046adc
call fcn.18003ba10
test eax, eax
jne 0x180046ac8
cmp byte [rbp - 0x21], r15b
je 0x180046ac0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x180046adc
cmp byte [rbp - 0x21], r15b
je 0x180046ad9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.180033f64
test eax, eax
jne 0x180046b7c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.180033968
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x180046b1b
cmp byte [rbp - 0x21], r15b
je 0x180046b50
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x180046b50
call fcn.18003ba10
test eax, eax
jne 0x180046b3c
cmp byte [rbp - 0x21], r15b
je 0x180046b35
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x180046b50
cmp byte [rbp - 0x21], r15b
je 0x180046b4d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.180033f64
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x180046b7c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x180046b7f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x180046b8d
mov rcx, rdi
call fcn.180036b0c
cmp byte [rbp + 0x3f], r15b
je 0x180046b9c
mov rcx, qword [rbp + 0x27]
call fcn.180036b0c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180048a24
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.18003d0e0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18003d0e0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180048b74
cmp rax, 0xffffffffffffffff
je 0x180048b74
xor edi, edi
test rbp, rbp
jle 0x180048b1f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800376f4
mov rbx, rax
test rax, rax
jne 0x180048aac
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180048b15
mov edx, 0x8000
mov ecx, r14d
call fcn.180045a1c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18003b05c
cmp eax, 0xffffffff
je 0x180048af5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180048abc
mov edx, r15d
mov ecx, r14d
call fcn.180045a1c
jmp 0x180048b15
cmp byte [rsi + 0x38], dil
je 0x180048b0c
cmp dword [rsi + 0x34], 5
jne 0x180048b0c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180048b15
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180036b0c
jmp 0x180048b88
jns 0x180048b88
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18003d0e0
cmp rax, 0xffffffffffffffff
jne 0x180048b40
cmp byte [rsi + 0x30], dil
je 0x180048b88
mov edi, dword [rsi + 0x2c]
jmp 0x180048b88
mov ecx, r14d
call fcn.180045820
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180048b88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180048b88
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180048b81
mov eax, dword [rsi + 0x2c]
jmp 0x180048b86
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18003d0e0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1800492b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800492d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800492d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001bdc0
Capabilities:
Log keystrokes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov cl, 1
xor eax, eax
lock cmpxchg byte [rdi + 0x10], cl
jne 0x14001be0e
mov ebx, dword [rdi + 0x1d0]
xor ecx, ecx
mov al, 1
lock cmpxchg byte [rdi + 0x10], cl
jne 0x14001be1f
call qword [sym.imp.user32.dll_GetForegroundWindow]
and ebx, 0x2002
cmp ebx, 2
jne 0x14001be3e
cmp rax, rsi
je 0x14001be3e
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14018eb80
lea rcx, [rdi + 0x10]
mov r8d, 0x3b9aca00
call fcn.140269360
jmp 0x14001bdd8
add rdi, 0x10
mov rcx, rdi
xor edx, edx
call fcn.140269a60
call qword [sym.imp.user32.dll_GetForegroundWindow]
and ebx, 0x2002
cmp ebx, 2
je 0x14001bdfa
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002e8f0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp + 0x1c], 8
lea rdx, [rbp + 0x1c]
mov ecx, 0x67
mov r8d, 8
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x24], eax
test eax, eax
je 0x14002ea1f
lea rax, [rbp + 0x24]
mov qword [rbp - 0x10], rax
lea rax, [0x140250000]
mov qword [rbp - 8], rax
lea rax, str.Hata:_NtQuery___
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 2
mov qword [rbp - 0x30], 0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov rdi, rbp
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.1402408c0
mov rcx, rdi
call fcn.140240330
mov r8, rdx
test rax, rax
je 0x14002ea30
mov rcx, rax
mov qword [rbp], 1
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp - 0x20], 0x20
mov byte [rbp - 0x18], 3
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x30], rdi
lea rax, [0x14026e5f8]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x50]
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], r8
call qword [r8 + 0x20]
test al, al
jne 0x14002ea49
mov rax, qword [rbp + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp]
movups xmmword [rsi], xmm0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x30]
call qword [rax]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14002ea3b
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
call fcn.140104c30
jmp 0x14002ea3b
mov eax, dword [rbp + 0x20]
mov r8d, eax
shr r8d, 0xa
and r8d, eax
and r8d, 1
mov byte [rsi + 8], r8b
mov qword [rsi], 0
mov rax, rsi
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
lea rax, [0x14026e6b0]
mov qword [rsp + 0x20], rax
lea rcx, [0x14026e628]
lea r9, [0x14026e730]
lea r8, [rbp - 0x10]
mov edx, 0x37
call fcn.14026c590
ud2
Function at 0x14006aa90
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 0x14006aad1
mov rax, qword [rdx]
movzx edi, byte [rax + rcx]
mov al, 1
cmp edi, 0x2b
je 0x14006aac6
cmp edi, 0x2d
jne 0x14006aad1
xor eax, eax
add r10, 2
mov qword [rdx + 0x10], r10
mov rcx, r10
cmp rcx, r11
jae 0x14006ac6a
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 0x14006ac75
movzx r10d, r10b
cmp rbx, r11
jae 0x14006ab70
mov ebx, 1
sub rbx, r11
add rcx, 2
jmp 0x14006ab2c
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 0x14006ab70
movzx r11d, byte [rdi + rcx - 1]
add r11b, 0xd0
cmp r11b, 0xa
jae 0x14006ab70
mov qword [rdx + 0x10], rcx
cmp r10d, 0xccccccb
jle 0x14006ab10
cmp r10d, 0xccccccc
jne 0x14006ab58
cmp r11b, 7
jbe 0x14006ab10
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
mov rcx, rsi
call case.0x1400d4228.477
jmp 0x14006ac57
mov ecx, dword [rsp + 0x80]
test al, al
je 0x14006ab8c
lea eax, [rcx + r10]
sar eax, 0x1f
add eax, 0x80000000
add ecx, r10d
jmp 0x14006ab9c
xor eax, eax
cmp ecx, r10d
setns al
add eax, 0x7fffffff
sub ecx, r10d
cmovo ecx, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x14066be50]
subpd xmm1, xmmword [0x14066be60]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x135
jb 0x14006ac08
xorpd xmm1, xmm1
movsd xmm2, qword [0x14066be70]
nop word [rax + rax]
ucomisd xmm0, xmm1
jne 0x14006abe8
jnp 0x14006ac40
test ecx, ecx
jns 0x14006ac9b
divsd xmm0, xmm2
add ecx, 0x134
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x134
ja 0x14006abe0
mov eax, eax
mov r9, qword [str._l_]
movsd xmm1, qword [r9 + rax*8]
test ecx, ecx
js 0x14006ac5f
mulsd xmm0, xmm1
movq rax, xmm0
movabs rcx, 0x7fffffffffffffff
and rcx, rax
movabs rax, 0x7ff0000000000000
cmp rcx, rax
je 0x14006ac9b
test r8b, r8b
jne 0x14006ac4d
xorpd xmm0, xmmword [0x14066be80]
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 0x14006ac45
jmp 0x14006ac4d
mov qword [rsp + 0x28], 5
jmp 0x14006ac7e
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.140259960
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14006ac57
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.140259960
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14006ac54
Function at 0x140086ff0
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 0x140087032
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14008703a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14008704b
jmp 0x140087062
xor r10d, r10d
jmp 0x1400870ed
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140087062
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140087079
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 0x140087099
add r11, r8
jmp 0x1400871ca
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 0x140087162
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 0x140087110
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x140087180
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140087192
jmp 0x1400871ac
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400871ac
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 0x1400871c6
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 0x14009fe30
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 0x14009fec6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdettauri:__localhost]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14066de40]
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.140086ff0
test rdi, rdi
je 0x14009ff55
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14009ff6e
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 0x1400a0066
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400a00e8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1400a0073
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 0x14009ff30
cmp r9, 8
jae 0x1400a007c
jmp 0x1400a00e8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140086ff0
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 0x1400a00e8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1400a00e8
mov r8, rcx
cmp r9, 8
jb 0x1400a00e8
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 0x1400a0080
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400c51a0
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.14016e530
test rax, rax
je 0x1400c520c
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 0x1400c525d
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x18]
call fcn.140104c30
jmp 0x1400c525d
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x60], xmm0
lea r8, [0x14067d738]
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x60]
mov r9d, 8
call fcn.14016e320
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.14016bd90

Function at 0x1400ede80
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
lea rcx, [rbp - 0x18]
mov rdx, r9
call fcn.14020ff20
mov rdi, qword [rdi]
add rsi, rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x40], 0
mov dword [rbp - 0x38], 1
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x50]
call fcn.14005ac20
movzx r9d, byte [rbp]
mov rdx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x18]
mov eax, dword [rbp - 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov qword [rbp + 8], rdx
xor r8d, r8d
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov edi, eax
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x1400edf1e
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 8]
call fcn.140104c30
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x1400edf35
mov r8d, 1
mov rcx, rsi
call fcn.140104c30
mov rcx, rdi
shl rcx, 0x20
or rcx, 2
xor eax, eax
test edi, edi
cmovne rax, rcx
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x140105de0
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 0x140105e24
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov byte [rsi + 0x18], 2
jmp 0x140105e53
call qword [sym.imp.kernel32.dll_lstrlenW]
movsxd r8, eax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.1402257b0
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 0x1401311b0
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.14016e530
test rax, rax
je 0x14013121c
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 0x14013126d
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x18]
call fcn.140104c30
jmp 0x14013126d
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x60], xmm0
lea r8, [0x140684538]
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x60]
mov r9d, 8
call fcn.14016e320
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.14016bd90
Function at 0x140161970
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 0x1401619a9
mov byte [rsi + 0x18], 2
jmp 0x1401619da
mov rcx, qword [rbp - 8]
call sub.kernel32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.1402257b0
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