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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14016d4c0]
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 0x14002c68e
call fcn.1400d4108
cmp dword [rax], 4
je 0x14002c660
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400c4df0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x14002c6c0
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x14016d4c0]
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 0x14002c6f8
cmp ax, 0x17
jne 0x14002c76d
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.1400ff740
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 0x14002c76d
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14002c752
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140040e70
mov al, 1
jmp 0x14002c76f
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400c4df0
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140031910
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 [0x14016d4c0]
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 0x14003198c
call fcn.1400d4108
cmp dword [rax], 4
je 0x140031960
test ebx, ebx
jle 0x140031a30
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 0x1400319de
call fcn.1400d4108
cmp dword [rax], 4
je 0x1400319b0
test ebx, ebx
je 0x140031a2c
jns 0x1400319ee
call fcn.1400d4108
cmp dword [rax], 9
je 0x140031a30
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 0x140031a28
call fcn.1400d4108
cmp dword [rax], 4
je 0x140031a00
test ebx, ebx
jle 0x140031a30
mov al, 1
jmp 0x140031a32
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400c4df0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140031a60
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 [0x14016d4c0]
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 0x140031adb
mov rdx, qword [rbx + 0x30]
sub rdi, rcx
add rdx, rcx
mov rcx, r14
cmp rsi, rdi
ja 0x140031ac7
mov r8, rsi
call fcn.1400ff0a0
add qword [rbx + 0x48], rsi
mov rax, rsi
jmp 0x140031bff
mov r8, rdi
call fcn.1400ff0a0
add qword [rbx + 0x48], rdi
mov rax, rdi
jmp 0x140031bff
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 0x140031b3d
call fcn.1400d4108
cmp dword [rax], 4
je 0x140031b10
test edi, edi
jg 0x140031b4d
mov rax, 0xffffffffffffffff
jmp 0x140031bf7
mov rbp, qword [rbx + 8]
xor eax, eax
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
cmp rsi, 0x1000
jae 0x140031bd1
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 0x140031b96
call fcn.1400d4108
cmp dword [rax], 4
je 0x140031b70
mov r15, qword [rsp + 0x260]
test rdi, rdi
jle 0x140031bb7
mov rdx, qword [rbx + 0x30]
mov rcx, r14
cmp rdi, rsi
jg 0x140031bbc
mov r8, rdi
call fcn.1400ff0a0
mov rax, rdi
jmp 0x140031bf7
mov r8, rsi
call fcn.1400ff0a0
mov rax, rsi
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x50], rdi
jmp 0x140031bf7
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 0x140031bf4
call fcn.1400d4108
cmp dword [rax], 4
je 0x140031bd1
mov rax, rbx
mov rbp, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400c4df0
add rsp, 0x268
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140031c20
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 [0x14016d4c0]
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 0x140031cac
call fcn.1400d4108
cmp dword [rax], 4
je 0x140031c80
mov qword [rsp + 0x280], rsi
test ebx, ebx
jle 0x140031d88
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 0x140031d0e
call fcn.1400d4108
cmp dword [rax], 4
je 0x140031ce0
test ebx, ebx
je 0x140031d5c
jns 0x140031d1e
call fcn.1400d4108
cmp dword [rax], 9
je 0x140031d88
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 0x140031d58
call fcn.1400d4108
cmp dword [rax], 4
je 0x140031d30
test ebx, ebx
jle 0x140031d88
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 0x140031d83
call fcn.1400d4108
cmp dword [rax], 4
je 0x140031d60
mov rax, rbx
jmp 0x140031d8f
mov rax, 0xffffffffffffffff
mov rsi, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400c4df0
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 0x140031e40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x14016d4c0]
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 0x140031e99
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.14002c6c0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400c4df0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret
Function at 0x140041290
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10d, dword [0x14017a3b0]
lea r11, [0x14017a3b0]
mov r9d, 0x270
cmp r10d, r9d
jne 0x1400412f5
lea r8, [0x14017a3b8]
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 0x1400412b0
mov r10d, dword [0x14017a3b0]
jmp 0x1400413cf
cmp r10d, 0x4e0
jb 0x1400413cf
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 0x140041310
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 0x140041350
mov edx, dword [0x14017b730]
xor edx, dword [0x14017a3b4]
btr edx, 0x1f
mov dword [0x14017a3b0], r10d
xor edx, dword [0x14017b730]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [0x14017a9e4]
mov dword [0x14017ad70], ecx
mov eax, r10d
mov ecx, dword [r11 + rax*4 + 4]
inc eax
mov dword [0x14017a3b0], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x14017b734]
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 0x140046710
Capabilities:
Encode data using xor
Hash data using fnv

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14016d4c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov ecx, 8
call fcn.1400c4e20
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, [0x14005c210]
xor edx, edx
xor ecx, ecx
call fcn.1400dcddc
mov qword [rdi], rax
test rax, rax
je 0x140052708
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c4df0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call fcn.1400c4210
int3

Function at 0x1400528a0
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 0x140052a83
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x14017b740]
sub rbx, qword [0x14017b738]
mov qword [rsp + 0x50], r13
sar rbx, 2
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x1400528f3
mov eax, listen
jmp 0x140052921
cmp rdi, 0x44
jb 0x140052900
mov eax, 7
jmp 0x140052921
cmp rdi, 0x27
jb 0x14005290d
mov eax, 5
jmp 0x140052921
cmp rdi, 7
jb 0x14005291a
mov eax, 3
jmp 0x140052921
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 0x14005293a
mov r15, rdi
mov r8, rdi
mov qword [rsp + 0x48], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, rsi
call fcn.1400ff740
xor ecx, ecx
test r15, r15
je 0x1400529ed
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 0x1400529ad
mov rax, rbx
jmp 0x1400529c5
cmp rcx, rbx
ja 0x1400529c2
mov rax, qword [0x14017b738]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x1400529c5
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 0x140052960
add r15, rdi
cmp rcx, r15
jae 0x140052a6a
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 0x140052a00
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 0x14005a930
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 0x14005a9f5
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14005a9f5
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 0x14005aa0e
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 0x14005a9e5
cmp byte [rcx], 0x5c
jne 0x14005a9de
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14005a9de
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14005a9cc
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14005a9db
test r8b, 0x10
jne 0x14005a9de
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14005a9de
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140052000
test edi, edi
jne 0x14005a950
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.140051ff0
int3
Function at 0x14005d360
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 0x14005d3aa
cmp ecx, 0xf
jne 0x14005d3b4
sar eax, 0xc
and eax, 0xf0
add ebx, eax
mov rax, qword [0x14017a328]
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, [0x140150538]
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.140008620
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 0x14005d491
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 0x14005d470
lea rax, [rdi + rdi*8]
mov rcx, rax
shr rcx, 0xb
xor rcx, rax
imul rax, rcx, 0x8001
test rax, rax
jne 0x14005d4be
movabs rax, 0x5851f42d4c957f2d
imul rdx, rax
inc rdx
jmp 0x14005d4c1
mov rdx, rax
mov qword [rsi], rdx
mov byte [rsi + 8], 1
cmp r9, 0xf
jbe 0x14005d4fb
lea rdx, [r9 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14005d4f3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d513
mov rcx, rbx
call fcn.1400c4e5c
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.1400d3b88
int3
Function at 0x14005d520
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 0x14005d53e
mov byte [rcx + 8], bl
jmp 0x14005d65b
lea rax, [0x14014c488]
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.140008620
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 0x14005d5f1
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 0x14005d5d0
lea rax, [rbx + rbx*8]
mov rcx, rax
shr rcx, 0xb
xor rcx, rax
imul rax, rcx, 0x8001
test rax, rax
jne 0x14005d61e
movabs rax, 0x5851f42d4c957f2d
imul rdx, rax
inc rdx
jmp 0x14005d621
mov rdx, rax
mov qword [rdi], rdx
mov byte [rdi + 8], 1
cmp r10, 0xf
jbe 0x14005d65b
lea rdx, [r10 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x14005d653
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d66f
mov rcx, r8
call fcn.1400c4e5c
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
call fcn.1400d3b88
int3
Function at 0x14005f690
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14016d4c0]
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.1400ff740
lea rdx, [rsp + 0x60]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x14005f7e8
lea rbx, [rsp + 0x60]
cmp byte [rsp + 0x60], sil
je 0x14005f7e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x14005f7c2
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 0x14005f740
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140008c70
nop
lea rcx, [rsp + 0x30]
call fcn.14005f160
mov qword [rsp + 0x28], rax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14005f77b
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x14005f789
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.140057d40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14005f7c2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f7bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f810
call fcn.1400c4e5c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x14005f7d0
inc rbx
add rbx, rax
cmp byte [rbx], 0
jne 0x14005f715
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400c4df0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400d3b88
int3

Function at 0x140061c40
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x14016d4c0]
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 0x140061ca1
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x140061c9b
shr ax, 8
cmp al, 2
jne 0x140061c9b
call fcn.14006e220
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400c4df0
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.1400c4df0
add rsp, 0x1d8
ret
Function at 0x1400644f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
mov rbx, rdx
mov rcx, r8
call fcn.140064540
mov r8d, eax
mov rdx, rbx
mov ecx, edi
call fcn.1400ec7f0
mov rbx, qword [rsp + 0x30]
cdqe
add rsp, 0x20
pop rdi
ret

Function at 0x14006a050
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 0x140069d9b
movzx ecx, byte [rbx]
call fcn.140077b70
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x140069d80
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 0x14006a086
call fcn.14006a450
test al, al
jne 0x14006a086
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14006a3a0
mov rdx, qword [rsp + 0x30]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x140069d60
xor eax, eax
add rsp, 0x20
pop rbx
ret