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

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x1400bd384
cmp r8d, 0xff
jne 0x1400bd2c1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1400bd2ab
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0xe1940]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.140099c90
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.140099c90
cmp r8d, 0xfb
jne 0x1400bd2d3
lea r9, str.WILL
jmp 0x1400bd311
cmp r8d, 0xfc
jne 0x1400bd2e5
lea r9, str.WONT
jmp 0x1400bd311
cmp r8d, 0xfd
jne 0x1400bd2f7
lea r9, [0x1400e2364]
jmp 0x1400bd311
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1400bd36d
cmp r10d, 0x27
jg 0x1400bd344
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0xe1f60]
test r8, r8
jne 0x1400bd354
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.140099c90
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1400bd32b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.140099c90
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.140099c90
add rsp, 0x38
ret

Function at 0x1400bd6d0
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 0x1400bd72f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140099b10
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.1400bd260
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bf1f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140103080]
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 0x1400bf285
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 0x1400bf2e6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140099b10
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.1400d2300
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 0x1400bf3a1
sub ecx, 1
je 0x1400bf414
sub ecx, 1
je 0x1400bf350
cmp ecx, 1
je 0x1400bf333
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400e6678]
call fcn.140099b10
jmp 0x1400bf414
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400bef20
test eax, eax
je 0x1400bf414
jmp 0x1400bf2ba
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 0x1400bf414
sub rax, rsi
cmp rax, rbp
jae 0x1400bf414
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140099c90
jmp 0x1400bf414
cmp r8d, 4
jle 0x1400bf414
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 0x1400bf414
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140099a30
mov esi, eax
test eax, eax
je 0x1400bf3f3
mov edx, 5
mov rcx, rbx
call fcn.1400bfee0
mov eax, esi
jmp 0x1400bf2ba
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400a8310
mov rcx, r14
call fcn.1400a85f0
test eax, eax
je 0x1400bf2b8
mov edx, 5
mov rcx, rbx
call fcn.1400bfee0
mov eax, Ordinal_46
jmp 0x1400bf2ba
Function at 0x1400d21b0
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 0x1400d21f2
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 0x1400d2239
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 0x1400d2292
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 0x1400d2250
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400d22d3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400e5502]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400e5503]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400d22a0
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 0x1400d31d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d321e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d321e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d321e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d321e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d321e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400d3220
xor al, al
add rsp, 0x28
ret
Function at 0x180001000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
jmp 0x18000103d
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x28], rax
jae 0x18000112b
cmp dword [rsp + 0x20], 0x10
jne 0x1800010f5
mov rax, qword [rsp + 0x50]
movups xmm0, xmmword [rax + 0xf0]
movdqu xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180001218
mov dword [rsp + 0x20], 0xf
jmp 0x180001090
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x1800010ed
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax + 0xf0]
cmp eax, 0xff
jne 0x1800010c4
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov byte [rcx + rax + 0xf0], 0
jmp 0x180001086
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax + 0xf0]
inc eax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx + 0xf0], al
jmp 0x1800010ed
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
movsxd rcx, dword [rsp + 0x20]
movzx ecx, byte [rsp + rcx + 0x30]
xor eax, ecx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x180001026
add rsp, 0x48
ret

Function at 0x180001170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x180001193
mov al, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x180001213
mov byte [rsp], 0
jmp 0x1800011ab
mov al, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x18000120e
movzx eax, byte [rsp + 1]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 0x20]
shl edx, 2
movzx r8d, byte [rsp + 1]
shl r8d, 2
lea edx, [r8 + rdx*4]
movzx r8d, byte [rsp]
add edx, r8d
movsxd rdx, edx
mov r8, qword [rsp + 0x30]
movzx edx, byte [r8 + rdx]
movzx eax, byte [rax + rcx]
xor eax, edx
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 1]
mov r8, qword [rsp + 0x28]
lea rdx, [r8 + rdx*4]
mov byte [rdx + rcx], al
jmp 0x1800011a3
jmp 0x180001189
add rsp, 0x18
ret
Function at 0x180001d2c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x180001d46
mov al, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x180001da2
mov byte [rsp], 0
jmp 0x180001d5e
mov al, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x180001da0
movzx eax, byte [rsp]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp + 1]
movzx eax, byte [rax + rcx]
lea rcx, str.cw
movzx edx, byte [rsp]
mov r8, qword [rsp + 0x20]
lea rdx, [r8 + rdx*4]
movzx r8d, byte [rsp + 1]
mov al, byte [rcx + rax]
mov byte [rdx + r8], al
jmp 0x180001d56
jmp 0x180001d3c
add rsp, 0x18
ret

Function at 0x180007ecc
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
cmp dword [0x180013bd0], 0
jne 0x180007f67
mov dword [rsp], 0
jmp 0x180007ef7
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jae 0x180007f5d
mov eax, dword [rsp]
mov dword [rsp + 4], eax
mov dword [rsp + 0xc], 8
jmp 0x180007f1b
mov eax, dword [rsp + 0xc]
dec eax
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0xc], 0
jbe 0x180007f4a
mov eax, dword [rsp + 4]
and eax, 1
test eax, eax
je 0x180007f3e
mov eax, dword [rsp + 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [rsp + 4], eax
jmp 0x180007f48
mov eax, dword [rsp + 4]
shr eax, 1
mov dword [rsp + 4], eax
jmp 0x180007f11
mov eax, dword [rsp]
lea rcx, [0x1800137d0]
mov edx, dword [rsp + 4]
mov dword [rcx + rax*4], edx
jmp 0x180007eef
mov dword [0x180013bd0], 1
mov dword [rsp + 8], 0xffffffff
mov dword [rsp], 0
jmp 0x180007f80
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x180007fb8
mov eax, dword [rsp + 8]
shr eax, 8
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
xor ecx, dword [rsp + 8]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1800137d0]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 8], eax
jmp 0x180007f78
mov eax, dword [rsp + 8]
not eax
add rsp, 0x18
ret
Function at 0x180009ddc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
jne 0x180009dfd
xor eax, eax
jmp 0x180009f58
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x180009e5c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x180009f56
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.18000d4e8
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.180007ecc
mov dword [rsp + 0x24], eax
cmp qword [rsp + 0x38], 0
je 0x180009f51
cmp qword [rsp + 0x28], 0
je 0x180009f51
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x24], eax
jne 0x180009f51
cmp dword [rsp + 0x80], 0
je 0x180009ef9
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [0x180013528]
jmp 0x180009f58
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x180009f58
jmp 0x180009e52
xor eax, eax
add rsp, 0x68
ret
Function at 0x18000c6dc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov byte [rsp + 0x28], 0xd6
mov byte [rsp + 0x29], 0x23
mov byte [rsp + 0x2a], 0xb8
mov byte [rsp + 0x2b], 0xef
mov byte [rsp + 0x2c], 0x62
mov byte [rsp + 0x2d], 0x26
mov byte [rsp + 0x2e], 0xce
mov byte [rsp + 0x2f], 0xc3
mov byte [rsp + 0x30], 0xe2
mov byte [rsp + 0x31], 0x4c
mov byte [rsp + 0x32], 0x55
mov byte [rsp + 0x33], 0x12
mov byte [rsp + 0x34], 0x7d
mov byte [rsp + 0x35], 0xe8
mov byte [rsp + 0x36], 0x73
mov byte [rsp + 0x37], 0xe7
mov byte [rsp + 0x38], 0x83
mov byte [rsp + 0x39], 0x9c
mov byte [rsp + 0x3a], 0x77
mov byte [rsp + 0x3b], 0x6b
mov byte [rsp + 0x3c], 0xb1
mov byte [rsp + 0x3d], 0xa9
mov byte [rsp + 0x3e], 0x3b
mov byte [rsp + 0x3f], 0x57
mov byte [rsp + 0x40], 0xb2
mov byte [rsp + 0x41], 0x5f
mov byte [rsp + 0x42], 0xdb
mov byte [rsp + 0x43], 0xea
mov byte [rsp + 0x44], 0xd
mov byte [rsp + 0x45], 0xb6
mov byte [rsp + 0x46], 0x8e
mov byte [rsp + 0x47], 0xa2
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x180]
movzx eax, word [rcx + rax]
mov word [rsp + 0x20], ax
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 0xf
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x180]
movups xmm0, xmmword [rax + 2]
movdqu xmmword [rsp + 0x48], xmm0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.180001130
movsx rax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x180]
add rcx, 0x12
mov rdi, qword [rsp + 0x188]
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsx rax, word [rsp + 0x20]
mov r8, rax
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x60]
call section..text
mov rax, qword [rsp + 0x188]
add rsp, 0x168
pop rdi
pop rsi
ret

Function at 0x18000e8f4
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0x811c9dc5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
jmp 0x18000e922
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 8], rax
jae 0x18000e957
mov rax, qword [rsp + 8]
movsx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0x1000193
mov dword [rsp], eax
jmp 0x18000e915
mov eax, dword [rsp]
add rsp, 0x18
ret
Function at 0x18000ead0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
jmp 0x18000eafc
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jge 0x18000ebfe
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x104]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x104], eax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x104]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x108]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x108], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rcx + 0x108]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rcx + 0x104]
mov rcx, rax
call fcn.18000ec8c
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x104]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
movsxd rcx, dword [rcx + 0x108]
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
movzx ecx, byte [rdx + rcx]
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx], al
jmp 0x18000eaf2
add rsp, 0x38
ret
Function at 0x180004dd8
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x180080060]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, rcx
mov qword [r11 - 0x58], rcx
xor edi, edi
mov dword [rsp + 0x34], edi
mov qword [rcx + 0x20], sendto
mov qword [rcx + 0x18], rdi
mov byte [rcx + 8], dil
mov dword [rsp + 0x34], 1
lea edx, [rdi + 1]
lea rcx, [r11 - 0x50]
call fcn.18001cfe8
nop
cmp qword [rax + 0x20], 0x10
jb 0x180004e45
mov rcx, qword [rax + 8]
jmp 0x180004e49
lea rcx, [rax + 8]
mov dword [rsp + 0x30], edi
cmp rcx, rdi
je 0x180004e81
lea rdx, [rsp + 0x30]
call fcn.180036370
cmp eax, edi
je 0x180004e81
mov edx, 0x32e3
mov word [rsp + 0x20], di
xor r9d, r9d
mov r8d, 0xbb8
mov ecx, dword [rsp + 0x30]
call fcn.180038b00
mov rbx, rax
jmp 0x180004e90
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
or rbx, 0xffffffffffffffff
cmp qword [rsp + 0x68], 0x10
jb 0x180004ea2
mov rcx, qword [rsp + 0x50]
call fcn.180042a14
cmp rbx, 0xffffffffffffffff
je 0x180004ef5
mov dword [rsp + 0x30], socket
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x180004eed
mov ecx, dword [rsp + 0x74]
call sub.WS2_32.dll_inet_ntoa
mov rdx, rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rsi
call fcn.180002e60
mov rcx, rbx
call sub.WS2_32.dll_closesocket
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800423f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180004f20
Capabilities:
Get hostname

Disassembly:
mov r11, rsp
push r12
sub rsp, 0x1c0
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rdi
mov rax, qword [0x180080060]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x24], ebp
mov word [rsp + 0xb0], bp
xor edx, edx
mov r8d, 0xfe
lea rcx, [r11 - 0x116]
call fcn.180044a90
mov edi, 0x80
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0xb0]
lea ecx, [rbp + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
cmp eax, ebp
je 0x180005004
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbp
mov word [rsp + 0x30], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xb0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x28]
call fcn.1800030e4
nop
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1800012e4
nop
cmp qword [rsp + 0x48], 8
jb 0x180004ffc
mov rcx, qword [rsp + 0x30]
call fcn.180042a14
mov rax, rbx
jmp 0x180005156
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov r12d, sendto
cmp eax, ebp
je 0x180005086
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbp
mov word [rsp + 0x58], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xb0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.1800030e4
nop
mov dword [rsp + 0x24], 2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.1800012e4
nop
lea edi, [r12 - 9]
mov dword [rsp + 0x24], edi
jmp 0x1800050b7
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rbp
mov byte [rsp + 0x30], bpl
xor r8d, r8d
lea rdx, [0x1800656f7]
lea rcx, [rsp + 0x28]
call fcn.180002e60
lea rax, [rsp + 0x28]
mov edi, 8
mov dword [rsp + 0x24], edi
mov qword [rbx + 0x20], r12
mov qword [rbx + 0x18], rbp
mov byte [rbx + 8], bpl
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.180002954
or edi, 1
test dil, 8
je 0x180005102
and edi, 0xfffffff7
cmp qword [rsp + 0x48], 0x10
jb 0x1800050f3
mov rcx, qword [rsp + 0x30]
call fcn.180042a14
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rbp
mov byte [rsp + 0x30], bpl
test dil, 4
je 0x18000513b
and edi, 0xfffffffb
cmp qword [rsp + 0x98], 0x10
jb 0x180005123
mov rcx, qword [rsp + 0x80]
call fcn.180042a14
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x90], rbp
mov byte [rsp + 0x80], bpl
test dil, 2
je 0x180005153
cmp qword [rsp + 0x70], 8
jb 0x180005153
mov rcx, qword [rsp + 0x58]
call fcn.180042a14
mov rax, rbx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1800423f0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x180005538
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x180080060]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x98], ebx
mov bpl, 0x32
mov byte [r11 - 0x30], bpl
xor ecx, ecx
mov dword [r11 - 0x2f], ecx
mov byte [r11 - 0x2b], cl
lea r9d, [rbx + 8]
xor r8d, r8d
lea rdx, [r11 - 0x58]
mov rcx, rax
call fcn.180002748
nop
mov r8, rax
lea rdx, [0x180065b30]
lea rcx, [rsp + 0x40]
call fcn.180009038
cmp qword [rax + 0x20], 0x10
jb 0x1800055b9
mov rcx, qword [rax + 8]
jmp 0x1800055bd
lea rcx, [rax + 8]
call fcn.1800364e8
mov rdi, rax
cmp qword [rsp + 0x60], 0x10
jb 0x1800055d7
mov rcx, qword [rsp + 0x48]
call fcn.180042a14
mov qword [rsp + 0x60], socket
mov qword [rsp + 0x58], rbx
mov byte [rsp + 0x48], bl
cmp qword [rsp + 0x90], 0x10
jb 0x1800055fe
mov rcx, qword [rsp + 0x78]
call fcn.180042a14
mov ecx, edi
call sub.WS2_32.dll_ntohl
mov dword [rsp + 0x99], eax
or edx, 0xffffffff
movzx ecx, byte [rsp + rbx + 0x98]
movzx eax, dl
xor rcx, rax
lea r8, [0x180082900]
mov eax, edx
shr eax, 8
mov edx, dword [r8 + rcx*4]
xor edx, eax
inc rbx
cmp rbx, 5
jl 0x18000560f
not edx
mov eax, 0xd46f3235
mul edx
shr edx, 0xa
movzx ecx, dl
movzx edx, byte [rsp + 0x9c]
movzx r10d, byte [rsp + 0x9b]
movzx r11d, byte [rsp + 0x9a]
movzx r9d, byte [rsp + 0x99]
movzx r8d, bpl
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea rdx, str._02x__02x__02x__02x__02x__02x
mov rcx, rsi
call fcn.1800384e0
mov rax, rsi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800423f0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret