joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400424b0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea edi, [rcx + 1]
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
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14004251e
call fcn.1400e1fb4
cmp dword [rax], 4
je 0x1400424f0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400ce1f0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x140042550
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x14017b4c0]
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 0x140042588
cmp ax, 0x17
jne 0x1400425fd
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.140107fe0
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 0x1400425fd
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400425e2
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000b320
mov al, 1
jmp 0x1400425ff
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400ce1f0
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400477a0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rcx + 8]
mov rdi, rcx
mov r8, qword [rcx + 0x28]
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
lea esi, [rax + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
nop dword [rax]
lea rax, [rsp + 0x38]
xor r9d, r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, esi
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x14004781c
call fcn.1400e1fb4
cmp dword [rax], 4
je 0x1400477f0
test ebx, ebx
jle 0x1400478c0
mov rdi, qword [rdi + 8]
xor eax, eax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 1
nop dword [rax]
lea rax, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
lea ecx, [rdi + 1]
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x14004786e
call fcn.1400e1fb4
cmp dword [rax], 4
je 0x140047840
test ebx, ebx
je 0x1400478bc
jns 0x14004787e
call fcn.1400e1fb4
cmp dword [rax], 9
je 0x1400478c0
lea rsi, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
mov r9d, 2
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
jns 0x1400478b8
call fcn.1400e1fb4
cmp dword [rax], 4
je 0x140047890
test ebx, ebx
jle 0x1400478c0
mov al, 1
jmp 0x1400478c2
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400ce1f0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400478f0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x268
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov eax, 0x7fffffff
mov rcx, qword [rcx + 0x48]
cmp r8, rax
mov rsi, r8
mov r14, rdx
cmova rsi, rax
mov rdi, qword [rbx + 0x50]
cmp rcx, rdi
jae 0x14004796b
mov rdx, qword [rbx + 0x30]
sub rdi, rcx
add rdx, rcx
mov rcx, r14
cmp rsi, rdi
ja 0x140047957
mov r8, rsi
call fcn.140107940
add qword [rbx + 0x48], rsi
mov rax, rsi
jmp 0x140047a8f
mov r8, rdi
call fcn.140107940
add qword [rbx + 0x48], rdi
mov rax, rdi
jmp 0x140047a8f
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x2a8], rbp
lea ebp, [rax + 1]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], edx
nop word [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_select]
mov edi, eax
test eax, eax
jns 0x1400479cd
call fcn.1400e1fb4
cmp dword [rax], 4
je 0x1400479a0
test edi, edi
jg 0x1400479dd
mov rax, 0xffffffffffffffff
jmp 0x140047a87
mov rbp, qword [rbx + 8]
xor eax, eax
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
cmp rsi, 0x1000
jae 0x140047a61
mov qword [rsp + 0x260], r15
mov r15, qword [rbx + 0x30]
xor r9d, r9d
mov r8d, 0x1000
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rdi, eax
test eax, eax
jns 0x140047a26
call fcn.1400e1fb4
cmp dword [rax], 4
je 0x140047a00
mov r15, qword [rsp + 0x260]
test rdi, rdi
jle 0x140047a47
mov rdx, qword [rbx + 0x30]
mov rcx, r14
cmp rdi, rsi
jg 0x140047a4c
mov r8, rdi
call fcn.140107940
mov rax, rdi
jmp 0x140047a87
mov r8, rsi
call fcn.140107940
mov rax, rsi
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x50], rdi
jmp 0x140047a87
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x140047a84
call fcn.1400e1fb4
cmp dword [rax], 4
je 0x140047a61
mov rax, rbx
mov rbp, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400ce1f0
add rsp, 0x268
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140047ab0
Capabilities:
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rcx + 8]
mov r14, r8
mov r10, qword [rcx + 0x28]
mov r15, rdx
mov r9, qword [rcx + 0x20]
mov rbp, rcx
mov qword [rsp + 0x48], rax
lea edi, [rax + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x3c], r10d
nop word [rax + rax]
lea rax, [rsp + 0x38]
xor r9d, r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x140047b3c
call fcn.1400e1fb4
cmp dword [rax], 4
je 0x140047b10
mov qword [rsp + 0x280], rsi
test ebx, ebx
jle 0x140047c18
mov rdi, qword [rbp + 8]
xor eax, eax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 1
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
lea ecx, [rdi + 1]
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x140047b9e
call fcn.1400e1fb4
cmp dword [rax], 4
je 0x140047b70
test ebx, ebx
je 0x140047bec
jns 0x140047bae
call fcn.1400e1fb4
cmp dword [rax], 9
je 0x140047c18
lea rsi, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
mov r9d, 2
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
jns 0x140047be8
call fcn.1400e1fb4
cmp dword [rax], 4
je 0x140047bc0
test ebx, ebx
jle 0x140047c18
mov rdi, qword [rbp + 8]
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x140047c13
call fcn.1400e1fb4
cmp dword [rax], 4
je 0x140047bf0
mov rax, rbx
jmp 0x140047c1f
mov rax, 0xffffffffffffffff
mov rsi, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400ce1f0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x140047cd0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rcx, qword [rcx + 8]
mov rdi, r8
mov rbx, rdx
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140047d29
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.140042550
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400ce1f0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret
Function at 0x1400549a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10d, dword [0x140188bf0]
lea r11, [0x140188bf0]
mov r9d, 0x270
cmp r10d, r9d
jne 0x140054a05
lea r8, [0x140188bf8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1400549c0
mov r10d, dword [0x140188bf0]
jmp 0x140054adf
cmp r10d, 0x4e0
jb 0x140054adf
xor r10d, r10d
mov r8d, 0x38c
mov r9d, r10d
nop
mov eax, dword [r9 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r9 + r11 + 0x9c8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + r11 + 0xff8]
xor ecx, edx
mov dword [r9 + r11 + 4], ecx
add r9, 4
cmp r9, r8
jb 0x140054a20
mov eax, dword [r8 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r8 + r11 + 0x9c8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + r11 - 0x388]
xor ecx, edx
mov dword [r8 + r11 + 4], ecx
add r8, 4
cmp r8, 0x9bc
jb 0x140054a60
mov edx, dword [0x140189f70]
xor edx, dword [0x140188bf4]
btr edx, 0x1f
mov dword [0x140188bf0], r10d
xor edx, dword [0x140189f70]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [0x140189224]
mov dword [0x1401895b0], ecx
mov eax, r10d
mov ecx, dword [r11 + rax*4 + 4]
inc eax
mov dword [0x140188bf0], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x140189f74]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x140058f70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140058fa4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140058f90
ret
Function at 0x14005e390
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov ecx, 8
call fcn.1400ce220
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140063fa0]
xor edx, edx
xor ecx, ecx
call fcn.1400e6780
mov qword [rdi], rax
test rax, rax
je 0x14005e408
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ce1f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call fcn.1400cd5a0
int3

Function at 0x14005e5a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
sar rdi, 2
test rdi, rdi
je 0x14005e783
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x140189f80]
sub rbx, qword [0x140189f78]
mov qword [rsp + 0x50], r13
sar rbx, 2
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x14005e5f3
mov eax, listen
jmp 0x14005e621
cmp rdi, 0x44
jb 0x14005e600
mov eax, 7
jmp 0x14005e621
cmp rdi, 0x27
jb 0x14005e60d
mov eax, 5
jmp 0x14005e621
cmp rdi, 7
jb 0x14005e61a
mov eax, 3
jmp 0x14005e621
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x14005e63a
mov r15, rdi
mov r8, rdi
mov qword [rsp + 0x48], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, rsi
call fcn.140107fe0
xor ecx, ecx
test r15, r15
je 0x14005e6ed
nop
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea rbp, [rsi + rdx*4]
mov r8d, r11d
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
xor r8d, dword [rsi + rdx*4]
xor r8d, dword [rbp]
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x14005e6ad
mov rax, rbx
jmp 0x14005e6c5
cmp rcx, rbx
ja 0x14005e6c2
mov rax, qword [0x140189f78]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x14005e6c5
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [rbp], r8d
cmp rcx, r15
jb 0x14005e660
add r15, rdi
cmp rcx, r15
jae 0x14005e76a
inc r14
lea rbp, [rcx - 1]
inc r13
nop
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, dword [rsi + r9*4]
add ecx, r10d
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x14005e700
mov rbp, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400626a0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140062765
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140062765
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14006277e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x140062755
cmp byte [rcx], 0x5c
jne 0x14006274e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14006274e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14006273c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14006274b
test r8b, 0x10
jne 0x14006274e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14006274e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.14005dd00
test edi, edi
jne 0x1400626c0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14005dcf0
int3
Function at 0x1400650f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov eax, 1
xor ecx, ecx
cpuid
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], edx
mov ebx, eax
sar ebx, 4
and ebx, 0xf
mov ecx, eax
sar ecx, 8
and ecx, 0xf
cmp ecx, 6
je 0x14006513a
cmp ecx, 0xf
jne 0x140065144
sar eax, 0xc
and eax, 0xf0
add ebx, eax
mov rax, qword [0x140188988]
lea edx, [rcx + 1]
cmp qword [rax + 0x40], 0x64
cmovge edx, ecx
lea ecx, [rbx + 1]
cmp qword [rax + 0x30], rdi
cmovne ecx, ebx
lea rax, [0x14015ca80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 5
mov dword [rsp + 0x58], edx
movabs rax, 0x1000000000000000
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x5c], ecx
movabs rax, 0x1000000000000004
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], 2
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14000fd40
lea r8, [rsp + 0x60]
mov rbx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x78]
cmp r9, 0xf
cmova r8, rbx
mov rcx, rdi
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140065221
nop dword [rax]
movsx rax, byte [r8 + rcx]
add rax, rdi
imul rdi, rax, 0x401
mov rax, rdi
shr rax, 6
xor rdi, rax
inc rcx
cmp rcx, rdx
jb 0x140065200
lea rax, [rdi + rdi*8]
mov rcx, rax
shr rcx, 0xb
xor rcx, rax
imul rax, rcx, 0x8001
test rax, rax
jne 0x14006524e
movabs rax, 0x5851f42d4c957f2d
imul rdx, rax
inc rdx
jmp 0x140065251
mov rdx, rax
mov qword [rsi], rdx
mov byte [rsi + 8], 1
cmp r9, 0xf
jbe 0x14006528b
lea rdx, [r9 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140065283
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400652a3
mov rcx, rbx
call fcn.1400ce56c
mov rax, rsi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400e1a34
int3
Function at 0x1400652b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rdi, rcx
xor ebx, ebx
test edx, edx
jne 0x1400652ce
mov byte [rcx + 8], bl
jmp 0x1400653eb
lea rax, [0x1401513cc]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
mov dword [rsp + 0x50], edx
movabs rax, 0x2000000000000000
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14000fd40
lea r9, [rsp + 0x58]
mov r8, qword [rsp + 0x58]
mov r10, qword [rsp + 0x70]
cmp r10, 0xf
cmova r9, r8
mov rcx, rbx
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140065381
nop word [rax + rax]
movsx rax, byte [rcx + r9]
add rax, rbx
imul rbx, rax, 0x401
mov rax, rbx
shr rax, 6
xor rbx, rax
inc rcx
cmp rcx, rdx
jb 0x140065360
lea rax, [rbx + rbx*8]
mov rcx, rax
shr rcx, 0xb
xor rcx, rax
imul rax, rcx, 0x8001
test rax, rax
jne 0x1400653ae
movabs rax, 0x5851f42d4c957f2d
imul rdx, rax
inc rdx
jmp 0x1400653b1
mov rdx, rax
mov qword [rdi], rdx
mov byte [rdi + 8], 1
cmp r10, 0xf
jbe 0x1400653eb
lea rdx, [r10 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x1400653e3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400653ff
mov rcx, r8
call fcn.1400ce56c
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
call fcn.1400e1a34
int3
Function at 0x140067420
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call fcn.140107fe0
lea rdx, [rsp + 0x60]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x140067578
lea rbx, [rsp + 0x60]
cmp byte [rsp + 0x60], sil
je 0x140067578
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x140067552
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1400674d0
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140005120
nop
lea rcx, [rsp + 0x30]
call fcn.140066ef0
mov qword [rsp + 0x28], rax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14006750b
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x140067519
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14001f0d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140067552
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006754d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400675a0
call fcn.1400ce56c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140067560
inc rbx
add rbx, rax
cmp byte [rbx], 0
jne 0x1400674a5
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400ce1f0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400e1a34
int3

Function at 0x140069920
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140069981
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x14006997b
shr ax, 8
cmp al, 2
jne 0x14006997b
call fcn.140075c80
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400ce1f0
add rsp, 0x1d8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400ce1f0
add rsp, 0x1d8
ret
Function at 0x140071ab0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + rdx]
mov rbx, rcx
mov edi, 0x1505
cmp rcx, rsi
jae 0x1400717fb
movzx ecx, byte [rbx]
call fcn.140080c20
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400717e0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
movzx eax, dil
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140071ae6
call fcn.140071eb0
test al, al
jne 0x140071ae6
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140071e00
mov rdx, qword [rsp + 0x30]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x1400717c0
xor eax, eax
add rsp, 0x20
pop rbx
ret