joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402678b0
Capabilities:
Encrypt data using salsa20 or chacha
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rdx
test r8, r8
je 0x140267ab7
lea rcx, [rdx + 0x18]
call fcn.1400e6840
cmp eax, 0x20
jne 0x140267ab7
lea rbp, [rbx + 0x50]
mov rcx, rbp
call fcn.1400e6840
cmp eax, 0xc
jb 0x140267ab7
lea rcx, [rbx + 0x18]
call fcn.1400e6510
mov rcx, rbp
mov rbx, rax
call fcn.1400e6510
mov dword [rdi], 0x61707865
mov r8, rax
mov dword [rdi + 4], 0x3320646e
mov dword [rdi + 8], 0x79622d32
mov dword [rdi + 0xc], 0x6b206574
movzx ecx, byte [rbx + 2]
movzx eax, byte [rbx]
movzx edx, byte [rbx + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [rbx + 1]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
mov dword [rdi + 0x10], edx
movzx eax, byte [rbx + 6]
movzx ecx, byte [rbx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 4]
shl ecx, 8
or ecx, eax
mov dword [rdi + 0x14], ecx
movzx eax, byte [rbx + 0xa]
movzx ecx, byte [rbx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 8]
shl ecx, 8
or ecx, eax
mov dword [rdi + 0x18], ecx
movzx eax, byte [rbx + 0xe]
movzx ecx, byte [rbx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [rdi + 0x1c], ecx
movzx eax, byte [rbx + 0x12]
movzx ecx, byte [rbx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [rdi + 0x20], ecx
movzx eax, byte [rbx + 0x16]
movzx ecx, byte [rbx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [rdi + 0x24], ecx
movzx ecx, byte [rbx + 0x1b]
movzx eax, byte [rbx + 0x1a]
shl ecx, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [rbx + 0x19]
or ecx, eax
movzx eax, byte [rbx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [rdi + 0x28], ecx
movzx eax, byte [rbx + 0x1e]
movzx ecx, byte [rbx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [rdi + 0x30], 0
mov dword [rdi + 0x2c], ecx
movzx eax, byte [r8 + 2]
movzx ecx, byte [r8 + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8]
shl ecx, 8
or ecx, eax
mov dword [rdi + 0x34], ecx
movzx eax, byte [r8 + 6]
movzx ecx, byte [r8 + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 4]
shl ecx, 8
or ecx, eax
mov dword [rdi + 0x38], ecx
movzx eax, byte [r8 + 0xa]
movzx ecx, byte [r8 + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 8]
shl ecx, 8
or ecx, eax
mov al, 1
mov dword [rdi + 0x3c], ecx
jmp 0x140267ab9
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14026a4d0
Capabilities:
Get socket status

Disassembly:
mov byte [rsp + 0x20], r9b
push rbp
push rsi
push r14
sub rsp, 0x40
movzx r10d, r9b
mov esi, r8d
mov r14d, edx
mov rbp, rcx
cmp r8d, 0x32
jbe 0x14026a63b
test edx, edx
je 0x14026a63b
mov qword [rsp + 0x30], r15
mov r15, qword [rsp + 0x90]
mov dword [r15], 0xffffffff
cmp dword [rcx + 0x10], 0
jne 0x14026a53b
mov rcx, qword [rsp + 0x88]
lea rdx, str.No_sockets_exists_for_fdSetSelect.
mov rax, qword [rcx]
call qword [rax + 0x28]
mov r15, qword [rsp + 0x30]
xor al, al
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
mov qword [rsp + 0x60], rbx
mov al, 1
mov qword [rsp + 0x68], rdi
xor edi, edi
mov qword [rsp + 0x70], r12
mov r12, qword [rsp + 0x98]
mov qword [rsp + 0x38], r13
mov r13, qword [rsp + 0x88]
mov ecx, 1
mov ebx, r14d
cmp esi, edi
jbe 0x14026a57a
mov ebx, esi
sub ebx, edi
cmp ebx, r14d
cmova ebx, r14d
test al, al
je 0x14026a586
shr ebx, 1
cmp ebx, 1
cmovb ebx, ecx
mov r9, r13
mov qword [rsp + 0x20], r15
movzx r8d, r10b
mov edx, ebx
mov rcx, rbp
call fcn.14026a670
mov ecx, dword [r15]
cmp ecx, 0xffffffff
je 0x14026a5fb
test ecx, ecx
jg 0x14026a5fb
add edi, ebx
cmp edi, esi
jae 0x14026a61d
test r12, r12
je 0x14026a5c2
mov rdx, r13
mov rcx, r12
call fcn.14016b710
test al, al
jne 0x14026a5cc
movzx r10d, byte [rsp + 0x78]
xor al, al
jmp 0x14026a563
mov rax, qword [r13]
lea rdx, str.socket_set_select_aborted_by_application_callback
mov rcx, r13
call qword [rax + 0x28]
xor eax, eax
mov dword [r15], eax
mov rcx, qword [rbp + 8]
mov dword [rbp + 0x10], eax
mov dword [rbp + 0x1018], eax
test rcx, rcx
je 0x14026a5f9
call fcn.14018fe80
mov al, 1
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
mov rcx, qword [rbp + 8]
xor ebx, ebx
mov dword [rbp + 0x10], ebx
mov dword [rbp + 0x1018], ebx
test rcx, rcx
je 0x14026a636
call fcn.14018fe80
mov dword [r15], ebx
jmp 0x14026a5f9
mov rax, qword [rsp + 0x90]
movzx r8d, r10b
mov r9, qword [rsp + 0x88]
mov edx, esi
mov qword [rsp + 0x80], rax
add rsp, 0x40
pop r14
pop rsi
pop rbp
jmp fcn.14026a670
Function at 0x14026a670
Capabilities:
Get socket status

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1403dd7c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0x90]
xor r15d, r15d
mov rsi, r9
movzx r10d, r8b
mov r9d, edx
mov rbx, rcx
mov r8d, r15d
mov dword [r14], 0xffffffff
mov eax, dword [rcx + 0x1018]
mov dword [rcx + 0x10], eax
test eax, eax
je 0x14026a6dc
nop word [rax + rax]
mov edx, r8d
inc r8d
mov rax, qword [rcx + rdx*8 + 0x1020]
mov qword [rcx + rdx*8 + 0x18], rax
cmp r8d, dword [rcx + 0x1018]
jb 0x14026a6c0
cmp dword [rcx + 0x10], r15d
jne 0x14026a6f9
mov rax, qword [rsi]
lea rdx, str.No_sockets_exists_for_fdSetSelect.
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x14026a841
mov eax, 0x10624dd3
mul r9d
shr edx, 6
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
sub r9d, eax
imul eax, r9d, 0x3e8
xor r9d, r9d
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
test r10b, r10b
je 0x14026a737
xor r8d, r8d
lea rdx, [rcx + 0x10]
jmp 0x14026a73d
lea r8, [rcx + 0x10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov dword [r14], eax
cmp eax, 0xffffffff
jne 0x14026a77d
mov rax, qword [rsi]
lea rdx, str.select_system_call_failed.
mov rcx, rsi
call qword [rax + 0x28]
mov rcx, qword [rbx + 8]
mov dword [rbx + 0x10], r15d
mov dword [rbx + 0x1018], r15d
test rcx, rcx
je 0x14026a6f2
call fcn.14018fe80
xor al, al
jmp 0x14026a841
cmp dword [rbx + 0x10], r15d
jne 0x14026a7a5
mov rcx, qword [rbx + 8]
mov dword [rbx + 0x10], r15d
mov dword [rbx + 0x1018], r15d
test rcx, rcx
je 0x14026a83f
call fcn.14018fe80
jmp 0x14026a83f
call fcn.14018fe90
mov rsi, rax
test rax, rax
je 0x14026a6f2
mov qword [rsp + 0x80], rbp
movsxd rbp, dword [rbx + 0x10]
test rbp, rbp
jle 0x14026a820
mov rdi, r15
nop word [rax + rax]
movsxd rax, dword [rbx + 0x1018]
mov edx, r15d
mov rcx, r15
test eax, eax
jle 0x14026a818
mov r8, qword [rbx + rdi*8 + 0x18]
mov r9, rax
lea rax, [rbx + 0x1020]
cmp r8, qword [rax]
je 0x14026a805
inc edx
inc rcx
add rax, 8
cmp rcx, r9
jl 0x14026a7f0
jmp 0x14026a818
mov rcx, qword [rbx + 8]
call fcn.14018ff40
mov edx, eax
mov rcx, rsi
call fcn.14018fe20
inc rdi
cmp rdi, rbp
jl 0x14026a7d0
mov rcx, qword [rbx + 8]
mov rbp, qword [rsp + 0x80]
test rcx, rcx
je 0x14026a83b
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 8], rsi
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140278f40
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140271d40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
movsxd rdi, r8d
add rcx, 8
mov rsi, rdx
call fcn.1400e6510
lea rcx, [rbx + 0x38]
mov rbp, rax
call fcn.1400e6510
mov r9d, dword [rsi + rdi*4 + 4]
mov rcx, rdi
mov r10d, dword [rsi + rcx*4]
lea rdi, [rsi + rdi*4]
xor r10d, dword [rbp]
lea rsi, [rsi + rcx*4]
xor ebx, ebx
mov r11, rax
nop
inc ebx
mov ecx, r10d
and ecx, 0xff0000
mov eax, r10d
shr rax, 0x18
bts rcx, 0x18
shr rcx, 0x10
mov edx, dword [r11 + rcx*4]
add edx, dword [r11 + rax*4]
mov eax, r10d
and eax, 0xff00
bts rax, 0x11
shr rax, 8
xor edx, dword [r11 + rax*4]
movzx eax, r10b
or rax, 0x300
add edx, dword [r11 + rax*4]
xor edx, dword [rbp + rbx*4]
inc ebx
xor r9d, edx
mov ecx, r9d
and ecx, 0xff0000
mov eax, r9d
shr rax, 0x18
bts rcx, 0x18
shr rcx, 0x10
mov edx, dword [r11 + rcx*4]
add edx, dword [r11 + rax*4]
mov eax, r9d
and eax, 0xff00
bts rax, 0x11
shr rax, 8
xor edx, dword [r11 + rax*4]
movzx eax, r9b
or rax, 0x300
add edx, dword [r11 + rax*4]
xor edx, dword [rbp + rbx*4]
xor r10d, edx
cmp ebx, 0xe
jbe 0x140271d90
xor r9d, dword [rbp + 0x44]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov dword [rsi], r9d
mov rsi, qword [rsp + 0x40]
mov dword [rdi + 4], r10d
add rsp, 0x20
pop rdi
ret
Function at 0x140272220
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rcx
xor ebx, ebx
add rcx, 8
mov qword [rsp + 0x20], rbx
mov r13d, r8d
call fcn.1400e6840
cdq
lea rcx, [r14 + 0x38]
and edx, 3
add eax, edx
sar eax, 2
movsxd rsi, eax
call fcn.1400e6840
cdq
lea rcx, [r14 + 8]
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x88], eax
call fcn.1400e6510
lea rcx, [r14 + 0x38]
mov r15, rax
call fcn.1400e6510
mov r12, rax
test rsi, rsi
jle 0x14027232a
mov r10, qword [rsp + 0x78]
mov r9d, ebx
mov eax, ebx
nop
movsxd rcx, eax
inc eax
cdq
idiv r13d
movzx r8d, byte [rcx + r10]
movsxd rax, edx
shl r8d, 8
movzx ecx, byte [rax + r10]
lea eax, [rdx + 1]
cdq
or ecx, r8d
idiv r13d
shl ecx, 8
movsxd rax, edx
movzx r8d, byte [rax + r10]
lea eax, [rdx + 1]
cdq
or r8d, ecx
idiv r13d
shl r8d, 8
movsxd rax, edx
movzx ecx, byte [rax + r10]
lea eax, [rdx + 1]
cdq
or ecx, r8d
xor dword [r15 + r9*4], ecx
inc r9
idiv r13d
mov eax, edx
cmp r9, rsi
jl 0x1402722a0
mov rdi, rbx
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140271d40
mov eax, dword [rsp + 0x20]
mov dword [r15 + rdi*4], eax
mov eax, dword [rsp + 0x24]
mov dword [r15 + rdi*4 + 4], eax
add rdi, 2
cmp rdi, rsi
jl 0x140272300
movsxd rdi, dword [rsp + 0x88]
test rdi, rdi
jle 0x14027236a
nop word [rax + rax]
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140271d40
mov eax, dword [rsp + 0x20]
mov dword [r12 + rbx*4], eax
mov eax, dword [rsp + 0x24]
mov dword [r12 + rbx*4 + 4], eax
add rbx, 2
cmp rbx, rdi
jl 0x140272340
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140274c30
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x28]
mov rbp, rdx
cmp eax, r8d
mov esi, eax
mov rdi, rcx
cmova esi, r8d
test esi, esi
jne 0x140274c67
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
sub eax, esi
mov qword [rsp + 0x30], rbx
cmp byte [rcx + 0x18], 0
mov dword [rcx + 0x28], eax
je 0x140274dcb
mov r9, qword [rcx + 0x20]
mov r11d, esi
mov r8d, dword [rcx + 0x1c]
movzx ecx, r8w
shr r8d, 0x10
test r9, r9
jne 0x140274ca0
lea r8d, [r9 + 1]
jmp 0x140274dc7
mov edx, 0x15b0
cmp r11d, edx
cmovb edx, r11d
sub r11d, edx
cmp edx, 0x10
jb 0x140274d70
mov r10d, edx
shr r10, 4
nop
movzx eax, byte [r9]
add edx, 0xfffffff0
add ecx, eax
movzx eax, byte [r9 + 1]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 2]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 3]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 4]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 5]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 6]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 7]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 8]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 9]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xa]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xb]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xc]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xd]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xe]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xf]
add r8d, ecx
add r9, 0x10
add ecx, eax
add r8d, ecx
sub r10, 1
jne 0x140274cc0
test edx, edx
je 0x140274d91
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9]
inc r9
add ecx, eax
add r8d, ecx
add edx, 0xffffffff
jne 0x140274d80
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r8d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r8d, eax
test r11d, r11d
jne 0x140274ca0
shl r8d, 0x10
or r8d, ecx
mov dword [rdi + 0x1c], r8d
mov rdx, qword [rdi + 0x20]
mov rcx, rbp
mov r8d, esi
mov ebx, esi
call sub.VCRUNTIME140.dll_memcpy
add qword [rdi + 0x20], rbx
mov eax, esi
add dword [rdi + 0x2c], esi
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140276400
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x20
mov edi, dword [rcx + 0x2c]
mov rbx, rcx
mov qword [rsp + 0x30], r14
mov esi, dword [rbx + 0x40]
lea r8, [rbx + 0x38]
mov edx, dword [rbx + 0x88]
sub esi, edx
mov eax, dword [rbx + 0x90]
sub esi, eax
jne 0x14027644c
test edx, edx
jne 0x14027645b
lea r8, [rbx + 0x38]
test eax, eax
jne 0x14027645b
mov esi, edi
jmp 0x1402764f3
cmp esi, 0xffffffff
jne 0x14027645b
mov esi, 0xfffffffe
jmp 0x1402764f3
lea ecx, [rdi - 0x106]
add ecx, dword [rbx + 0x2c]
cmp edx, ecx
jb 0x1402764f3
mov rcx, qword [r8]
mov r8, rdi
lea rdx, [rdi + rcx]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rbx + 0x68]
mov rax, qword [rbx + 0x58]
sub dword [rbx + 0x8c], edi
sub dword [rbx + 0x88], edi
sub dword [rbx + 0x78], edi
lea rdx, [rax + r8*2]
nop word [rax + rax]
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
sub cx, di
movzx eax, cx
not ax
sar ax, 0xf
and ax, cx
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x1402764a0
mov rax, qword [rbx + 0x48]
mov r8d, edi
lea rax, [rax + rdi*2]
nop dword [rax]
movzx edx, word [rax - 2]
lea rax, [rax - 2]
sub dx, di
movzx ecx, dx
not cx
sar cx, 0xf
and cx, dx
mov word [rax], cx
add r8d, 0xffffffff
jne 0x1402764d0
add esi, edi
mov rcx, qword [rbx + 8]
call fcn.14010aff0
test eax, eax
je 0x14027657a
mov edx, dword [rbx + 0x90]
mov r8d, esi
mov eax, dword [rbx + 0x88]
mov rcx, qword [rbx + 8]
add rdx, rax
add rdx, qword [rbx + 0x38]
call fcn.140274c30
mov r9d, dword [rbx + 0x90]
add r9d, eax
mov dword [rbx + 0x90], r9d
cmp r9d, 3
jb 0x140276560
mov eax, dword [rbx + 0x88]
mov rdx, qword [rbx + 0x38]
mov ecx, dword [rbx + 0x74]
movzx r8d, byte [rax + rdx]
mov dword [rbx + 0x64], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rbx + 0x70]
mov dword [rbx + 0x64], r8d
cmp r9d, 0x106
jae 0x14027657a
mov rcx, qword [rbx + 8]
call fcn.14010aff0
test eax, eax
jne 0x140276420
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x14001a630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14001a6c0
cmp r11, r10
ja 0x14001a736
cmp r10, rdx
ja 0x14001a74a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14001a6c2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14001a6a0
jmp 0x14001a724
ja 0x14001a6ca
mov r11, r10
cmp rax, r8
jne 0x14001a664
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14001a700
mov rdi, r8
sub ecx, edx
jns 0x14001a71b
jmp 0x14001a726
cmp r8, rsi
je 0x14001a75b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14001a726
xor al, 1
cmp rdi, rsi
jne 0x14001a6e0
jmp 0x14001a726
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, [0x1413b5090]
mov rcx, r11
mov rdx, r10
call fcn.140050c40
ud2
lea r8, [0x1413b5090]
mov rcx, r10
call fcn.1400509c0
ud2
lea rcx, [0x1413b9720]
lea r8, [0x1413b5078]
mov edx, 0x2b
call fcn.140050a40
ud2

Function at 0x14001fef0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140017f10
cmp rax, rcx
je 0x14001ff15
cmp rdx, 4
jae 0x14001ff18
xor eax, eax
xor r8d, r8d
jmp 0x14001ffb0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140053730]
movdqa xmm3, xmmword [0x140053540]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14001ff40
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14001ffc7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14001ffb0
ret
Function at 0x140020f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x140020fbb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140020fbb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x140020fd6
cmp eax, 0x42
jne 0x140020fbb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140021086
cmp byte [r9 + r11], 0x5f
jne 0x140021086
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400210ee
mov rcx, rsi
xor edx, edx
call fcn.14001c680
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.14001c680
test al, al
jne 0x140021181
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140021012
lea rdx, [0x1413b901b]
mov r8d, 1
call fcn.140018380
test al, al
jne 0x140021181
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140020fca
xor r14d, r14d
lea rbx, [0x1413b93d0]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140021044
cmp byte [rax + rcx], 0x45
je 0x1400211aa
sub r14, 1
jb 0x140021069
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140021069
mov r8d, 2
mov rdx, rbx
call fcn.140018380
test al, al
jne 0x140021181
mov rcx, rsi
call fcn.14001dee0
test al, al
jne 0x140021181
mov rax, qword [rsi]
test rax, rax
jne 0x140021030
jmp 0x140020fca
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140021148
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1400210e2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400210cc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400210bb
add dl, 0xa9
jmp 0x1400210ca
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140021148
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140021148
movzx edx, bl
add rax, rdx
jae 0x140021090
jmp 0x140021148
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140021148
cmp rax, rcx
jae 0x140021145
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140021189
cmp qword [rsi + 0x20], 0
je 0x1400211a3
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140020f60
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140020fcc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140021198
lea rax, [0x1413b9380]
lea rdx, [0x1413b9390]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140018380
test al, al
je 0x140021198
mov dil, 2
jmp 0x140020fca
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x140021153
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x140020fca
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140020fca
Function at 0x140024fa0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1413bbdb8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140025013
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14002504a
test eax, eax
js 0x140025024
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14002503d
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x1413bbe18]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140023810
mov rcx, rax
call fcn.140023950
mov ecx, 7
int 0x29
ud2
Function at 0x14002ca40
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1413bbdb8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14002caac
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14002cabb
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14002caf3
cmp eax, 0x103
je 0x14002cafd
test eax, eax
js 0x14002cad8
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14002caf3
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x1413bbe18]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140023810
mov rcx, rax
call fcn.140023950
mov ecx, 7
int 0x29
ud2

Function at 0x14002de70
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
in al, dx
push rax