joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012f0f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x70], WSAGetLastError
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_27
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1402b18fb]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140256ee0
add rsp, 0xf0
pop rdi
ret

Function at 0x14012f1c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea r8, [0x14049dc8c]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.1401352f0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_WSASetLastError
rep stosb byte [rdi], al
mov dword [rsp + 0x30], reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
lea rax, str.cmd.exe
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140056b20
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x14012f28a
mov dword [rsp + 0x20], 0xffffffff
mov rcx, qword [rsp + 0xc0]
call fcn.14000e940
mov eax, dword [rsp + 0x20]
jmp 0x14012f2dd
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0xc0]
call fcn.14000e940
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140256ee0
add rsp, 0xb0
pop rdi
ret
Function at 0x140130f90
Capabilities:
Allocate or change rwx memory
Create thread
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x538
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0x528], rax
call fcn.140130f40
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x520]
mov r8d, 0x40
mov edx, 0x1000
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [rsp + 0x80], 0x100002
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rax, qword [rsp + 0x540]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x80], 0x100002
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x528]
xor rcx, rsp
call fcn.140256ee0
add rsp, 0x538
ret
Function at 0x140132300
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140132339
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.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 0x140132427
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1401323cf
cmp qword [rsp + 0x20], 0
jle 0x1401323cf
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140132379
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140010150
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x140132417
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140132417
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x140132430
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140132464
xor eax, eax
jmp 0x140132660
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140132496
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x140132660
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140132547
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140011c50
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140010150
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x140132650
mov rcx, qword [rsp + 0x80]
call fcn.140135a20
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1401325fd
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1401325f8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140132660
jmp 0x140132573
cmp qword [rsp + 0x50], 0
jbe 0x140132650
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140256ee0
add rsp, 0x78
ret
Function at 0x140135ae0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x140135b1d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140135b24
mov al, 1
jmp 0x140135c7e
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140138410
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140138410
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140138470
movzx eax, al
test eax, eax
je 0x140135b7b
xor al, al
jmp 0x140135c7e
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140135beb
cmp dword [rsp + 0x30], 1
je 0x140135bf7
cmp dword [rsp + 0x30], 3
je 0x140135c6c
jmp 0x140135c7c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140135c43
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x140135c43
xor al, al
jmp 0x140135c7e
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140135c5d
mov dword [rsp + 0x34], 1
jmp 0x140135c65
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x140135c7e
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140135c7e
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140256ee0
add rsp, 0xa8
ret
Function at 0x140148b40
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x288
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x28], 0
mov edx, dword [rsp + 0x290]
mov ecx, Ordinal_27
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x140148bdc
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140148bdc
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x60]
call fcn.140148a70
test eax, eax
jne 0x140148bc8
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
jmp 0x140148bdc
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140148ba6
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140256ee0
add rsp, 0x288
ret
Function at 0x140148fd0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xf8
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rdx, str.user32.dll
mov ecx, dword [rsp + 0x110]
call fcn.140148b40
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140149020
xor al, al
jmp 0x1401491bf
lea r8, str.SetWindowDisplayAffinity
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x1404f5338]
call fcn.140148c10
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14014904c
xor al, al
jmp 0x1401491bf
lea rax, [rsp + 0x80]
lea rcx, str.QRUVSWAPAQARASATAUAVAWH
mov rdi, rax
mov rsi, rcx
mov ecx, 0x56
rep movsb byte [rdi], byte [rsi]
movzx eax, byte [rsp + 0x120]
test eax, eax
je 0x14014907e
mov dword [rsp + 0x40], reloc.WS2_32.dll_recvfrom
jmp 0x140149086
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x9c], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0xa7], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xad], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x56
xor edx, edx
mov rcx, qword [0x1404f5338]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1401490ed
xor al, al
jmp 0x1401491bf
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x56
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x1404f5338]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140149122
xor al, al
jmp 0x1401491bf
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1404f5338]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140149168
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x14014916c
xor al, al
jmp 0x1401491bf
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x56
rep stosb byte [rdi], al
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x56
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x1404f5338]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1401491bd
xor al, al
jmp 0x1401491bf
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140256ee0
add rsp, 0xf8
pop rdi
pop rsi
ret
Function at 0x1401915c0
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x1a8
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x60], 0x130
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1401916a0
lea rdx, str.aow_exe.exe
lea rcx, [rsp + 0x30]
call fcn.14002dc50
mov rcx, rax
call fcn.14002dc80
mov rdx, rax
lea rcx, [rsp + 0x8c]
call fcn.140148a70
test eax, eax
je 0x140191681
lea rdx, str.AndroidProcess.exe
lea rcx, [rsp + 0x40]
call fcn.14002dd40
mov rcx, rax
call fcn.14002dd70
mov rdx, rax
lea rcx, [rsp + 0x8c]
call fcn.140148a70
test eax, eax
jne 0x14019169b
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x7c], eax
jle 0x14019169b
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x24], eax
jmp 0x140191613
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140256ee0
add rsp, 0x1a8
ret

Function at 0x1401916c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor edx, edx
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32First]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140191779
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x6c]
call fcn.140148a70
test eax, eax
jne 0x140191763
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140191763
mov edx, 9
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [rsp + 0x20], eax
jmp 0x14019170c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140256ee0
add rsp, 0x188
ret
Function at 0x1401917a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x30], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1401917e7
xor eax, eax
jmp 0x140191868
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x180]
call fcn.140191880
test eax, eax
jne 0x14019181e
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x140191868
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14019185b
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x180]
call fcn.140191880
test eax, eax
jne 0x140191859
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x140191868
jmp 0x14019181e
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140256ee0
add rsp, 0x178
ret

Function at 0x1401986c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x14052d335]
test eax, eax
jne 0x140198709
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax]
lea rcx, str.h_K_
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rcx + rax*8]
call fcn.1400f3e30
movzx eax, al
test eax, eax
je 0x140198704
mov byte [0x14052d335], 1
jmp 0x14019879f
movzx eax, byte [0x14052d335]
cmp eax, 1
jne 0x14019879f
mov rdx, qword [rsp + 0x58]
lea rcx, [0x1404aceb4]
call fcn.1400f3e30
lea rax, [0x1404b6590]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0x298
mov qword [rsp + 0x38], rax
jmp 0x140198760
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x20], rax
je 0x14019879f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14019879d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x14052d335], 0
jmp 0x140198752
add rsp, 0x48
ret
Function at 0x1401987b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x14052d334]
test eax, eax
jne 0x1401987f9
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax]
lea rcx, str.h_K_
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rcx + rax*8]
call fcn.1400f3e30
movzx eax, al
test eax, eax
je 0x1401987f4
mov byte [0x14052d334], 1
jmp 0x14019888f
movzx eax, byte [0x14052d334]
cmp eax, 1
jne 0x14019888f
mov rdx, qword [rsp + 0x58]
lea rcx, [0x1404ace8c]
call fcn.1400f3e30
lea rax, [0x1404b6590]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0x298
mov qword [rsp + 0x38], rax
jmp 0x140198850
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x20], rax
je 0x14019888f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14019888d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x14052d334], 0
jmp 0x140198842
add rsp, 0x48
ret

Function at 0x140198a00
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x20], 0
mov edx, Ordinal_27
lea rcx, [rsp + 0x50]
call fcn.14000a8c0
lea rcx, [rsp + 0x50]
call fcn.14000d860
nop
lea r8, [0x1404b6fb4]
mov rdx, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x68]
call fcn.14019a500
nop
lea rcx, [rsp + 0x68]
call fcn.140056b20
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140198ae4
mov eax, dword [rsp + 0x90]
and eax, 0x10
test eax, eax
jne 0x140198ac2
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x30]
call fcn.14000ea50
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14019a1a0
nop
lea rcx, [rsp + 0x30]
call fcn.14000e940
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140198a87
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1f0]
call fcn.140010530
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x68]
call fcn.14000e940
nop
lea rcx, [rsp + 0x50]
call fcn.14000e370
nop
mov rcx, qword [rsp + 0x1f8]
call fcn.14000e940
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140256ee0
add rsp, 0x1e8
ret

Function at 0x140199720
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140199746
mov dword [rsp + 0x20], 1
jmp 0x14019974e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret