joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c9850
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov rdi, r8
mov rbx, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400bfdd0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
test rsi, rsi
je 0x1400c98a1
add rsi, 0xc
jmp 0x1400c98a3
xor esi, esi
mov qword [rbp - 0x48], rsi
mov r14, qword [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov r14, qword [rbp + 0x38]
mov qword [rsp + 0x28], r14
mov rcx, rdx
mov qword [rbp - 0x50], rcx
mov rdx, rsi
mov qword [rbp - 0x58], rdx
mov r8, rdi
mov qword [rbp - 0x60], r8
mov r9, rbx
mov qword [rbp - 0x68], r9
lea rcx, [rbp - 0x90]
call fcn.140006410
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov r9, qword [rbp - 0x68]
call sub.ADVAPI32.dll_RegQueryValueExW
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140006460
nop
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x1400c991c
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400bfe60
mov eax, esi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14000cfe0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 8], 0
mov rsi, rdx
movsxd rbx, r8d
mov rdi, rcx
jne 0x14000d003
call fcn.14000cbe0
cmp dword [rdi + 8], 1
jne 0x14000d01a
lea rcx, [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call fcn.14000f160
jmp 0x14000d076
cmp dword [rdi + 8], 2
jne 0x14000d076
cmp qword [rdi], 0
jne 0x14000d03f
mov r8d, 0x2f
lea rdx, [0x140095730]
lea rcx, str.ctx__lgfp
call fcn.140071a0c
mov r9, qword [rdi]
mov r8, rbx
mov edx, 1
mov rcx, rsi
call fcn.14007a820
cmp rax, rbx
jae 0x14000d076
mov rcx, rdi
call fcn.14000cb9c
mov rcx, qword [rdi + 0x30]
lea rdx, str.Disabled_writing_session_log_due_to_error_while_writing
mov dword [rdi + 8], 3
call fcn.140059340
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000efd0
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400bfa10]
xor rax, rsp
mov qword [rsp + 0x10], rax
xor r8d, r8d
mov r10, rdx
mov r9d, r8d
or r11d, 0xffffffff
mov rdx, rcx
mov cl, byte [r9 + rdx]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x14000f006
movsx eax, cl
sub eax, 0x41
jmp 0x14000f048
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14000f015
movsx eax, cl
sub eax, 0x47
jmp 0x14000f048
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000f024
movsx eax, cl
add eax, 4
jmp 0x14000f048
cmp cl, 0x2b
jne 0x14000f030
mov eax, 0x3e
jmp 0x14000f048
cmp cl, 0x2f
jne 0x14000f03c
mov eax, 0x3f
jmp 0x14000f048
cmp cl, 0x3d
jne 0x14000f0c6
mov eax, r11d
mov dword [rsp + r9*4], eax
inc r9
cmp r9, 4
jl 0x14000eff3
mov edx, dword [rsp]
cmp edx, r11d
je 0x14000f0c6
cmp dword [rsp + 4], r11d
je 0x14000f0c6
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 0xc]
cmp ecx, r11d
jne 0x14000f07e
cmp eax, r11d
jne 0x14000f0c6
mov r8d, 1
jmp 0x14000f089
cmp eax, r11d
setne r8b
add r8d, 2
shl edx, 6
and eax, 0x3f
or edx, dword [rsp + 4]
and ecx, 0x3f
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
mov eax, edx
shr eax, 0x10
mov byte [r10], al
cmp r8d, 1
jle 0x14000f0b7
mov ecx, edx
shr ecx, 8
mov byte [r10 + 1], cl
cmp r8d, 2
jle 0x14000f0c1
mov byte [r10 + 2], dl
mov eax, r8d
jmp 0x14000f0c8
xor eax, eax
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.14006eb50
add rsp, 0x28
ret

Function at 0x14000fe34
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9, rcx
test r8, r8
je 0x14000fe59
sub rdx, rcx
movzx ecx, byte [rdx + r9]
movzx eax, byte [r9]
inc r9
xor ecx, eax
or r10d, ecx
sub r8, 1
jne 0x14000fe42
mov eax, 0x100
sub eax, r10d
shr eax, 8
ret

Function at 0x140013fd8
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 0x34
mov rbx, rcx
call fcn.140002ebc
cmp byte [rax], 0
je 0x140013ffd
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.14000f6d4
mov edx, 0x35
mov rcx, rbx
call fcn.140002d3c
test eax, eax
je 0x140014018
add rsp, 0x20
pop rbx
jmp fcn.140065a10
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400142c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov rcx, rbx
mov edx, r8d
call fcn.140058000
mov r8d, eax
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14006b730
Function at 0x14002a6e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400bfa10]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, r8
mov edi, edx
mov r14, rcx
test dl, 0xf
je 0x14002a729
mov r8d, 0x41f
lea rdx, str..._sshaes.c
lea rcx, str._len__15___0
call fcn.140071a0c
lea r15, [rbp + 0x3d0]
mov r8d, 0x10
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.14006f9f0
test edi, edi
jle 0x14002a82a
lea rsi, [r14 + 2]
mov rbx, 0xfffffffffffffffe
sub rbx, r14
lea r14d, [rdi - 1]
shr r14d, 4
inc r14d
lea r13, [rsp + 0x40]
mov rdi, rsi
add r13, rbx
lea r12, [rsp + 0x30]
add r12, rbx
mov edx, 4
movzx eax, byte [rdi - 1]
movzx ecx, byte [rdi - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 1]
shl ecx, 8
or ecx, eax
mov dword [rdi + r13], ecx
mov dword [rdi + r12], ecx
add rdi, 4
sub rdx, 1
jne 0x14002a77c
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [rbp + 0x3c8]
lea r9, [rsp + 0x20]
mov r10d, 4
add r9, rbx
mov edx, dword [rsi + r9]
mov ecx, edx
mov r8d, dword [rsi + r12]
mov eax, r8d
shr eax, 0x18
shr ecx, 0x18
xor cl, al
mov eax, r8d
shr eax, 0x10
mov byte [rsi - 2], cl
mov ecx, edx
shr ecx, 0x10
xor cl, al
shr edx, 8
mov al, byte [rsi + r9]
xor al, byte [rsi + r12]
shr r8d, 8
mov byte [rsi + 1], al
xor dl, r8b
mov eax, dword [rsi + r13]
mov dword [rsi + r9], eax
mov byte [rsi - 1], cl
mov byte [rsi], dl
lea rsi, [rsi + 4]
sub r10, 1
jne 0x14002a7c8
sub rbx, 0x10
mov rsi, rdi
sub r14, 1
jne 0x14002a764
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.14006f9f0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006eb50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14002c3a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r10b, byte [rcx]
mov rbx, rdx
mov r11b, byte [rcx + 1]
mov r9, rcx
test r8d, r8d
jle 0x14002c3fd
mov edi, r8d
inc r10b
movzx r8d, r10b
movzx edx, byte [r8 + r9 + 2]
add r11b, dl
movzx ecx, r11b
mov al, byte [rcx + r9 + 2]
mov byte [r8 + r9 + 2], al
mov byte [rcx + r9 + 2], dl
movzx ecx, byte [r8 + r9 + 2]
add ecx, edx
movzx eax, cl
mov cl, byte [rax + r9 + 2]
xor byte [rbx], cl
inc rbx
sub rdi, 1
jne 0x14002c3bf
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov byte [r9], r10b
mov byte [r9 + 1], r11b
ret
Function at 0x14002d954
Capabilities:
Encrypt data using blowfish

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x1400a1f30]
add rcx, 0x1000
mov r8d, 0x48
call fcn.14006f9f0
lea r8, [0x1400a1f80]
mov edx, 0x100
lea r9, [0x1400a2380]
sub r8, rbx
lea r10, [0x1400a2780]
sub r9, rbx
sub r10, rbx
lea r11, [0x1400a2b80]
sub r11, rbx
lea rcx, [rbx + 0x800]
mov eax, dword [r8 + rcx - 0x800]
mov dword [rcx - 0x800], eax
mov eax, dword [r9 + rcx - 0x800]
mov dword [rcx - 0x400], eax
mov eax, dword [r10 + rcx - 0x800]
mov dword [rcx], eax
mov eax, dword [r11 + rcx - 0x800]
mov dword [rcx + 0x400], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x14002d9aa
add rsp, 0x20
pop rbx
ret
Function at 0x1400316d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
jmp fcn.1400316e0

Function at 0x1400323e8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rsi, r8
mov ebx, edx
mov r15, rcx
test dl, 7
je 0x140032424
mov r8d, 0x279
lea rdx, str..._sshdes.c
lea rcx, str._len__7___0
call fcn.140071a0c
mov ebp, dword [rsi + 0x80]
mov r14d, dword [rsi + 0x84]
test ebx, ebx
je 0x1400324fb
lea r12d, [rbx - 1]
add r15, 2
shr r12d, 3
inc r12d
movzx eax, byte [r15 - 1]
lea rcx, [rsp + 0x60]
movzx edi, byte [r15 - 2]
mov r9, rsi
movzx ebx, byte [r15 + 2]
shl edi, 8
or edi, eax
shl ebx, 8
movzx eax, byte [r15]
shl edi, 8
or edi, eax
movzx eax, byte [r15 + 1]
shl edi, 8
or edi, eax
movzx eax, byte [r15 + 3]
or ebx, eax
mov edx, edi
movzx eax, byte [r15 + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [r15 + 5]
shl ebx, 8
or ebx, eax
mov r8d, ebx
call fcn.140032634
xor ebp, dword [rsp + 0x60]
xor r14d, dword [rsp + 0x64]
mov eax, ebp
shr eax, 0x18
mov byte [r15 - 2], al
mov eax, ebp
shr eax, 0x10
mov byte [r15 - 1], al
mov eax, ebp
shr eax, 8
mov byte [r15], al
mov eax, r14d
shr eax, 0x18
mov byte [r15 + 2], al
mov eax, r14d
shr eax, 0x10
mov byte [r15 + 3], al
mov eax, r14d
shr eax, 8
mov byte [r15 + 1], bpl
mov ebp, edi
mov byte [r15 + 5], r14b
mov r14d, ebx
mov byte [r15 + 4], al
lea r15, [r15 + 8]
sub r12, 1
jne 0x140032448
mov rbx, qword [rsp + 0x50]
mov dword [rsi + 0x80], ebp
mov rbp, qword [rsp + 0x58]
mov dword [rsi + 0x84], r14d
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140032520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov edi, edx
mov rsi, rcx
test dl, 7
je 0x140032555
mov r8d, 0x261
lea rdx, str..._sshdes.c
lea rcx, str._len__7___0
call fcn.140071a0c
mov eax, dword [rbx + 0x80]
mov edx, dword [rbx + 0x84]
test edi, edi
je 0x140032616
dec edi
add rsi, 2
shr edi, 3
inc edi
movzx ecx, byte [rsi + 3]
mov r9, rbx
movzx r8d, byte [rsi + 2]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rsi + 4]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rsi + 5]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rsi - 1]
xor r8d, edx
movzx edx, byte [rsi - 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [rsi]
shl edx, 8
or edx, ecx
movzx ecx, byte [rsi + 1]
shl edx, 8
or edx, ecx
lea rcx, [rsp + 0x40]
xor edx, eax
call fcn.1400330c4
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x44]
mov ecx, eax
shr ecx, 0x18
mov byte [rsi - 2], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi - 1], cl
mov ecx, eax
shr ecx, 8
mov byte [rsi], cl
mov ecx, edx
shr ecx, 0x18
mov byte [rsi + 2], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rsi + 3], cl
mov ecx, edx
shr ecx, 8
mov byte [rsi + 4], cl
mov byte [rsi + 1], al
mov byte [rsi + 5], dl
lea rsi, [rsi + 8]
sub rdi, 1
jne 0x140032574
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x80], eax
mov dword [rbx + 0x84], edx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400393ec
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400bfa10]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [rcx + 0x20]
call qword [rax]
mov edx, 0x38
mov rdi, rax
lea ecx, [rdx - 0x37]
call fcn.14000fd10
mov rbx, rax
and qword [rax], 0
mov qword [rax + 8], rdi
cmp dword [rdi], 1
jne 0x1400394bf
xor eax, eax
mov byte [rbp - 0x30], 0
mov qword [rbp - 0x2f], rax
lea rsi, [rbp - 0x30]
mov qword [rbp - 0x27], rax
xor edi, edi
mov qword [rbp - 0x1f], rax
mov dword [rbp - 0x17], eax
mov word [rbp - 0x13], ax
mov byte [rbp - 0x11], al
call fcn.14003d068
inc edi
mov byte [rsi], al
inc rsi
movsxd rax, edi
cmp rax, 0x20
jb 0x14003945d
mov al, byte [rbp - 0x11]
lea rcx, [rbp - 0x30]
and byte [rbp - 0x30], 0xf8
and al, 0x3f
or al, 0x40
mov edx, 0x20
mov byte [rbp - 0x11], al
call fcn.14002e2fc
mov edx, 0x20
mov qword [rbx + 0x30], rax
lea rcx, [rbp - 0x30]
call fcn.140065c14
mov rdx, qword [rbx + 0x30]
test rdx, rdx
jne 0x1400394b5
mov rcx, rbx
call fcn.14000fcfc
xor eax, eax
jmp 0x140039518
mov rcx, qword [rbx + 8]
add rcx, 0x38
jmp 0x1400394e3
mov rdx, qword [rdi + 0x38]
mov rcx, qword [0x1400bf870]
call fcn.14002e5e4
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1400394a9
mov rcx, qword [rbx + 8]
mov rdx, rax
add rcx, 0x40
call fcn.140038b50
mov rcx, rax
test rax, rax
jne 0x1400394fb
mov rcx, qword [rbx + 0x30]
call fcn.14002e9f0
jmp 0x1400394a9
mov rax, qword [rax + 8]
mov qword [rbx + 0x10], rax
mov rax, qword [rcx + 0x10]
and qword [rbx + 0x20], 0
mov qword [rbx + 0x18], rax
call fcn.14000fcfc
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14006eb50
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x14003cf58
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
xor esi, esi
mov ebx, edx
cmp dword [0x1400c0830], esi
mov rdi, rcx
je 0x14003d04c
mov ecx, dword [0x1400c0d48]
lea eax, [rsi + 0x40]
sub eax, ecx
lea r14, [0x1400c0d08]
cmp edx, eax
jl 0x14003d035
lea r15, [0x1400c0840]
mov eax, 0x40
mov rdx, rdi
sub eax, ecx
movsxd rcx, ecx
add rcx, r14
movsxd r8, eax
call fcn.14006f9f0
mov ecx, dword [0x1400c0d48]
mov eax, 0x40
sub eax, ecx
mov rdx, r14
add ecx, 0xffffffc0
cdqe
add ebx, ecx
add rdi, rax
lea rcx, [0x1400c0cf4]
call fcn.140041a18
mov eax, dword [0x1400c0cf0]
mov rdx, rsi
movsxd rcx, eax
mov al, byte [rdx + r15 + 0x4b4]
xor byte [rcx + r15], al
mov eax, dword [0x1400c0cf0]
inc eax
cmp eax, 0x4b0
cmovge eax, esi
inc rdx
mov dword [0x1400c0cf0], eax
cmp rdx, 0x14
jl 0x14003cfec
cmp eax, 0x14
jge 0x14003d024
call fcn.14003d190
mov ecx, esi
mov dword [0x1400c0d48], ecx
cmp ebx, 0x40
jge 0x14003cfa5
movsxd rcx, ecx
mov rdx, rdi
add rcx, r14
movsxd r8, ebx
call fcn.14006f9f0
add dword [0x1400c0d48], ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

Function at 0x14003d190
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400bfa10]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp dword [0x1400c0d4c], 0
jne 0x14003d2c9
lea rcx, [fcn.14003cf58]
mov dword [0x1400c0d4c], 1
call fcn.140068954
lea rdx, [0x1400c0d08]
lea rcx, [0x1400c0cf4]
call fcn.140041a18
and dword [0x1400c0d48], 0
lea rdx, [0x1400c0cf4]
mov r8d, 0x14
lea rcx, [rsp + 0x20]
call fcn.14006f9f0
lea rax, [rsp + 0x20]
mov esi, 2
lea rbp, [0x1400c0cdc]
sub rbp, rax
mov r8d, 0x40
lea rdx, [0x1400c0840]
lea rcx, [rsp + 0x40]
call fcn.14006f9f0
mov rbx, rbp
mov edi, 0x3c
xor edx, edx
lea rcx, [rsp + 0x20]
mov eax, dword [rbx + rcx]
inc edx
xor dword [rcx], eax
lea rcx, [rcx + 4]
movsxd rax, edx
cmp rax, 5
jb 0x14003d247
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140041a18
xor edx, edx
lea rcx, [rsp + 0x20]
mov eax, dword [rcx]
inc edx
mov dword [rbx + rcx], eax
lea rcx, [rcx + 4]
movsxd rax, edx
cmp rax, 5
jb 0x14003d271
sub rbx, 0x14
sub rdi, 1
jne 0x14003d240
sub rsi, 1
jne 0x14003d221
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140041a18
lea r8d, [rdi + 0x14]
lea rdx, [rsp + 0x20]
lea rcx, [0x1400c0cf4]
call fcn.14006f9f0
and dword [0x1400c0d4c], esi
mov dword [0x1400c0cf0], 0x14
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14006eb50
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14003e388
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1400bfa10]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edi, dword [rsp + 0xf0]
mov rsi, r9
mov r13d, r8d
mov r12, rdx
mov r14, rcx
xor r15d, r15d
jmp 0x14003e470
cmp edi, dword [r14 + 0x28]
mov ebp, edi
cmovg ebp, dword [r14 + 0x28]
cmp dword [r14 + 0x28], 0x40
jle 0x14003e3f1
mov r8d, 0x3ba
lea rdx, str..._sshrsa.c
lea rcx, str.h__hlen___SSH2_KEX_MAX_HASH_LEN
call fcn.140071a0c
mov eax, r15d
mov byte [rsp + 0x23], r15b
shr eax, 0x18
mov byte [rsp + 0x20], al
mov eax, r15d
shr eax, 0x10
mov byte [rsp + 0x21], al
mov eax, r15d
shr eax, 8
mov byte [rsp + 0x22], al
call qword [r14]
mov r8d, r13d
mov rdx, r12
mov rcx, rax
mov rbx, rax
call qword [r14 + 0x10]
mov r8d, 4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [r14 + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [r14 + 0x18]
inc r15d
movsxd r9, ebp
test ebp, ebp
jle 0x14003e46b
lea rdx, [rsp + 0x30]
mov rcx, rsi
sub rdx, rsi
mov r8, r9
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x14003e45d
add rsi, r9
sub edi, ebp
test edi, edi
jg 0x14003e3c6
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006eb50
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140041a18
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x1400bfa10]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov edi, 0x40
mov r8d, edi
lea rcx, [rsp + 0x20]
call fcn.14006f9f0
lea rdx, [rsp + 0x28]
mov eax, dword [rdx + 0x2c]
xor eax, dword [rdx + 0x18]
xor eax, dword [rdx - 8]
xor eax, dword [rdx]
lea rdx, [rdx + 4]
rol eax, 1
mov dword [rdx + 0x34], eax
sub rdi, 1
jne 0x140041a63
mov r14d, dword [rbx]
xor ebp, ebp
mov r15d, dword [rbx + 4]
mov r11d, r14d
mov r12d, dword [rbx + 8]
mov r9d, r15d
mov r13d, dword [rbx + 0xc]
mov r8d, r12d
mov esi, dword [rbx + 0x10]
lea edi, [rbp + 0x14]
mov r10d, r13d
mov eax, r8d
mov ecx, r9d
and eax, r9d
mov edx, r11d
rol edx, 5
not ecx
and ecx, r10d
or eax, ecx
add eax, edx
add eax, dword [rsp + rbp*4 + 0x20]
inc rbp
add eax, esi
mov esi, r10d
mov r10d, r8d
mov r8d, r9d
ror r8d, 2
mov r9d, r11d
lea r11d, [rax + 0x5a827999]
cmp rbp, rdi
jl 0x140041aa0
mov ebp, 0x28
mov edx, r10d
mov eax, r11d
xor edx, r8d
rol eax, 5
add eax, dword [rsp + rdi*4 + 0x20]
xor edx, r9d
add eax, esi
inc rdi
add edx, eax
mov esi, r10d
mov r10d, r8d
mov r8d, r9d
ror r8d, 2
mov r9d, r11d
lea r11d, [rdx + 0x6ed9eba1]
cmp rdi, rbp
jl 0x140041ae2
mov edi, 0x3c
mov edx, r11d
mov ecx, r8d
or ecx, r9d
rol edx, 5
and ecx, r10d
mov eax, r8d
and eax, r9d
or ecx, eax
add ecx, dword [rsp + rbp*4 + 0x20]
lea eax, [rsi + rdx]
add eax, 0x8f1bbcdc
mov esi, r10d
mov r10d, r8d
add eax, ecx
mov r8d, r9d
inc rbp
ror r8d, 2
mov r9d, r11d
mov r11d, eax
cmp rbp, rdi
jl 0x140041b1d
mov eax, dword [rsp + rdi*4 + 0x20]
mov edx, r11d
mov ecx, r10d
rol edx, 5
xor ecx, r8d
inc rdi
xor ecx, r9d
add eax, ecx
lea ecx, [rsi + rdx]
mov esi, r10d
mov r10d, r8d
add ecx, 0xca62c1d6
mov r8d, r9d
add ecx, eax
ror r8d, 2
mov r9d, r11d
mov r11d, ecx
cmp rdi, 0x50
jl 0x140041b5d
add dword [rbx + 0x10], esi
lea eax, [r14 + rcx]
mov dword [rbx], eax
lea eax, [r15 + r9]
mov dword [rbx + 4], eax
lea eax, [r12 + r8]
mov dword [rbx + 8], eax
lea eax, [r10 + r13]
mov dword [rbx + 0xc], eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14006eb50
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140058fb8
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [0x1400c4c18]
lea r9, [fcn.14006f438]
and qword [rsp + 0x20], 0
xor r8d, r8d
lea edx, [r8 + 0x6f]
call qword [sym.imp.USER32.dll_CreateDialogParamA]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_DestroyWindow]
Function at 0x14005e874
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x100
mov rax, qword [0x1400bfa10]
xor rax, rsp
mov qword [rsp + 0xf0], rax
cmp edx, 1
jne 0x14005e8c2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1400c0fcc]
cmp eax, 0x31
jbe 0x14005e9c7
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400c0fcc], eax
jmp 0x14005e9ad
cmp edx, 3
jne 0x14005e967
mov rcx, qword [0x1400c4be0]
mov edx, 0x6c
call fcn.140002bc4
mov r9, qword [0x1400c2728]
mov rbx, rax
test r9, r9
je 0x14005e901
mov rcx, qword [rax]
xor edx, edx
mov r8d, 0x20001
call r9
test eax, eax
jne 0x14005e9ad
mov r8, qword [rbx]
lea rdx, str.Unable_to_play_sound_file_n_s_nUsing_default_sound_instead
lea rcx, [rsp + 0x20]
call fcn.14000a3b8
mov r8, qword [0x140090ad8]
lea rdx, str._.70s_Sound_Error
lea rcx, [rsp + 0x80]
call fcn.14000a3b8
mov rcx, qword [0x1400c4c28]
lea r8, [rsp + 0x80]
mov r9d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x1400c4be0]
mov edx, 0x66
lea r8d, [rdx - 0x65]
call fcn.140003690
jmp 0x14005e9ad
cmp edx, 4
jne 0x14005e9ad
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1400c0fdc]
cmp eax, 0x31
jbe 0x14005e9c7
cmp dword [0x1400c4b50], 2
jne 0x14005e998
mov edx, 0x64
mov ecx, 0x320
call qword [sym.imp.KERNEL32.dll_Beep]
jmp 0x14005e9a1
or ecx, 0xffffffff
call qword [sym.imp.USER32.dll_MessageBeep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400c0fdc], eax
mov rax, qword [0x1400c4c10]
cmp dword [rax + 0x174], 0
jne 0x14005e9c7
mov ecx, 2
call fcn.14005fc38
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14006eb50
add rsp, 0x100
pop rbx
ret

Function at 0x140060acc
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x138
mov rax, qword [0x1400bfa10]
xor rax, rsp
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140060b0d
test byte [rsp + 0x32], 0x80
je 0x140060b02
mov eax, 1
jmp 0x140060b0d
movzx eax, byte [rsp + 0xc5]
shr eax, 7
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14006eb50
add rsp, 0x138
ret

Function at 0x1400611fc
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
mov r9, qword [0x1400c4c28]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [0x14005e3dc]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret

Function at 0x140061ac0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400bfa10]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx ecx, cx
lea r8, [rsp + 0x20]
mov r9d, 0x14
mov edx, 0x1004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea rcx, [rsp + 0x20]
call fcn.140072d28
mov dword [0x1400c10bc], eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14006eb50
add rsp, 0x48
ret
Function at 0x14006257c
Capabilities:
Open clipboard
Write clipboard data

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, 0x20
movsxd rbx, r8d
mov r14, rdx
mov ecx, 0x2002
mov ebp, r9d
lea eax, [rbx + 1]
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14006265a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x14006265a
mov r8, rbx
mov rdx, r14
mov rcx, rax
call fcn.14006f9f0
mov rcx, rdi
mov byte [rbx + rsi], 0
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, 1
mov ebx, 0x8002
test ebp, ebp
jne 0x14006260e
mov rcx, qword [0x1400c4c28]
xor r9d, r9d
mov r8d, esi
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x1400c4c28]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140062638
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, esi
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140062641
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test ebp, ebp
jne 0x14006265a
mov rcx, qword [0x1400c4c28]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageA]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret