joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001bb0
Capabilities:
Enumerate processes
Execute command
Terminate process

Disassembly:
push rdi
sub rsp, 0x150
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001c9b
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140001c92
mov qword [rsp + 0x160], rbx
nop word [rax + rax]
lea rdx, str.Namespace_Private
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140001c74
mov r8d, dword [rsp + 0x28]
lea ecx, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140001c74
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.taskkill__f__im_HD_Player.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.taskkill__f__im_HD_Agent.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.taskkill__f__im_Bluestacks.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001c00
mov rbx, qword [rsp + 0x160]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x150
pop rdi
ret
Function at 0x1400024f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
xor ebx, ebx
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [rbx + 8]
call fcn.14000287c
lea rcx, [0x140001240]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140002770]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400025b9
cmp dword [rsp + 0x48], ebx
je 0x1400025ad
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400025ad
call fcn.1400012a0
mov ebx, 0x186a0
nop
call fcn.140001af0
call fcn.140001bb0
call fcn.140001cb0
call fcn.140002170
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, 1
jne 0x140002580
xor eax, eax
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14000326c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400032b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400032b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400032b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400032b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400032b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400032b8
xor al, al
add rsp, 0x28
ret
Function at 0x140004a90
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor esi, esi
mov rdi, rcx
mov qword [rcx], rsi
mov rbx, rdx
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 1]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov qword [rdi], 0xffffffffffffffff
mov qword [rdi + 0x10], rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
je 0x140004b98
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [rdi]
lea r8d, [rsi + 2]
mov eax, eax
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rdi + 0x10], rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rdi + 8], rax
test rax, rax
jne 0x140004b4a
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140004b6b
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rdi + 0x18], rsi
jmp 0x140004b6b
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x140004b98
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140004b7e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], rsi
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x140004b94
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
mov qword [rdi + 0x10], rsi
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140004bb0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14008a200]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x140004c1f
call fcn.14004f568
cmp dword [rax], 4
je 0x140004bf0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14003f9b0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x140004c50
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x14008a200]
xor rax, rsp
mov qword [rsp + 0x450], rax
movzx eax, word [rcx]
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp ax, 2
je 0x140004c88
cmp ax, 0x17
jne 0x140004cfd
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsi], eax
mov r8d, 0x401
call fcn.140041ee0
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x40]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x140004cfd
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140004ce2
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400197e0
mov al, 1
jmp 0x140004cff
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14003f9b0
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000a0c0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14008a200]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, qword [rcx + 0x28]
mov rsi, rcx
mov rax, qword [rcx + 0x20]
mov rdi, qword [rcx + 8]
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x40], 1
nop dword [rax + rax]
lea rax, [rsp + 0x38]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x14000a13d
call fcn.14004f568
cmp dword [rax], 4
je 0x14000a110
test ebx, ebx
jle 0x14000a1de
mov rdi, qword [rsi + 8]
xor eax, eax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 1
nop dword [rax]
lea rax, [rsp + 0x38]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x14000a18e
call fcn.14004f568
cmp dword [rax], 4
je 0x14000a160
test ebx, ebx
je 0x14000a1da
jns 0x14000a19e
call fcn.14004f568
cmp dword [rax], 9
je 0x14000a1de
lea rsi, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
mov r9d, 2
mov rdx, rsi
mov rcx, rdi
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
jns 0x14000a1d6
call fcn.14004f568
cmp dword [rax], 4
je 0x14000a1b0
test ebx, ebx
jle 0x14000a1de
mov al, 1
jmp 0x14000a1e0
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14003f9b0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000a210
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
mov rsi, qword [rcx + 0x50]
mov eax, 0x7fffffff
cmp r8, rax
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmova rdi, rax
mov rax, qword [rcx + 0x48]
cmp rax, rsi
jae 0x14000a281
mov rcx, qword [rcx + 0x30]
sub rsi, rax
lea rdx, [rax + rcx]
mov rcx, r14
cmp rdi, rsi
ja 0x14000a268
mov r8, rdi
call fcn.140041840
add qword [rbx + 0x48], rdi
mov rax, rdi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov r8, rsi
call fcn.140041840
add qword [rbx + 0x48], rsi
mov rax, rsi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
jne 0x14000a29c
mov rax, 0xffffffffffffffff
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
mov qword [rsp + 0x68], rbp
mov rbp, qword [rbx + 8]
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
cmp rdi, 0x1000
jae 0x14000a350
mov qword [rsp + 0x20], r15
mov r15, qword [rbx + 0x30]
nop word [rax + rax]
xor r9d, r9d
mov r8d, 0x1000
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rsi, eax
test eax, eax
jns 0x14000a2f6
call fcn.14004f568
cmp dword [rax], 4
je 0x14000a2d0
mov r15, qword [rsp + 0x20]
test rsi, rsi
jle 0x14000a314
mov rdx, qword [rbx + 0x30]
mov rcx, r14
cmp rsi, rdi
jg 0x14000a326
mov r8, rsi
call fcn.140041840
mov rbp, qword [rsp + 0x68]
mov rax, rsi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov r8, rdi
call fcn.140041840
mov rbp, qword [rsp + 0x68]
mov rax, rdi
mov qword [rbx + 0x48], rdi
mov qword [rbx + 0x50], rsi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
xor r9d, r9d
mov r8d, edi
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x14000a373
call fcn.14004f568
cmp dword [rax], 4
je 0x14000a350
mov rbp, qword [rsp + 0x68]
mov rax, rbx
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000a390
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x14000a3c9
mov rax, 0xffffffffffffffff
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x14000a3f5
call fcn.14004f568
cmp dword [rax], 4
je 0x14000a3d2
mov rbp, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a490
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x14008a200]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rcx, qword [rcx + 8]
mov rdi, r8
mov rbx, rdx
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14000a4e9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.140004c50
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14003f9b0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret
Function at 0x140012cb0
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r13
push r14
push r15
lea rbp, [r11 - 0x208]
sub rsp, 0x2d8
mov rax, qword [0x14008a200]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rax, qword [rcx + 0x78]
mov rdi, rdx
mov r15, qword [rcx + 0x58]
mov r13, rcx
mov r14, qword [rcx + 0x50]
xor r12b, r12b
mov qword [rbp - 0x60], rax
mov rax, qword [rcx + 0x70]
mov qword [rbp - 0x68], rax
mov rax, qword [rcx + 0x68]
mov qword [rbp - 0x70], rax
mov rax, qword [rcx + 0x60]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0x48]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x80], rdx
cmp rax, 0xffffffffffffffff
je 0x140012ecc
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x38], rsi
test r14, r14
je 0x140012ebc
call fcn.14003d8bc
mov rbx, rax
call fcn.14003d8a0
cmp rbx, 0x989680
jne 0x140012d86
imul rbx, rax, 0x64
jmp 0x140012db0
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rbx, rax
imul rax, rcx, 0x3b9aca00
add rbx, rax
nop word [rax + rax]
mov qword [rbp - 0x48], rdi
mov dword [rbp - 0x50], 1
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0x2710
nop dword [rax + rax]
lea rax, [rsp + 0x78]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x50]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x140012e00
call fcn.14004f568
cmp dword [rax], 4
je 0x140012dd0
jmp 0x140012ebc
jne 0x140012e81
call fcn.14003d8bc
mov rsi, rax
call fcn.14003d8a0
cmp rsi, 0x989680
jne 0x140012e1e
imul rcx, rax, 0x64
jmp 0x140012e3f
cqo
idiv rsi
mov r8, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
mov rcx, rax
imul rax, r8, 0x3b9aca00
add rcx, rax
sub rcx, rbx
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, r15, 0x3e8
cmp rdx, rax
jg 0x140012ebc
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 1
call fcn.14001ec20
jmp 0x140012db0
cmp r14, 1
mov byte [rsp + 0x70], 0
lea r8, [rsp + 0x70]
sete dl
lea rcx, [rsp + 0x40]
call fcn.140021930
movzx r12d, al
test al, al
je 0x140012ebc
cmp byte [rsp + 0x70], 0
jne 0x140012ebc
mov rdx, qword [r13 + 0x48]
dec r14
cmp rdx, 0xffffffffffffffff
jne 0x140012d61
mov rbx, qword [rsp + 0x320]
mov rsi, qword [rsp + 0x2d0]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
movzx eax, r12b
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14003f9b0
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x140014d90
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x14008a200]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r15, rdx
mov rsi, rcx
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x20], xmm1
mov qword [rsp + 0x30], rax
xor r14b, r14b
xor edx, edx
lea ecx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
test rax, rax
je 0x140014eb9
cmp rax, 0xffffffffffffffff
je 0x140014eb9
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140014eb9
mov r12, 0xffffffffffffffff
nop word [rax + rax]
mov rbx, r12
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140014e23
inc rbx
mov eax, 2
mul rbx
cmovo rax, r12
mov rcx, rax
call fcn.1400400f8
mov rdi, rax
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call fcn.140046394
lea rax, [rsp + 0x6c]
sub rdi, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x140014e73
add rax, 2
test ecx, ecx
jne 0x140014e60
test edx, edx
jne 0x140014ea3
mov rdx, qword [rsp + 0x28]
cmp rdx, qword [rsp + 0x30]
je 0x140014e91
mov eax, dword [rsp + 0x48]
mov dword [rdx], eax
add qword [rsp + 0x28], 4
jmp 0x140014ea0
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.14002b4d0
mov r14b, 1
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140014e20
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [r15]
cmp rax, qword [r15 + 8]
je 0x140014ecf
mov qword [r15 + 8], rax
lea rax, [rsp + 0x20]
cmp r15, rax
je 0x140014ef3
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub r8, rdx
sar r8, 2
mov rcx, r15
call fcn.140021e00
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140014f2f
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014f2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014f5f
call fcn.14003f9d0
movzx eax, r14b
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14003f9b0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140050ae8
int3
Function at 0x140014f70
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14008a200]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, dword [0x140090240]
xor edx, edx
mov r8d, dword [rcx]
inc edi
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140015064
movsxd rsi, edi
mov r9d, 0x1000
mov r8, rsi
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x140015064
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
lea r8, [0x140090230]
mov r9, rsi
mov qword [rsp + 0x20], 0
cmovae r8, qword [0x140090230]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, eax
test eax, eax
je 0x140015064
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov r9, rax
mov dword [rsp + 0x28], 0
mov rcx, rbx
xor edx, edx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x140015064
cmp esi, 6
setne al
jmp 0x140015066
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003f9b0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140017420
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140017442
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400174bc
mov rdi, r14
mov rcx, rbx
call fcn.14001c6d0
test rax, rax
jle 0x140017494
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.140041840
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400174ac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400174b4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140017456
sub r14, rdi
jmp 0x14001759f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400174d3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400174d5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140017507
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140041840
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14001759c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140017542
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14001757d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400502d8
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14001759c
cmp rbp, rax
ja 0x140017550
test rbp, rbp
je 0x14001759c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400502d8
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140023a40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140023a74
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140023a60
ret

Function at 0x1400328e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov rbp, rcx
sar rdi, 2
test rdi, rdi
je 0x140032abf
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x30], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x140032930
mov eax, listen
jmp 0x14003295e
cmp rdi, 0x44
jb 0x14003293d
mov eax, 7
jmp 0x14003295e
cmp rdi, 0x27
jb 0x14003294a
mov eax, 5
jmp 0x14003295e
cmp rdi, 7
jb 0x140032957
mov eax, 3
jmp 0x14003295e
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x140032977
mov r15, rdi
mov r8, rdi
mov edx, 0x8b8b8b8b
shl r8, 2
mov rcx, rsi
call fcn.140041ee0
xor ecx, ecx
test r15, r15
je 0x140032a2f
mov qword [rsp + 0x38], r12
nop dword [rax + rax]
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea r12, [rsi + rdx*4]
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [r12]
xor r8d, r11d
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x1400329ed
mov rax, rbx
jmp 0x140032a02
cmp rcx, rbx
ja 0x1400329ff
mov rax, qword [rbp]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x140032a02
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [r12], r8d
cmp rcx, r15
jb 0x1400329a0
mov r12, qword [rsp + 0x38]
add r15, rdi
cmp rcx, r15
jae 0x140032aab
inc r14
lea rbp, [rcx - 1]
inc r13
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [rsi + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x140032a41
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret