joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004b250
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [0x1400c0688]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov ebp, r9d
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
je 0x14004b3b0
lea rax, [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x78], 0
mov rcx, qword [rbx + 0x3b8]
test rcx, rcx
je 0x14004b2b9
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xc0], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.140049520
movzx eax, byte [rbx + 0x37c]
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x28], al
mov dword [rsp + 0x20], ebp
mov r9d, dword [rbx + 0x378]
mov r8d, edi
lea rdx, [0x140096b60]
mov rcx, rsi
call fcn.140034520
mov rsi, rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14004b346
mov r8, qword [rcx]
lea rax, [rsp + 0x40]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
mov qword [rsp + 0x78], 0
xchg qword [rbx + 0x48], rsi
mov rax, qword [rbx + 0x48]
nop
cmp rax, 0xffffffffffffffff
je 0x14004b3b0
test edi, edi
jne 0x14004b3ab
mov dword [rsp + 0xc8], 0x80
mov rcx, qword [rbx + 0x48]
nop
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0xd0]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14004b3b0
movzx eax, word [rsp + 0xd0]
cmp ax, 2
je 0x14004b398
cmp ax, 0x17
jne 0x14004b3b0
movzx ecx, word [rsp + 0xd2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
test edi, edi
setns al
jmp 0x14004b3b2
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140069ba0
add rsp, 0x168
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004d080
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14004d0b4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14004d0a0
ret

Function at 0x14004f860
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x1400c0688]
xor rax, rsp
mov qword [rsp + 0x450], rax
movzx eax, word [rcx]
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp ax, 2
je 0x14004f898
cmp ax, 0x17
jne 0x14004f90d
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsi], eax
mov r8d, 0x401
call fcn.14006b530
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x40]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x14004f90d
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14004f8f2
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140015d20
mov al, 1
jmp 0x14004f90f
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140069ba0
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140053fd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400c0688]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140053ffd
xor eax, eax
jmp 0x140054143
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140054037
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140054037
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140054143
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140054136
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14005407a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140054089
movsx ecx, dil
jmp 0x1400540dd
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x1400540f7
sub eax, 1
je 0x1400540f7
cmp eax, 2
jne 0x140054136
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140076c00
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14005413b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140054124
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140076fac
cmp rsi, rax
jne 0x140054136
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14005413b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140069ba0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140057400
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400c0688]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, qword [rcx + 0x3d0]
lea rbx, [rcx + 0x3d8]
mov r14, rcx
mov rsi, rdx
mov rcx, rbx
call fcn.1400689e4
test eax, eax
jne 0x140057649
mov rcx, rdi
mov qword [rsp + 0x100], r15
call sub.libssl_3_x64.dll_SSL_new
mov rcx, rbx
mov rdi, rax
call fcn.140068a08
test rdi, rdi
je 0x140057501
lea r8, [rbp - 1]
mov dword [rbp - 1], 1
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, esi
call sub.libcrypto_3_x64.dll_BIO_new_socket
xor r9d, r9d
mov rcx, rax
mov r15, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call sub.libcrypto_3_x64.dll_BIO_ctrl
mov r8, r15
mov rdx, r15
mov rcx, rdi
call sub.libssl_3_x64.dll_SSL_set_bio
mov rcx, qword [r14 + 0x68]
lea r8, [0x1400671f6]
mov r9, qword [r14 + 0x60]
mov rdx, rdi
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.140037080
cmp al, 1
jne 0x1400575ff
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
lea edx, [r9 + 0x66]
call sub.libcrypto_3_x64.dll_BIO_ctrl
lea r8, [rbp - 9]
mov dword [rbp - 9], 0
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor r15b, r15b
test rdi, rdi
je 0x1400575c2
mov rax, qword [r14 + 0x78]
lea rcx, [r14 + 0x48]
mov r9, qword [r14 + 0x58]
mov rdx, rsi
mov r8, qword [r14 + 0x50]
mov qword [rbp + 0x1f], rax
mov rax, qword [r14 + 0x70]
mov qword [rbp + 0x17], rax
mov rax, qword [r14 + 0x68]
mov qword [rbp + 0xf], rax
mov rax, qword [r14 + 0x60]
mov qword [rbp - 1], rax
lea rax, [rbp + 7]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x41], rax
lea rax, [rbp - 1]
mov qword [rbp - 0x39], rax
lea rax, [rbp + 0xf]
mov qword [rbp - 0x31], rax
lea rax, [rbp + 0x17]
mov qword [rbp - 0x29], rax
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x19], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov qword [rbp + 7], rsi
mov qword [rbp - 9], rdi
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], rdi
call fcn.140036750
movzx r15d, al
test al, al
je 0x1400575a2
mov rcx, rdi
call sub.libssl_3_x64.dll_SSL_shutdown
mov rcx, rbx
call fcn.1400689e4
test eax, eax
jne 0x140057651
mov rcx, rdi
call sub.libssl_3_x64.dll_SSL_free
mov rcx, rbx
call fcn.140068a08
mov edx, 2
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
movzx eax, r15b
mov r15, qword [rsp + 0x100]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140069ba0
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rdi
call sub.libssl_3_x64.dll_SSL_shutdown
mov rcx, rbx
call fcn.1400689e4
test eax, eax
jne 0x140057641
mov rcx, rdi
call sub.libssl_3_x64.dll_SSL_free
mov rcx, rbx
call fcn.140068a08
lea r8, [rbp + 7]
mov dword [rbp + 7], 0
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor r15b, r15b
jmp 0x1400575c2
mov ecx, eax
call fcn.140067c08
int3
mov ecx, eax
call fcn.140067c08
int3
mov ecx, eax
call fcn.140067c08
int3
Function at 0x14005ba80
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov r14, rcx
nop word [rax + rax]
mov r9d, edi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x14005bad3
call fcn.140073bf8
cmp dword [rax], 4
je 0x14005bab0
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14005d790
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400c0688]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14005d7ff
call fcn.140073bf8
cmp dword [rax], 4
je 0x14005d7d0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140069ba0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x14005d830
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400c0688]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14005d89e
call fcn.140073bf8
cmp dword [rax], 4
je 0x14005d870
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140069ba0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x1400615c0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x58
mov rax, qword [0x1400c0688]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov qword [rsp + 0x28], rcx
cmp qword [rcx + 0x20], 0x10
lea rsi, [rcx + 8]
mov rbp, rdx
mov byte [rsp + 0x20], 0
mov edi, 2
mov r15d, ebx
mov rdx, rsi
jb 0x140061604
mov rdx, qword [rsi]
lea r8, [rsp + 0x38]
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x140061620
mov r15d, reloc.WS2_32.dll_recv
jmp 0x140061644
cmp qword [rsi + 0x18], 0x10
jb 0x14006162a
mov rsi, qword [rsi]
lea r8, [rsp + 0x30]
mov rdx, rsi
mov ecx, edi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x140061649
mov r15d, 4
mov edi, 7
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
lea edx, [r9 + 0x55]
call sub.libcrypto_3_x64.dll_X509_get_ext_d2i
mov r12, rax
test rax, rax
je 0x140061732
mov qword [rsp + 0xa0], r13
mov rcx, rax
mov qword [rsp + 0x50], r14
xor r13b, r13b
xor r14b, r14b
call sub.libcrypto_3_x64.dll_OPENSSL_sk_num
mov dword [rsp + 0x24], eax
test eax, eax
jle 0x140061725
nop
test r14b, r14b
jne 0x140061720
mov edx, ebx
mov rcx, r12
call sub.libcrypto_3_x64.dll_OPENSSL_sk_value
mov rsi, rax
cmp dword [rax], edi
jne 0x14006170a
mov rcx, qword [rax + 8]
call sub.libcrypto_3_x64.dll_ASN1_STRING_get0_data
mov rcx, qword [rsi + 8]
mov rbp, rax
call sub.libcrypto_3_x64.dll_ASN1_STRING_length
movsxd r8, eax
cmp edi, 2
je 0x1400616f9
cmp edi, 7
jne 0x14006170a
mov r8, r15
lea rcx, [rsp + 0x38]
mov rdx, rbp
call fcn.14006c790
test eax, eax
je 0x1400616f4
mov r8, r15
lea rcx, [rsp + 0x30]
mov rdx, rbp
call fcn.14006c790
test eax, eax
jne 0x14006170a
mov r13b, 1
jmp 0x14006170a
mov rcx, qword [rsp + 0x28]
mov rdx, rbp
call fcn.14004b4e0
movzx r14d, al
inc ebx
cmp ebx, dword [rsp + 0x24]
jl 0x140061690
test r14b, r14b
jne 0x140061720
test r13b, r13b
je 0x140061725
mov byte [rsp + 0x20], 1
mov r13, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x50]
mov rcx, r12
call sub.libcrypto_3_x64.dll_GENERAL_NAMES_free
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140069ba0
add rsp, 0x58
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x140061a29
mov rax, 0xffffffffffffffff
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x140061a55
call fcn.140073bf8
cmp dword [rax], 4
je 0x140061a32
mov rbp, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400638e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140063902
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14006397c
mov rdi, r14
mov rcx, rbx
call fcn.140014c50
test rax, rax
jle 0x140063954
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14006ae80
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14006396c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140063974
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140063916
sub r14, rdi
jmp 0x140063a5f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140063993
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140063995
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400639c7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14006ae80
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140063a5c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140063a02
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140063a3d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140075d40
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140063a5c
cmp rbp, rax
ja 0x140063a10
test rbp, rbp
je 0x140063a5c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140075d40
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140063a80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140063b18
test r8, r8
jle 0x140063b10
nop word [rax + rax]
mov rcx, rdi
call fcn.1400152f0
test rax, rax
jle 0x140063aee
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.14006ae80
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140063b08
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140063b10
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140063ab0
sub r14, rbx
mov rax, r14
jmp 0x140063b96
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140063b31
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140063b33
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x140063b8b
test ecx, ecx
jle 0x140063b6c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.14006ae80
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x140063b8b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140063b8b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.140076fac
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140063c10
Capabilities:
Create thread
Set console window title

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400c0688]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, str.Nebuls_Proxy
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov edx, 1
lea rcx, [0x14004ec30]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov edx, recv
mov rcx, qword [0x1400c4c88]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.Discord:_NebuL1337
call fcn.14002f6a0
lea rcx, str.Discord_Server:_https:__discord.gg_NVn9DEwC__n
call fcn.14002f6a0
call fcn.14005e910
mov ecx, 8
call fcn.140069a48
test rax, rax
je 0x140063c8a
lea rcx, [0x14005f720]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000c880]
xor edx, edx
xor ecx, ecx
call fcn.14007412c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140063d6f
cmp dword [rsp + 0x38], 0
je 0x140063d82
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140067a44
test eax, eax
jne 0x140063d8d
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, str.Proxy_server_is_running._n
call fcn.14002f6a0
call fcn.14000a360
mov rcx, qword [0x1400c4c80]
call fcn.140066250
test al, al
je 0x140063d41
lea rcx, str.Nebuls_proxy_server__Nebuls_client_proxy_is_running._n
call fcn.14002f6a0
mov rcx, qword [0x1400c4c80]
call fcn.1400655e0
mov qword [rsp + 0x40], 1
lea rcx, [rsp + 0x40]
call fcn.14000df70
jmp 0x140063d20
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.14002f6a0
nop
cmp dword [rsp + 0x38], 0
jne 0x140063d69
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140069ba0
add rsp, 0x68
ret
call fcn.140073c70
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140067c44
nop
mov ecx, 1
call fcn.140067c44
int3
mov ecx, eax
call fcn.140067c08
int3
Function at 0x140066530
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x140066726
nop
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x1400665e4
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x1400665a0
mov ecx, dword [r10]
jmp 0x1400666c7
cmp ecx, 0x4e0
jb 0x1400666c7
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140066600
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140066650
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x140066580
movzx ecx, byte [rdi + 8]
or esi, eax
add cl, 0xff
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x140066570
xor edx, edx
mov eax, ebp
div r15d
xor edx, edx
mov ecx, eax
mov eax, esi
div r15d
cmp eax, ecx
jb 0x14006674a
xor edx, edx
mov eax, ebp
div r15d
cmp edx, r14d
jne 0x140066560
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret
Function at 0x1400667b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
xor r14d, r14d
mov rdi, rcx
mov esi, r14d
mov ebp, r14d
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl esi, cl
add esi, esi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140066844
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x140066800
mov ecx, dword [r10]
jmp 0x140066927
cmp ecx, 0x4e0
jb 0x140066927
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140066860
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400668b0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r14d
mov dword [r10], r14d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [rdi + 0x10]
ja 0x1400667e0
add rbp, qword [rdi + 8]
or esi, ecx
cmp rbp, 0x20
jb 0x1400667d2
mov rbx, qword [rsp + 0x10]
mov eax, esi
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
pop r14
ret