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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x14039c2b0]
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, [0x1402d390b]
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.140278960
add rsp, 0xf0
pop rdi
ret

Function at 0x140133b90
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov rax, qword [0x14039c2b0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea r8, [0x14034f32c]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.14013b6c0
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 0x140133c5a
mov dword [rsp + 0x20], 0xffffffff
mov rcx, qword [rsp + 0xc0]
call fcn.14000e940
mov eax, dword [rsp + 0x20]
jmp 0x140133cad
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.140278960
add rsp, 0xb0
pop rdi
ret
Function at 0x1401373f0
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 [0x14039c2b0]
xor rax, rsp
mov qword [rsp + 0x528], rax
call fcn.1401373a0
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.140278960
add rsp, 0x538
ret
Function at 0x1401386d0
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 0x140138709
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 0x1401387f7
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 0x14013879f
cmp qword [rsp + 0x20], 0
jle 0x14013879f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140138749
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 0x1401387e7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1401387e7
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 0x140138800
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 [0x14039c2b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140138834
xor eax, eax
jmp 0x140138a30
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140138866
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 0x140138a30
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 0x140138917
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 0x140138a20
mov rcx, qword [rsp + 0x80]
call fcn.14013bf30
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1401389cd
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 0x1401389c8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140138a30
jmp 0x140138943
cmp qword [rsp + 0x50], 0
jbe 0x140138a20
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.140278960
add rsp, 0x78
ret
Function at 0x14013bff0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14039c2b0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14013c02d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14013c034
mov al, 1
jmp 0x14013c18e
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14013e950
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.14013e950
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.14013e9b0
movzx eax, al
test eax, eax
je 0x14013c08b
xor al, al
jmp 0x14013c18e
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 0x14013c0fb
cmp dword [rsp + 0x30], 1
je 0x14013c107
cmp dword [rsp + 0x30], 3
je 0x14013c17c
jmp 0x14013c18c
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 0x14013c153
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 0x14013c153
xor al, al
jmp 0x14013c18e
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14013c16d
mov dword [rsp + 0x34], 1
jmp 0x14013c175
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14013c18e
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14013c18e
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140278960
add rsp, 0xa8
ret
Function at 0x14014f150
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x288
mov rax, qword [0x14039c2b0]
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 0x14014f1ec
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 0x14014f1ec
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x60]
call fcn.14014f080
test eax, eax
jne 0x14014f1d8
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
jmp 0x14014f1ec
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x14014f1b6
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.140278960
add rsp, 0x288
ret
Function at 0x14014f5e0
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 [0x14039c2b0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rdx, str.user32.dll
mov ecx, dword [rsp + 0x110]
call fcn.14014f150
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14014f630
xor al, al
jmp 0x14014f7cf
lea r8, str.SetWindowDisplayAffinity
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x1403ad480]
call fcn.14014f220
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14014f65c
xor al, al
jmp 0x14014f7cf
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 0x14014f68e
mov dword [rsp + 0x40], reloc.WS2_32.dll_recvfrom
jmp 0x14014f696
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 [0x1403ad480]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14014f6fd
xor al, al
jmp 0x14014f7cf
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x56
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x1403ad480]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14014f732
xor al, al
jmp 0x14014f7cf
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 [0x1403ad480]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14014f778
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x14014f77c
xor al, al
jmp 0x14014f7cf
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 [0x1403ad480]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14014f7cd
xor al, al
jmp 0x14014f7cf
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140278960
add rsp, 0xf8
pop rdi
pop rsi
ret
Function at 0x1401b3630
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x1a8
mov rax, qword [0x14039c2b0]
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 0x1401b3710
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.14014f080
test eax, eax
je 0x1401b36f1
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.14014f080
test eax, eax
jne 0x1401b370b
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x7c], eax
jle 0x1401b370b
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x24], eax
jmp 0x1401b3683
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140278960
add rsp, 0x1a8
ret

Function at 0x1401b3730
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x14039c2b0]
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 0x1401b3777
xor eax, eax
jmp 0x1401b37f8
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.1401b3810
test eax, eax
jne 0x1401b37ae
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1401b37f8
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1401b37eb
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x180]
call fcn.1401b3810
test eax, eax
jne 0x1401b37e9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1401b37f8
jmp 0x1401b37ae
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.140278960
add rsp, 0x178
ret
Function at 0x1401ba650
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x1403e5495]
test eax, eax
jne 0x1401ba699
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax]
lea rcx, [0x14036ecd0]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rcx + rax*8]
call fcn.1400f3c10
movzx eax, al
test eax, eax
je 0x1401ba694
mov byte [0x1403e5495], 1
jmp 0x1401ba72f
movzx eax, byte [0x1403e5495]
cmp eax, 1
jne 0x1401ba72f
mov rdx, qword [rsp + 0x58]
lea rcx, [0x14035f954]
call fcn.1400f3c10
lea rax, [0x14036ea20]
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 0x1401ba6f0
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x20], rax
je 0x1401ba72f
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 0x1401ba72d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x1403e5495], 0
jmp 0x1401ba6e2
add rsp, 0x48
ret

Function at 0x1401ba740
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x1403e5494]
test eax, eax
jne 0x1401ba789
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax]
lea rcx, [0x14036ecd0]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rcx + rax*8]
call fcn.1400f3c10
movzx eax, al
test eax, eax
je 0x1401ba784
mov byte [0x1403e5494], 1
jmp 0x1401ba81f
movzx eax, byte [0x1403e5494]
cmp eax, 1
jne 0x1401ba81f
mov rdx, qword [rsp + 0x58]
lea rcx, [0x14035f974]
call fcn.1400f3c10
lea rax, [0x14036ea20]
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 0x1401ba7e0
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x20], rax
je 0x1401ba81f
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 0x1401ba81d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x1403e5494], 0
jmp 0x1401ba7d2
add rsp, 0x48
ret
Function at 0x1401ba990
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x14039c2b0]
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, [0x14036f448]
mov rdx, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x68]
call fcn.1401bc490
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 0x1401baa74
mov eax, dword [rsp + 0x90]
and eax, 0x10
test eax, eax
jne 0x1401baa52
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x30]
call fcn.14000ea50
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1401bc130
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 0x1401baa17
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.140278960
add rsp, 0x1e8
ret

Function at 0x1401bb6b0
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 0x1401bb6d6
mov dword [rsp + 0x20], 1
jmp 0x1401bb6de
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1401e6940
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x2d0
mov rax, qword [0x14039c2b0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0xb0]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x1401e69ee
lea rcx, [rsp + 0xb0]
mov rax, 0xffffffffffffffff
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1401e69b0
cmp word [rsp + rax*2 + 0xae], 0x5c
jne 0x1401e69e4
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x1401e6b33
xor ecx, ecx
mov word [rsp + rax + 0xb0], cx
lea rdx, [rsp + 0xb0]
jmp 0x1401e6a18
lea rdx, str.____Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1401e7ba0
mov rcx, rax
lea rdx, [0x1401e7db0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [0x1403794c8]
lea rcx, [rsp + 0x88]
call fcn.14000e780
nop
lea rcx, [rsp + 0x88]
call fcn.14005b100
test rax, rax
jne 0x1401e6a4c
lea rdx, [0x1403794c8]
mov rcx, rbx
call fcn.14000e780
jmp 0x1401e6af5
lea rcx, [rsp + 0x68]
call fcn.1401e6800
mov rbp, rax
lea rcx, [rsp + 0x88]
call fcn.14005b100
mov rdi, rax
lea r14, [0x14037b248]
mov rcx, r14
call fcn.1400101a0
mov rcx, rax
call fcn.140005f50
mov rsi, rax
lea rcx, [rsp + 0x88]
call fcn.14000e530
sub rax, rdi
cmp rax, rsi
jb 0x1401e6b2d
lea rcx, [rsp + 0x88]
call fcn.140072ae0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov r9, rax
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0x48]
call fcn.1401e9110
nop
mov r9, rbp
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.1401e8f00
nop
lea rcx, [rsp + 0x48]
call fcn.14000e670
nop
lea rcx, [rsp + 0x68]
call fcn.14000e670
nop
lea rcx, [rsp + 0x88]
call fcn.14000e670
mov rax, rbx
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140278960
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140005fa0
nop
call fcn.140279134
int3