joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059c40
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x140059d64
cmp r8d, 0xff
jne 0x140059ca1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x140059c8b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x7d650]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.140036650
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.140036650
cmp r8d, 0xfb
jne 0x140059cb3
lea r9, str.WILL
jmp 0x140059cf1
cmp r8d, 0xfc
jne 0x140059cc5
lea r9, str.WONT
jmp 0x140059cf1
cmp r8d, 0xfd
jne 0x140059cd7
lea r9, [0x14007e074]
jmp 0x140059cf1
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x140059d4d
cmp r10d, 0x27
jg 0x140059d24
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x7dc70]
test r8, r8
jne 0x140059d34
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.140036650
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x140059d0b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.140036650
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.140036650
add rsp, 0x38
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14005a10f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400364d0
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.140059c40
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14005a2c0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14005a468
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14005a325
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14005a325
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14005a325
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14005a35c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14005a3b2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005a3b2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005a3b2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005a3b2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005a3b2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140059d70
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14005a414
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400364d0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14005a140
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14005a460
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400364d0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14005bbd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14008d080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14005bc65
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14005bcc6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400364d0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14006ed80
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14005bd81
sub ecx, 1
je 0x14005bdf4
sub ecx, 1
je 0x14005bd30
cmp ecx, 1
je 0x14005bd13
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14007bad0]
call fcn.1400364d0
jmp 0x14005bdf4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14005b900
test eax, eax
je 0x14005bdf4
jmp 0x14005bc9a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14005bdf4
sub rax, rsi
cmp rax, rbp
jae 0x14005bdf4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140036650
jmp 0x14005bdf4
cmp r8d, 4
jle 0x14005bdf4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14005bdf4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400363f0
mov esi, eax
test eax, eax
je 0x14005bdd3
mov edx, 5
mov rcx, rbx
call fcn.14005c8c0
mov eax, esi
jmp 0x14005bc9a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140044cf0
mov rcx, r14
call fcn.140044fd0
test eax, eax
je 0x14005bc98
mov edx, 5
mov rcx, rbx
call fcn.14005c8c0
mov eax, Ordinal_46
jmp 0x14005bc9a
Function at 0x14006eb90
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14006ebd2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14006ec19
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14006ec72
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14006ec30
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14006ecb3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008125a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008125b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14006ec80
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14006fd28
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x180030078
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800300e7
xor ecx, ecx
call qword [0x18004ba80]
test rax, rax
je 0x1800300e7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800300e7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800300e7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800300e7
cmp dword [rcx + 0x84], 0xe
jbe 0x1800300e7
cmp dword [rcx + 0xf8], 0
je 0x1800300e7
mov ecx, ebx
call fcn.18002ffb0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18003020c
nop
cmp dword [rbp + 0x20], 0
je 0x180030135
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180030044
int3

Function at 0x180030078
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x180030078
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800300e7
xor ecx, ecx
call qword [0x18004ba80]
test rax, rax
je 0x1800300e7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800300e7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800300e7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800300e7
cmp dword [rcx + 0x84], 0xe
jbe 0x1800300e7
cmp dword [rcx + 0xf8], 0
je 0x1800300e7
mov ecx, ebx
call fcn.18002ffb0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18003020c
nop
cmp dword [rbp + 0x20], 0
je 0x180030135
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180030044
int3

Function at 0x180031640
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180031668
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180031668
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18007ed34
Capabilities:
Packed with generic packer

Disassembly:
cmovno rdi, rcx
setne cl
mov rsi, qword [rsp + 0x20]
mov rsi, qword [rsi + rdi*4 - 8]
shl r15, 0xf
cmp rdi, 0xffffffff95acdb8e
jns 0x18008357b
mov qword [rsp + rdi*4 + 0x18], r15
push rdx
lea rdi, [rdi*4 - 0x776d01f1]
lea rsi, [rsi + rdi + 0x6fa3481b]
add dword [rsp + rdi + 0x776d0211], r15d
sub qword [rsp + 0x28], rcx
shl r15, cl
jg 0x1801c347d
out 0xf, eax
invalid
neg dword [rsp + 0x28]
add qword [rsp + 0x18], 0x6449f
mov rdx, qword [rsp + 0x28]
xchg qword [rsp + rdi + 0x776d0239], rsi
mov rcx, qword [rsp + 0x10]
sub byte [rsp + 0x28], 0x98
ja 0x180111ddf
jne 0x180062da2
je 0x1800835a3
sbb eax, 0xe404d9ca
sbb eax, dword [0x1d4ec3f95]
out dx, eax
sub eax, 0x748c59a2
xchg ebx, eax
invalid

Function at 0x180097118
Capabilities:
Encode data using xor

Disassembly:
add r10w, 0xb338
shr r10b, 0xbd
mov bl, 0x41
shr dl, 0xbd
mov qword [rsp + 0x18], r10
js fcn.1801b22ac
xor r10w, 0xfa0
call fcn.18006988e
and al, 0xb7
js 0x18009711d
invalid

Function at 0x1800ec5ad
Capabilities:
Encode data using xor

Disassembly:
and r13b, 7
jno 0x18026e912
push rdx
invalid
cmp r13, 0x13a0081d

Function at 0x18011e4a0
Capabilities:
Packed with generic packer

Disassembly:
shl qword [rsp + 0x50], 0xf6
push rdi
mov r12, qword [rsp + r12 + 0x2bc20015]
mov qword [rsp + 8], rdi
mov qword [rsp + 0x48], r12
lea rcx, [rcx - 0x564afe00]
add dword [rsp + 0x28], 0xc11dfd30
push r9
jbe 0x180111dd9

Function at 0x1801b50cd
Capabilities:
Encode data using xor

Disassembly:
mov r14, qword [rsp + 0x18]
neg r14w
push rbp
movabs rbp, 0xd8328dac1805d08f
neg r14d
mov rbp, qword [rsp + r14 - 0x80000000]
xchg qword [rsp + r14 - 0x7fffffd0], rbp
mov rdi, qword [rsp + r14 - 0x7fffffd8]
bswap r14
add byte [rax], al
or byte [rdx - 0x75], 0xbc
xor al, 0x28
add byte [rax], al
or byte [rcx + 0xf], 0xce
jl fcn.1801bdf63
lea r14, [r14*8 - 0x395992c6]
test r14d, 0xf9953329
jle 0x1800a89c6
popfq
outsb dx, byte [rsi]
je 0x1800c310a
push rax
cmc
popfq
or al, 0x97
movabs al, byte [0x599603fdc965501]
invalid
mov r14d, edi
lea rbp, [rbp - 0x25dcf45f]
shl r14w, 0x16
je 0x1800c30eb
cwde
cli
movabs byte [0x117b1174e1f9c2c8], al
cmp bl, byte [rdx]
jp 0x1801b5123
push 0x7919310a
int1
stosd dword [rdi], eax
or dword [rdx], esp
invalid
out 5, eax
hlt
Function at 0x1801c9689
Capabilities:
Packed with generic packer

Disassembly:
je 0x180213a60
xor r15, r12
not r15
lea r15, [r15 + r12*2 + 0x319a6b16]
neg r12w
shr qword [rsp + 0x38], 0x8c
movabs r15, 0xd3935c0031ab1bae
cmp dword [rsp + 0x38], 0xa2aefc9e
mov r12, qword [rsp + 0x18]
mov qword [rsp + 0x28], r15
mov byte [rsp + 0x28], 0xaa
mov r15, qword [rsp + 0x20]
jbe 0x18011528b
jns 0x1801fabb7
shr word [rsp + 0x10], 0x58
add dword [rsp + 0x10], 0x153caca9
sub dword [rsp + 0x20], 0xb6be6334
call fcn.18016ae6b
stosd dword [rdi], eax
push r15
neg dword [rbp - 0x63337359]
pop rsp
cld
invalid
xchg qword [rsp + r8 + 0x50], rdx
mov r8, qword [rsp + r8 + 0x48]
js 0x1801be0c6
add al, 0x50
add byte [rax], al
add byte [rsi - 0x75], cl
test byte [rax + rcx*2], al
add byte [rax], al
add byte [rdi], cl
mov byte [rdi], ah
invalid
jne 0x180151db6
mov word [rsp + 0x28], 0x353f
and dword [rsp + 0x28], 0x8e1ea51c
call fcn.1800176ef
movsd dword [rdi], dword [rsi]
or dword ds:[rax + 0x7efd7bec], esi
adc dword [rax], 0x295bb54
shr dword [rsp + rbp - 0x15], 1
fstp qword [rdx - 0x47]
jo 0x1801c968c
invalid
dec dword [rax - 0x75]
jl 0x180213a77
and byte [rax - 0x75], cl
invalid
add r11b, 0x17
mov qword [rsp + r11*4 - 0x1203c], r11
or byte [rsp + r11*8 - 0x24098], 0x93
mov r11d, dword [rsp + r11*2 - 0x902b]
or word [rsp + r11*2 - 0x731441f0], 0xb532
cmp r11d, dword [rsp + r11*2 - 0x731441cc]
lea rdi, [rdi + r11 - 0x71d506f0]
mov word [rsp + r11*2 - 0x731441f0], 0x3025
jl fcn.18027e168
pushfq
pop rsp
invalid
call fcn.1801f1f80
out 0xb4, al
and al, 0x5c
pop rsp
ja 0x180213a4e
neg dword [rdi + 0xc2c0700]
insb byte [rdi], dx
xor al, 0x4e
sbb al, 0x37
invalid

Function at 0x1801fa694
Capabilities:
Packed with generic packer

Disassembly:
lea rsi, [rsi + 0x521b3c37]
shl r11d, 0x3e
cmp r11w, word [rsp + 0x3d]
mov qword [rsp + 0x28], r15
setl r11b
jns 0x180151d75
xchg byte [rcx + 0x62], al
xchg dword [rdi], ebp
pushfq
test dword [rdx + 0x5e0cc747], r15d
in eax, 0x32
invalid
Function at 0x140008a90
Capabilities:
List user accounts

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14008d140]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rcx
mov qword [rbp - 0x11], rcx
xor ebx, ebx
mov dword [rbp - 0x19], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov r13d, 1
mov dword [rbp - 0x19], r13d
mov qword [rbp - 9], rbx
mov dword [rbp - 1], ebx
mov dword [rbp + 7], ebx
mov dword [rbp + 3], ebx
nop word [rax + rax]
lea rax, [rbp + 3]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xffffffff
lea r9, [rbp - 9]
xor edx, edx
xor ecx, ecx
mov r8d, 2
call qword [sym.imp.NETAPI32.dll_NetUserEnum]
mov r12d, eax
test eax, eax
je 0x140008b49
cmp eax, 0xea
jne 0x140008c66
mov rsi, qword [rbp - 9]
test rsi, rsi
je 0x140008c7c
mov r15d, ebx
cmp dword [rbp - 1], 0
jbe 0x140008c6a
test rsi, rsi
je 0x140008c66
mov rdi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
dec eax
movsxd rdx, eax
xor r8d, r8d
lea rcx, [rbp + 0xf]
call fcn.14001f390
or r13d, 2
mov dword [rbp - 0x19], r13d
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rax, qword [rbp + 0xf]
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x140008c0a
lea rdx, [rbp + 0xf]
mov rcx, rax
call fcn.14001f4e0
add qword [r14 + 8], 0x20
jmp 0x140008c19
lea r8, [rbp + 0xf]
mov rdx, rax
mov rcx, r14
call fcn.140028010
add rsi, 8
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140008c54
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008cb9
call fcn.140042790
inc r15d
cmp r15d, dword [rbp - 1]
mov ebx, 0
jb 0x140008b63
mov rsi, qword [rbp - 9]
test rsi, rsi
je 0x140008c7c
mov rcx, rsi
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov qword [rbp - 9], rbx
cmp r12d, 0xea
je 0x140008b00
mov rax, r14
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140042770
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14004cd30
int3
Function at 0x140015850
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14008d140]
xor rax, rsp
mov qword [rbp], rax
xorps xmm0, xmm0
mov dword [rbp - 0x70], 0x68
mov rdx, rcx
lea rcx, [rsp + 0x50]
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
call fcn.140007ae0
cmp qword [rax + 0x18], 7
jbe 0x1400158ae
mov rax, qword [rax]
xor edi, edi
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x48], rcx
xor r9d, r9d
lea rcx, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rcx
xor edx, edx
mov qword [rsp + 0x38], rdi
mov rcx, rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000008
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rdx, qword [rsp + 0x68]
mov ebx, eax
cmp rdx, 7
jbe 0x14001592e
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015929
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015a4d
call fcn.140042790
test ebx, ebx
jne 0x1400159d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
mov edx, eax
mov r8, 0xffffffffffffffff
lea rax, str.Failed_to_start_process._Error:
mov qword [rsp + 0x68], rdi
add rdx, rax
movups xmmword [rsp + 0x50], xmm0
inc r8
cmp byte [rdx + r8], dil
jne 0x140015961
lea rcx, [rsp + 0x50]
call fcn.1400244a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400159b1
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400159ac
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015a53
call fcn.140042790
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140042770
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
mov r8d, 0x1d
mov qword [rsp + 0x68], rdi
lea rdx, str.Process_started_successfully.
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
call fcn.1400244a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400159b1
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400159ac
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015a53
jmp 0x1400159ac
call fcn.14004cd30
int3
call fcn.14004cd30
int3
Function at 0x140017970
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push rsi
mov eax, 0x1250
call fcn.140043600
sub rsp, rax
mov rax, qword [0x14008d140]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov rsi, rcx
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x1400179cf
lea rdx, str.Failed_to_enumerate_processes
lea rcx, [0x14008efb0]
call fcn.140021b10
mov rcx, rax
call fcn.140021dc0
xor al, al
jmp 0x140017b60
mov qword [rsp + 0x1260], rbx
mov qword [rsp + 0x1268], rbp
mov ebp, dword [rsp + 0x28]
mov qword [rsp + 0x1270], rdi
xor edi, edi
shr ebp, 2
mov qword [rsp + 0x1278], r14
test ebp, ebp
je 0x140017b3e
mov r14d, 0x3c
nop word [rax + rax]
mov r8d, dword [rsp + rdi*4 + 0x30]
xor edx, edx
mov ecx, 0x411
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140017b34
movups xmm0, xmmword [0x14007d572]
movzx ecx, word [0x14007d582]
xor edx, edx
mov word [rsp + 0x1042], cx
mov r8d, 0x1f4
lea rcx, [rsp + 0x1044]
mov word [rsp + 0x1030], r14w
movups xmmword [rsp + 0x1032], xmm0
call fcn.1400699f0
lea r9, [rsp + 0x28]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140017aa3
mov rdx, qword [rsp + 0x20]
lea r8, [rsp + 0x1030]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
lea rcx, [rsp + 0x1030]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140017ab2
cmp qword [rsi + 0x18], 7
mov r8, rsi
mov rdx, qword [rsi + 0x10]
jbe 0x140017acd
mov r8, qword [rsi]
cmp rdx, rax
jne 0x140017b2b
lea rax, [rsp + 0x1030]
test rdx, rdx
je 0x140017b04
lea rcx, [rsp + 0x1030]
sub r8, rcx
nop word [rax + rax]
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x140017b2b
add rax, 2
sub rdx, 1
jne 0x140017af0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rdi, [rsp + 0x1030]
test eax, eax
je 0x140017b79
lea rcx, [0x14008ee80]
lea rdx, str.Successfully_terminated_process:
jmp 0x140017b87
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, ebp
jb 0x140017a10
xor al, al
mov rdi, qword [rsp + 0x1270]
mov rbp, qword [rsp + 0x1268]
mov rbx, qword [rsp + 0x1260]
mov r14, qword [rsp + 0x1278]
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.140042770
add rsp, 0x1250
pop rsi
ret
lea rcx, [0x14008f140]
lea rdx, str.Failed_to_terminate_process:
call fcn.140021fe0
mov rcx, rax
mov rdx, rdi
call fcn.140021fe0
mov rcx, rax
call fcn.1400222a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140017b40