joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017750
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
movzx esi, byte [rcx + 0x270]
shr sil, 6
and esi, 1
cmp dword [rcx + 0x220], 0x100
mov qword [rsp + 0x28], 0
mov rbx, rcx
mov rbp, rdx
je 0x140017838
cmp byte [rdx], 0x2d
je 0x140017800
movzx esi, sil
lea rcx, [rsp + 0x28]
mov rdx, rbp
mov r8d, esi
call dbg.pixie_fopen_shareable
test eax, eax
jne 0x1400177b0
mov rdi, qword [rsp + 0x28]
test rdi, rdi
jne 0x140017822
nop dword [rax]
test esi, esi
lea rax, str.appending
mov ecx, 2
lea rbx, str.writing
cmovne rbx, rax
xor edi, edi
call qword [dbg.__acrt_iob_func]
lea rdx, str.out:_could_not_open_file_for__s_n
mov rcx, rax
mov r8, rbx
call sym.fprintf_16
mov rcx, rbp
call sym.perror
mov rax, qword [0x140068d90]
mov dword [rax], 1
jmp 0x140017829
cmp byte [rdx + 1], 0
jne 0x14001778a
mov ecx, 1
call qword [dbg.__acrt_iob_func]
mov qword [rsp + 0x28], rax
mov rdi, rax
test rax, rax
je 0x14001778a
or byte [rbx + 0x230], 1
mov rax, rdi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rdi, qword [rcx + 0x2f8]
test rdi, rdi
jle 0x140017860
mov rax, qword [rbx + 0x218]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x10]
mov rax, rdi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor r8d, r8d
mov edx, 1
mov ecx, 2
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400178fc
mov ecx, dword [rbx + 0x2d8]
call qword [sym.imp.WS2_32.dll_htonl]
movzx ecx, word [rbx + 0x2f0]
mov dword [rsp + 0x34], eax
call qword [sym.imp.WS2_32.dll_htons]
lea rdx, [rsp + 0x30]
mov r8d, 0x10
mov rcx, rdi
mov word [rsp + 0x32], ax
mov eax, 2
mov word [rsp + 0x30], ax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1400178e0
mov qword [rbx + 0x2f8], rdi
jmp 0x140017844
xor ecx, ecx
lea rdx, str.redis:_connect___failed_n
call dbg.LOG
lea rcx, str.connect
call sym.perror
jmp 0x1400178d2
xor ecx, ecx
lea rdx, str.redis:_socket___failed_to_create_socket_n
call dbg.LOG
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
Function at 0x1400192d0
Capabilities:
Create thread

Disassembly:
xor edx, edx
jmp qword [sym.imp.msvcrt.dll__beginthread]

Function at 0x140019360
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbx
sub rsp, 0x40
mov ecx, dword [global_initialized]
mov rbx, rdx
test ecx, ecx
je 0x1400193f8
mov eax, dword [global_usePerformanceCounter]
test eax, eax
je 0x1400193e0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x28]
sub rax, qword [0x140171b68]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x140171b60]
movabs rax, 0x431bde82d7b634db
cvttsd2si rcx, xmm0
imul rcx
mov rax, rcx
sar rax, 0x3f
sar rdx, 0x12
sub rdx, rax
xor eax, eax
mov dword [rbx], edx
imul rdx, rdx, 0xf4240
sub rcx, rdx
mov dword [rbx + 4], ecx
add rsp, 0x40
pop rbx
ret
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rsp + 0x30]
jmp 0x140019390
mov dword [global_initialized], 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov dword [global_usePerformanceCounter], eax
test eax, eax
jne 0x140019460
xor edx, edx
mov dword [rsp + 0x30], 0x107b2
lea rcx, [rsp + 0x30]
mov word [rsp + 0x3e], dx
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x36], 1
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rax, qword [rsp + 0x28]
movsd xmm0, qword [0x140057198]
mov qword [global_offset], rax
movsd qword [global_frequencyToMicroseconds], xmm0
jmp 0x140019376
lea rcx, [0x140171b68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x20]
divsd xmm0, qword [0x1400571a0]
jmp 0x140019453
Function at 0x140019660
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x40], xmm7
mov rdi, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea r13, [rsp + 0x20]
lea r12, [rsp + 0x28]
mov rbx, rcx
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov rcx, r13
call rdi
mov rbp, qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rcx, r12
call rbp
mov rax, qword [rsp + 0x20]
test rax, rax
js 0x140019830
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x28]
test rax, rax
js 0x140019857
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
movsd xmm7, qword [0x1400571a0]
movsd xmm6, qword [0x1400571a8]
mulsd xmm0, xmm7
comisd xmm0, xmm6
jae 0x1400197f0
cvttsd2si rsi, xmm0
cmp rbx, 0x3e8
ja 0x14001980b
movabs r14, 0x8000000000000000
jmp 0x14001972d
cvttsd2si rax, xmm0
sub rax, rsi
cmp rax, rbx
jae 0x140019791
mov qword [rsp + 0x20], 0
mov rcx, r13
mov qword [rsp + 0x28], 0
call rdi
mov rcx, r12
call rbp
mov rax, qword [rsp + 0x20]
test rax, rax
js 0x1400197d0
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x28]
test rax, rax
js 0x1400197b0
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
mulsd xmm0, xmm7
comisd xmm0, xmm6
jb 0x140019720
subsd xmm0, xmm6
cvttsd2si rax, xmm0
xor rax, r14
sub rax, rsi
cmp rax, rbx
jb 0x14001972d
movups xmm6, xmmword [rsp + 0x30]
movups xmm7, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x14001976f
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
jmp 0x14001975c
subsd xmm0, xmm6
cvttsd2si rsi, xmm0
btc rsi, 0x3f
cmp rbx, 0x3e8
jbe 0x140019711
movabs rax, 0x20c49ba5e353f7cf
mov rdx, rbx
shr rdx, 3
mul rdx
shr rdx, 4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140019711
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
mov rax, qword [rsp + 0x28]
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
test rax, rax
jns 0x1400196d4
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x1400196dd
Function at 0x1400228e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xffffffff
lea r8, [0x140059aa0]
mov r11, rdx
mov r10, rcx
lea r9, [rcx + 8]
mov rdx, rcx
nop dword [rax]
mov ecx, eax
xor al, byte [rdx]
add rdx, 1
movzx eax, al
shr ecx, 8
xor ecx, dword [r8 + rax*4]
mov eax, ecx
cmp rdx, r9
jne 0x140022900
movzx eax, cl
mov edx, ecx
shr edx, 8
xor edx, dword [r8 + rax*4]
mov eax, edx
movzx edx, dl
shr eax, 8
xor eax, dword [r8 + rdx*4]
mov edx, eax
movzx eax, al
shr edx, 8
xor edx, dword [r8 + rax*4]
mov eax, edx
movzx edx, dl
shr eax, 8
xor eax, dword [r8 + rdx*4]
cmp r11, 0xc
jbe 0x140022980
mov ecx, 0xc
mov edx, 0xc
nop dword [rax]
mov r9d, eax
xor al, byte [r10 + rdx]
lea edx, [rcx + 1]
movzx eax, al
shr r9d, 8
mov rcx, rdx
xor r9d, dword [r8 + rax*4]
mov eax, r9d
cmp rdx, r11
jb 0x140022960
not eax
bswap eax
ret
Function at 0x1400295b0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
cmp byte [rdx + 0x10], 0
mov r12, qword [rsp + 0x110]
mov r13d, dword [rsp + 0x118]
mov rdi, rcx
mov rbx, rdx
mov r14d, r8d
mov rbp, r9
je 0x140029732
cmp byte [rdx + 0x28], 0
je 0x140029732
mov rcx, qword [rcx + 0x40]
call dbg.stack_get_packetbuffer
mov rsi, rax
test rax, rax
je 0x1400296d8
movdqu xmm0, xmmword [rbx + 0x18]
lea r15, [rax + 8]
mov rcx, qword [rdi + 0x38]
lea rdx, [rsp + 0x80]
lea r9, [rsp + 0x60]
movups xmmword [rsp + 0x80], xmm0
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x90], rax
movdqu xmm1, xmmword [rbx]
movups xmmword [rsp + 0x60], xmm1
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x58], 0x7f8
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x70], rax
mov eax, dword [rbx + 0x38]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x34]
mov dword [rsp + 0x28], eax
movzx eax, word [rbx + 0x30]
mov dword [rsp + 0x20], eax
movzx r8d, word [rbx + 0x32]
call dbg.tcp_create_packet
mov qword [rsi], rax
test r13d, r13d
jne 0x1400296c0
mov rcx, qword [rdi + 0x40]
mov rdx, rsi
mov word [rbx + 0x7c], r12w
mov qword [rbx + 0x88], rbp
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp dbg.stack_transmit_packetbuffer
mov r8d, 0x258
mov rdx, rax
mov rcx, r15
call dbg.tcp_set_window
jmp 0x14002968d
mov eax, dword [global_is_warning_printed]
test eax, eax
je 0x140029718
mov ecx, 1
call qword [dbg.__acrt_iob_func]
mov rcx, rax
call sym.fflush
mov ecx, 0x64
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.pixie_usleep
lea rdx, str.packet_buffers_empty__should_be_impossible__n
xor ecx, ecx
call dbg.LOG
mov dword [global_is_warning_printed], 1
jmp 0x1400296e2
mov r8d, 0x391
lea rdx, str.src_proto_tcp.c
lea rcx, str.tcb__ip_me.version___0__tcb__ip_them.version___0
call qword [sym.imp.msvcrt.dll__assert]
nop
nop dword [rax]
Function at 0x14002b120
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov r12d, dword [rsp + 0x120]
mov r13d, dword [rsp + 0x128]
mov r15d, dword [rsp + 0x130]
mov r14d, dword [rsp + 0x138]
mov qword [rsp + 0x68], rcx
mov rcx, rdx
mov rsi, rdx
mov rbp, r8
mov rdi, r9
call dbg.stack_get_packetbuffer
mov rbx, rax
test rax, rax
je 0x14002b220
movdqu xmm0, xmmword [rbp]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov r8d, r12d
lea rdx, [rsp + 0x90]
movups xmmword [rsp + 0x90], xmm0
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0xa0], rax
movdqu xmm1, xmmword [rdi]
movups xmmword [rsp + 0x70], xmm1
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x58], 0x7f8
mov qword [rsp + 0x80], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r13d
call dbg.tcp_create_packet
mov rdx, rbx
mov rcx, rsi
mov qword [rbx], rax
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp dbg.stack_transmit_packetbuffer
mov eax, dword [global_is_warning_printed.0]
test eax, eax
je 0x14002b260
mov ecx, 1
call qword [dbg.__acrt_iob_func]
mov rcx, rax
call sym.fflush
mov ecx, 0x64
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.pixie_usleep
lea rdx, str.packet_buffers_empty__should_be_impossible__n
xor ecx, ecx
call dbg.LOG
mov dword [global_is_warning_printed.0], 1
jmp 0x14002b22a

Function at 0x14002da10
Capabilities:
Encode data using xor

Disassembly:
cmp r9, rdx
mov r10, rcx
mov rax, rdx
cmova r9, rdx
test r9, r9
je 0x14002da7a
xor edx, edx
mov ecx, 0x66747032
nop dword [rax]
movzx r11d, byte [r10 + rdx]
xor r11d, ecx
mov byte [r8 + rdx], r11b
mov r11d, ecx
shr r11d, 8
xor r11b, byte [r10 + rdx + 1]
mov byte [r8 + rdx + 1], r11b
mov r11d, ecx
shr r11d, 0x10
xor r11b, byte [r10 + rdx + 2]
mov byte [r8 + rdx + 2], r11b
mov r11d, ecx
rol ecx, 1
shr r11d, 0x18
xor r11b, byte [r10 + rdx + 3]
mov byte [r8 + rdx + 3], r11b
add rdx, 4
cmp rdx, r9
jb 0x14002da30
ret
Function at 0x14002dab0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x9a8
mov r9d, 0x800
mov rbx, qword [rsp + 0xa10]
mov rax, qword [rbx + 0x50]
movdqu xmm0, xmmword [rbx + 0x40]
mov ebp, dword [rbx + 0x78]
mov qword [rsp + 0xb0], rax
mov eax, dword [rbx + 0x80]
mov rdi, rdx
mov rsi, rcx
mov edx, dword [rbx + 0x84]
lea r12, [rsp + 0x1a0]
mov qword [rsp + 0xc0], 0
lea rcx, [r8 + rax]
mov r8, r12
mov qword [rsp + 0xc8], 0xe
mov byte [rsp + 0x1a0], 0
mov r13, rdx
movups xmmword [rsp + 0xa0], xmm0
call dbg.zadecrypt
mov r14d, eax
cmp r13d, eax
je 0x14002db58
xor eax, eax
add rsp, 0x9a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, dword [rsp + 0x1a0]
mov dword [rsp + 0x1a0], 0
test eax, eax
je 0x14002db3e
cmp eax, 1
je 0x14002db3e
lea eax, [rax - 2]
lea rdx, [rsp + 0x1a1]
mov r15, r12
lea r11, [rsp + rax + 0x1a2]
lea r8, [0x140063980]
mov eax, 0x2dfd1072
nop word cs:[rax + rax]
movzx ecx, byte [rdx]
add rdx, 1
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [r8 + rcx*4]
cmp rdx, r11
jne 0x14002dba0
not eax
cmp eax, r9d
jne 0x14002db3e
cmp r14d, 0xf
jbe 0x14002db3e
cmp dword [rsp + 0x1a4], 0x7265744c
jne 0x14002db3e
lea r13, [rsp + 0xc0]
mov r9d, 0xb
mov edx, 0xe
lea r8, str.ZeroAccess:
mov rcx, r13
call dbg.banout_append
mov eax, dword [rsp + 0x1ac]
cmp eax, 0x100
ja 0x14002db3e
lea edx, [rax*8 + 0x10]
cmp r14d, edx
jb 0x14002db3e
test eax, eax
je 0x14002dc96
lea rax, [r12 + rax*8]
lea r14, str._u._u._u._u
mov qword [rsp + 0x58], rax
lea r12, [rsp + 0x80]
nop
movzx eax, byte [r15 + 0x13]
mov r8, r14
mov edx, 0x14
mov rcx, r12
add r15, 8
mov dword [rsp + 0x30], eax
movzx eax, byte [r15 + 0xa]
mov dword [rsp + 0x28], eax
movzx eax, byte [r15 + 9]
mov dword [rsp + 0x20], eax
movzx r9d, byte [r15 + 8]
call sym.snprintf.constprop.0_11
mov rcx, r12
call sym.strlen
mov r8, r12
mov edx, 0xe
mov rcx, r13
mov r9, rax
call dbg.banout_append
cmp qword [rsp + 0x58], r15
jne 0x14002dc40
mov rcx, r13
mov edx, 0xe
call sym.banout_string_length
mov rcx, r13
mov edx, 0xe
mov r12d, eax
call sym.banout_string
mov rdx, qword [rsp + 0xb0]
mov dword [rsp + 0x40], r12d
mov rcx, rsi
mov qword [rsp + 0x38], rax
mov r9d, 0x11
lea r8, [rsp + 0x60]
movdqu xmm1, xmmword [rsp + 0xa0]
mov qword [rsp + 0x70], rdx
mov rdx, rdi
movups xmmword [rsp + 0x60], xmm1
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x28], 0xe
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], ebp
call dbg.output_report_banner
jmp 0x14002db3e
Function at 0x14002dd10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0xb0
mov r9d, pe_nt_image_headers64
mov edx, 0x10
lea rcx, [0x140063960]
lea rdi, [rsp + 0x30]
mov r8, rdi
call dbg.zadecrypt
mov esi, dword [rsp + 0x30]
lea rdx, [rsp + 0x31]
mov dword [rsp + 0x30], 0
lea r8, [rsp + 0x40]
mov eax, 0x2dfd1072
lea r9, [0x140063980]
nop dword [rax + rax]
movzx ecx, byte [rdx]
add rdx, 1
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [r9 + rcx*4]
cmp r8, rdx
jne 0x14002dd60
mov qword [rsp + 0x20], 0
not eax
lea r8, [rsp + 0x21]
mov dword [rsp + 0x28], 0
mov ebx, eax
mov eax, 0x2dfd1072
mov dword [rsp + 0x24], 0x6765744c
mov dword [rsp + 0x2c], 0xf0a577f
nop word [rax + rax]
movzx edx, byte [r8]
add r8, 1
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [r9 + rdx*4]
cmp r8, rdi
jne 0x14002ddb0
not eax
lea rcx, [rsp + 0x20]
mov r9d, 0x10
mov edx, 0x10
mov dword [rsp + 0x20], eax
call dbg.zadecrypt
movabs rax, 0xab8d9428ce6ebeda
xor rax, qword [rsp + 0x30]
movabs rdx, 0x3ca9d6ec99d1c0c9
xor rdx, qword [rsp + 0x38]
or rax, rdx
setne dl
xor eax, eax
cmp esi, ebx
movzx edx, dl
setne al
or eax, edx
add rsp, 0xb0
pop rbx
pop rsi
pop rdi
ret

Function at 0x14002f150
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
lea eax, [rdx + rdx + 0xf]
mov rdx, r9
lea r10d, [r8 + 0xf]
mov r11, rcx
add rdx, 0x3b9aca00
jns 0x14002f186
movsxd rcx, eax
nop dword [rax]
add rdx, rcx
add eax, 0x1e
add rcx, 0x1e
test rdx, rdx
js 0x14002f170
lea r9, [rdx - 0x3b9aca00]
mov ecx, r9d
cmp r9d, 0x1f47f
jg 0x14002f213
nop word cs:[rax + rax]
add ecx, eax
mov edi, eax
add eax, 0x1e
cmp ecx, 0x1f47f
jle 0x14002f1a0
lea rsi, [0x140064aa0]
cmp edi, 0xf
jle 0x14002f20f
nop dword [rax + rax]
sub ecx, edi
jns 0x14002f1d3
nop dword [rax]
add ecx, r10d
add r10d, 0x1e
test ecx, ecx
js 0x14002f1c8
mov edx, ecx
mov r9d, r10d
cmp ecx, 0x1f47f
jg 0x14002f207
mov eax, edx
mov r8d, edx
add edx, r9d
add r9d, 0x1e
shr eax, 5
and r8d, 0x1f
lea rbx, [r11 + rax*4]
mov eax, dword [rbx]
xor eax, dword [rsi + r8*4]
mov dword [rbx], eax
cmp edx, 0x1f47f
jle 0x14002f1e0
sub edi, 0x1e
cmp edi, 0xf
jg 0x14002f1c0
pop rbx
pop rsi
pop rdi
ret
lea edi, [rax - 0x1e]
jmp 0x14002f1af
Function at 0x14002f220
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
lea eax, [rdx + 5]
mov rdx, r9
lea r10d, [r8 + 0xf]
mov r11, rcx
add rdx, 0x3b9aca00
jns 0x14002f256
movsxd rcx, eax
nop dword [rax]
add rdx, rcx
add eax, 0xa
add rcx, 0xa
test rdx, rdx
js 0x14002f240
lea r9, [rdx - 0x3b9aca00]
mov ecx, r9d
cmp r9d, 0x1f47f
jg 0x14002f2e3
nop word cs:[rax + rax]
add ecx, eax
mov edi, eax
add eax, 0xa
cmp ecx, 0x1f47f
jle 0x14002f270
lea rsi, [0x140064aa0]
cmp edi, 5
jle 0x14002f2df
nop dword [rax + rax]
sub ecx, edi
jns 0x14002f2a3
nop dword [rax]
add ecx, r10d
add r10d, 0x1e
test ecx, ecx
js 0x14002f298
mov edx, ecx
mov r9d, r10d
cmp ecx, 0x1f47f
jg 0x14002f2d7
mov eax, edx
mov r8d, edx
add edx, r9d
add r9d, 0x1e
shr eax, 5
and r8d, 0x1f
lea rbx, [r11 + rax*4]
mov eax, dword [rbx]
xor eax, dword [rsi + r8*4]
mov dword [rbx], eax
cmp edx, 0x1f47f
jle 0x14002f2b0
sub edi, 0xa
cmp edi, 5
jg 0x14002f290
pop rbx
pop rsi
pop rdi
ret
lea edi, [rax - 0xa]
jmp 0x14002f27f
Function at 0x1400309b0
Capabilities:
Get local ipv4 addresses

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
xor ebx, ebx
mov rdi, rcx
mov rcx, rdx
mov dword [rsp + 0x3c], 0
lea r12, [rsp + 0x3c]
call dbg.rawsock_win_name
mov rbp, rax
jmp 0x1400309fd
mov rcx, rbx
call sym.free
mov ecx, dword [rsp + 0x3c]
call sym.malloc
mov rbx, rax
test rax, rax
je 0x140030b2b
mov qword [rsp + 0x20], r12
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov ecx, 0x17
call sym.GetAdaptersAddresses
mov esi, eax
cmp eax, 0x6f
je 0x1400309e0
test eax, eax
jne 0x140030ae0
mov rsi, rbx
test rbx, rbx
jne 0x140030a39
jmp 0x140030b08
mov rsi, qword [rsi + 8]
test rsi, rsi
je 0x140030a49
mov rcx, qword [rsi + 0x10]
mov rdx, rbp
call dbg.rawsock_is_adapter_names_equal
test eax, eax
je 0x140030a30
movabs r8, 0x500000004
mov rax, qword [rsi + 0x18]
xor ebp, ebp
xor esi, esi
test rax, rax
je 0x140030b25
nop dword [rax]
mov rdx, qword [rax + 0x10]
cmp word [rdx], 0x17
jne 0x140030ab0
cmp dword [rax + 4], 2
je 0x140030ab0
cmp dword [rax + 0x20], 2
je 0x140030ab0
cmp qword [rax + 0x20], r8
je 0x140030ab0
mov rcx, qword [rdx + 8]
cmp cl, 0xfb
ja 0x140030ab0
bswap rcx
mov r9, rcx
shr r9, 0x20
cmp r9, 0x20010db8
je 0x140030ab0
mov rsi, qword [rdx + 0x10]
mov rbp, rcx
bswap rsi
nop word [rax + rax]
mov rax, qword [rax + 8]
test rax, rax
jne 0x140030a68
mov rcx, rbx
call sym.free
mov rax, rdi
mov qword [rdi], rbp
mov qword [rdi + 8], rsi
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, esi
lea rdx, str.GetAdaptersAddresses__:_failed:__u_n
mov rcx, rax
call sym.fprintf_24
xor ebp, ebp
xor esi, esi
jmp 0x140030ac1
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8, rbp
lea rdx, str.GetAdaptersInfo:_adapter_not_found:__s_n
mov rcx, rax
call sym.fprintf_24
xor esi, esi
xor ebp, ebp
jmp 0x140030ab9
mov ecx, 2
call qword [dbg.__acrt_iob_func]
lea rdx, str.GetAdaptersAddresses__:malloc__:_failed:_out_of_memory_n
mov rcx, rax
call sym.fprintf_24
jmp 0x140030afd
Function at 0x140031840
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
movabs rax, 0x40002a1b2c3d4
mov ebp, edx
xor edx, edx
mov qword [rsp + 0x20], rax
mov rdi, rcx
movabs rax, 0xff00000000000000
mov qword [rsp + 0x28], rdx
mov edx, 0x690000ff
mov qword [rsp + 0x31], rdx
lea rdx, [0x1400650ca]
mov qword [rsp + 0x29], rax
mov word [rsp + 0x34], bp
call sym.fopen
mov rsi, rax
test rax, rax
je 0x140031950
lea rcx, [rsp + 0x20]
mov r9, rax
mov r8d, 0x18
mov edx, 1
call sym.fwrite
cmp rax, 0x18
jne 0x140031910
mov edx, 1
mov ecx, 0x150
call sym.calloc
mov rbx, rax
test rax, rax
je 0x140031976
lea rcx, [rax + 0x1c]
mov r9, rdi
mov edx, 0x100
lea r8, [0x1400650c7]
call sym.snprintf_6
mov rax, rbx
mov qword [rbx], rsi
mov dword [rbx + 0x11c], 2
mov dword [rbx + 0x120], ebp
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov ecx, 2
xor ebx, ebx
call qword [dbg.__acrt_iob_func]
lea rdx, str.Could_not_write_capture_file_header_n
mov rcx, rax
call sym.fprintf_27
mov rcx, rdi
call sym.perror
mov rcx, rsi
call sym.fclose
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov ecx, 2
xor ebx, ebx
call qword [dbg.__acrt_iob_func]
lea rdx, str.Could_not_open_capture_file_n
mov rcx, rax
call sym.fprintf_27
mov rcx, rdi
call sym.perror
jmp 0x14003193c
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140032310
Capabilities:
Get mac address on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov ecx, 0x2c0
mov dword [rsp + 0x3c], 0x2c0
call sym.malloc
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14003258a
lea rbx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x28]
mov rdx, rbx
call sym.GetAdaptersInfo
cmp eax, 0x6f
je 0x140032540
mov rcx, qword [rsp + 0x28]
mov rdx, rbx
call sym.GetAdaptersInfo
test eax, eax
jne 0x140032570
mov r14, qword [rsp + 0x28]
lea rdi, str._.2X_
jmp 0x14003238c
mov r14, qword [r14]
test r14, r14
je 0x140032522
cmp dword [r14 + 0x1a4], 6
jne 0x140032380
lea r12, [r14 + 0xc]
mov rcx, r12
call sym.strlen
lea r13, [rax + 0xd]
mov rcx, r13
call sym.malloc
mov rbp, rax
mov eax, dword [r14 + 0x194]
lea ebx, [rax + rax*2 + 1]
mov rcx, rbx
call sym.malloc
mov rsi, rax
test rbp, rbp
je 0x140032580
test rax, rax
je 0x140032580
mov rdx, r13
mov r9, r12
lea r8, str.DeviceNPF__s
mov rcx, rbp
call dbg.snprintf
mov r15, rsi
add rbx, rsi
xor r13d, r13d
mov eax, dword [r14 + 0x194]
test eax, eax
jne 0x140032427
jmp 0x140032450
mov r8, rdi
mov rcx, r15
call dbg.snprintf
mov eax, dword [r14 + 0x194]
add r13, 1
add r15, 3
cmp r13d, eax
jae 0x140032450
movzx r9d, byte [r14 + r13 + 0x198]
mov rdx, rbx
sub eax, 1
sub rdx, r15
cmp eax, r13d
jne 0x140032408
lea r8, str._.2X
mov rcx, r15
call dbg.snprintf
jmp 0x140032413
mov eax, dword [0x140171ca0]
lea rbx, [0x140171cc0]
mov rcx, r12
lea r13, [r14 + 0x1c0]
mov rdx, rax
shl rax, 4
add rax, rbx
add edx, 1
mov qword [rax], rsi
mov qword [rax + 8], rbp
mov dword [0x140171ca0], edx
call sym.strlen
lea rdx, [rax + 0xd]
mov rcx, rdx
mov qword [rsp + 0x20], rdx
call sym.malloc
mov rcx, r13
mov rbx, rax
call sym.strlen
lea rbp, [rax + 1]
mov rcx, rbp
call sym.malloc
mov rsi, rax
test rbx, rbx
je 0x140032580
test rax, rax
mov rdx, qword [rsp + 0x20]
je 0x140032580
mov r9, r12
lea r8, str.DeviceNPF__s
mov rcx, rbx
call dbg.snprintf
mov rdx, rbp
mov rcx, rsi
mov r9, r13
lea r8, [0x14006535a]
call dbg.snprintf
mov eax, dword [0x140171ca0]
lea rcx, [0x140171cc0]
mov r14, qword [r14]
mov rdx, rax
shl rax, 4
add rax, rcx
add edx, 1
mov qword [rax], rsi
mov qword [rax + 8], rbx
mov dword [0x140171ca0], edx
test r14, r14
jne 0x14003238c
mov rcx, qword [rsp + 0x28]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.free
mov rcx, qword [rsp + 0x28]
call sym.free
mov ecx, dword [rsp + 0x3c]
call sym.malloc
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14003258a
mov rdx, rbx
mov rcx, rax
call sym.GetAdaptersInfo
test eax, eax
je 0x140032370
mov edx, eax
lea rcx, str.GetAdaptersInfo_failed_with_error:__u_n
call sym.printf_9
jmp 0x140032522
mov ecx, 1
call sym.exit
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call sym.printf_9
nop
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret