joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067660
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1400676ac
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x1400676a3
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x1400676ae
add rax, 0x28
cmp rax, r9
jne 0x140067690
xor eax, eax
ret

Function at 0x1400676b0
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x140067740
mov rdx, qword [0x14043c840]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14006772e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14006772e
cmp word [rax + 0x18], 0x20b
jne 0x14006772e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x140067740
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x140067719
add r12, 0x28
cmp r12, rsi
je 0x140067740
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x140067710
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x140067750
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14043c840]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140067770
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140067778
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140067770
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400677c5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400677bc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140067770
add rax, 0x28
cmp rax, r9
jne 0x1400677a8
xor eax, eax
ret

Function at 0x1400677d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14043c840]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400677f0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400677f8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400677f0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140067810
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14043c840]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140067830
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140067838
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140067830
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x140067878
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14006786f
test rcx, rcx
je 0x140067830
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140067860
xor eax, eax
ret
Function at 0x140067880
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14043c840]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400678a0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400678a8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1400678c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14043c840]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400678e0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400678e8
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400678e0
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1400678e0
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140067924
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140067938
add rax, 0x28
cmp r9, rax
jne 0x140067910
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

Function at 0x140067950
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14043c840]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140067972
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140067980
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140067972
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140067972
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140067972
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400679cd
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400679e0
add rdx, 0x28
cmp r10, rdx
jne 0x1400679b8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400679ef
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400679ff
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400679d6
test ecx, ecx
jg 0x1400679e8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x140069230
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14043c8c0]
mov rax, qword [rsi]
test rax, rax
je 0x1400692c0
cmp qword [rax + 0x30], 0
jne 0x1400692e0
lea rbx, [0x140079708]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140069290
cmp qword [rax + 0x30], 0
jne 0x1400692b0
lea rdx, [0x140079708]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je sym.pthread_tls_init.cold
add rsp, 0x28
pop rbx
pop rsi
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140069272
test rax, rax
jne 0x1400692b0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x140069280
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140069250
test rax, rax
jne 0x1400692e0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x14006925b
Function at 0x1400692f0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x140069402
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x1400693da
add rax, 1
cmp rax, 0x6b
je 0x1400693f7
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x1400693d0
cmp edx, 0x6a
je 0x1400693f7
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sym.abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x1400693eb
Function at 0x14006ceb0
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x14043c8c0]
mov rax, qword [rbx]
mov r12, rcx
mov esi, edx
test rax, rax
je 0x14006cf80
cmp qword [rax + 0x60], 0
jne 0x14006cfa0
lea rcx, [0x1400796f8]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_lock
mov rcx, r12
call sym.__pthread_get_pointer
test rax, rax
je 0x14006cfb0
cmp qword [rax + 0x1d8], r12
jne 0x14006cfb0
test byte [rax + 0x40], 0xc
jne 0x14006cfb0
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x14006cfb0
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x14006cfb0
mov rax, qword [rbx]
test rax, rax
je 0x14006d010
cmp qword [rax + 0x60], 0
jne 0x14006d030
lea rcx, [0x1400796f8]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
test esi, esi
je 0x14006d040
lea edx, [rsi - 2]
cmp edx, 0x15
ja 0x14006d048
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.pthread_cancel
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x14006cedb
test rax, rax
jne 0x14006cfa0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x14006cee6
mov rax, qword [rbx]
test rax, rax
je 0x14006cfe0
cmp qword [rax + 0x60], 0
jne 0x14006d000
lea rcx, [0x1400796f8]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rbx]
cmp qword [r8 + 0x60], 0
je 0x14006cfbf
test rax, rax
jne 0x14006d000
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x14006cfca
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x14006cf4a
test rax, rax
jne 0x14006d030
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x14006cf55
xor eax, eax
jmp 0x14006cfd4
mov eax, 0x16
jmp 0x14006cfd4
Function at 0x14006d2c0
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov rbp, r9
call sym.pop_pthread_mem
mov r12, rax
test rax, rax
je 0x14006d529
test rdi, rdi
je 0x14006d2fa
mov rax, qword [rax + 0x1d8]
mov qword [rdi], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [r12 + 8], rbp
mov dword [r12 + 0x44], 1
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [r12 + 0xbc], 0
mov r14, r13
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [r12 + 0x10], rbx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call rbp
mov qword [r12 + 0x30], rax
test rax, rax
jne 0x14006d367
add ebx, 1
cmp ebx, 1
je 0x14006d470
mov ecx, 0x14
call r14
cmp ebx, 5
jne 0x14006d335
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x14006d56f
cmp qword [r12 + 0x30], 0
mov qword [r12 + 0x68], 0xffffffffffffffff
mov dword [r12], 0xbab1f00d
mov dword [r12 + 0xc0], 0
mov dword [r12 + 0xb8], 0
je 0x14006d512
xor edx, edx
test rsi, rsi
je 0x14006d3df
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x14006d540
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [sym.pthread_create_wrapper]
mov r9, r12
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov r13, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006d4d0
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x14006d4a0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [r12 + 0x44], 4
jne 0x14006d480
mov qword [r12 + 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor ecx, ecx
call r13
jmp 0x14006d335
mov qword [r12 + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006d44f
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x14006d425
mov edx, 0xf
cmp eax, 0xe
jg 0x14006d425
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x14006d425
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x14006d4e0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call sym.pthread_mutex_destroy
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x14006d56f
mov qword [r12 + 0x68], 0xffffffffffffffff
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
test rdi, rdi
je 0x14006d51e
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
je 0x14006d560
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [rsp + 0x3c], edx
call sym.__pthread_self_lite
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x14006d3df
mov rcx, r12
call sym.push_pthread_mem.part.0
mov eax, 0xb
jmp 0x14006d52e
call sym.replace_spin_keys.part.0
nop
nop word cs:[rax + rax]
Function at 0x14006dfb0
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14006dfd0
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x14006e018
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14006dfc4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14006e005

Function at 0x14006e040
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
lea r8, [0x14049ada0]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14006e0f8
mov rdx, qword [0x14049ace0]
lea rcx, [0x14049ace0]
mov rax, qword [rdx + 8]
test rax, rax
je 0x14006e0c8
cmp rdx, rcx
jne 0x14006e0aa
mov qword [rdx], rax
cmp rax, rcx
je 0x14006e0af
nop dword [rax]
test rax, rax
je 0x14006e0da
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rdx, rax
mov rax, qword [rdx + 8]
cmp rax, rcx
jne 0x14006e098
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
test rax, rax
je 0x14006e0da
mov rdx, rax
jmp 0x14006e0a6
lea rcx, [0x14049ade0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x14006e116
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, str.failed_to_to_lock_cleanup_mutex_n
call sym.__shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_DeleteAtom]
jmp 0x14006e0da
Function at 0x140001340
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0
xor eax, eax
cmp eax, 1
je 0x140001413
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1400013c1
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x70]
call fcn.140004790
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x34], 0
jg 0x1400013ed
mov ecx, gethostbyname
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001360
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x30], eax
jge 0x14000140c
jmp 0x140001360
jmp 0x140001413
mov dword [rsp + 0x20], 0x89abcdef
mov r9d, 0x1234567
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
call fcn.140001230
mov eax, dword [rsp + 0x60]
add rsp, 0x48
ret

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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0x89abcdef
mov r9d, 0x1234567
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
call fcn.140001230
mov dword [rsp + 0x30], 0
xor eax, eax
cmp eax, 1
je 0x140001512
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1400014e5
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [0x140034fd8]
call fcn.140004790
cmp dword [rsp + 0x34], 0
jle 0x1400014fc
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x30], eax
jge 0x14000150b
jmp 0x140001482
jmp 0x140001512
add rsp, 0x48
ret
Function at 0x1400019b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x50], 0x130
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140001a8a
lea rax, [rsp + 0x7c]
mov rcx, qword [rsp + 0x1a0]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140001a53
inc rax
test dl, dl
jne 0x140001a40
xor eax, eax
jmp 0x140001a58
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140001a88
mov dword [rsp + 0x20], 1
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140001a1c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x20], 0
jne 0x140001aaf
mov dword [rsp + 0x20], 0
mov eax, 1
jmp 0x140001abc
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140007550
add rsp, 0x198
ret

Function at 0x140001ae0
Capabilities:
Get hostname
Get session user name

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edx, 0x1e
lea rcx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_gethostname]
mov dword [rsp + 0x20], 0x1e
lea rdx, [rsp + 0x20]
lea rcx, [0x14002be68]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea r8, [0x14002be68]
lea rdx, [0x140025204]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfA]
jmp 0x140001b46
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140007550
add rsp, 0x88
ret
Function at 0x140001b60
Capabilities:
Get geographical location
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub rsp, 0x1f8
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov eax, 2
mov word [rsp + 0x20], ax
lea rdx, [rsp + 0x40]
movzx ecx, word [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140001bf1
mov edx, 0x1e
lea rcx, [0x14002be28]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x140001beb
lea rcx, [0x14002be28]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001beb
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [0x14002bd88], rax
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea r9, [0x14002be28]
mov r8, qword [0x14002bd88]
lea rdx, str._s____s
lea rcx, [0x14002be48]
call fcn.1400016f0
mov r9d, 0x80
lea r8, [0x14002be08]
mov edx, 0x1002
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x140001c33
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140007550
add rsp, 0x1f8
ret

Function at 0x140001d40
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], 0xfffffffffffffffe
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140001d78
mov r8d, WSAAsyncSelect
lea rdx, [0x14002bd90]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x140001d7c
add rsp, 0x38
ret
Function at 0x140002690
Capabilities:
Get memory capacity

Disassembly:
push rdi
sub rsp, 0x5e0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x5d0], rax
mov dword [rsp + 0x40], 0
movzx eax, byte [0x140025207]
mov byte [rsp + 0x1c8], al
lea rax, [rsp + 0x1c9]
mov rdi, rax
xor eax, eax
mov ecx, 6
rep stosb byte [rdi], al
movzx eax, byte [0x14002521f]
mov byte [rsp + 0x1d0], al
lea rax, [rsp + 0x1d1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x140002823
mov dword [rsp + 0x60], 0x130
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x14000281f
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 7
jle 0x14000276d
cmp dword [rsp + 0x40], 0xc
jge 0x14000276d
lea rdx, str.Normal
lea rcx, [rsp + 0x1c8]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [rsp + 0x40], 7
jge 0x140002789
lea rdx, [0x140025270]
lea rcx, [rsp + 0x1c8]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [rsp + 0x40], 0xc
jle 0x1400027a5
lea rdx, str.High
lea rcx, [rsp + 0x1c8]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x68]
lea r8, [rsp + 0x8c]
lea rdx, str._s_d_d_d_s
lea rcx, [0x14002be94]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [0x14002be90], 0x7c9
xor r9d, r9d
mov r8d, 0x1620
lea rdx, [0x14002be90]
mov rcx, qword [0x14002be88]
call fcn.140001440
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x140002726
jmp 0x140002823
mov rcx, qword [rsp + 0x5d0]
xor rcx, rsp
call fcn.140007550
add rsp, 0x5e0
pop rdi
ret