joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a2840
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov dword [rax - 0x20], 0x1000
or r9d, 0xffffffff
lea rdi, [0x1402c7a40]
test r8d, r8d
mov qword [rax - 0x28], rdi
mov r8, rsi
mov ecx, 0xfde9
jne 0x1400a2952
test edx, edx
je 0x1400a289e
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 5
jmp 0x1400a28bf
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov r8d, 3
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov edx, 0xc0000000
mov rcx, rdi
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400a2937
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400a2937
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov r8, rsi
mov qword [rsp + 0x20], rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov rcx, rdi
mov dword [rsp + 0x20], 1
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov edx, 2
mov rcx, rbx
call fcn.1401daa10
cmp eax, 0xffffffff
je 0x1400a29af
lea rdx, str.wbN
jmp 0x1400a29a3
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov r8d, 3
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400a29b8
xor edx, edx
mov rcx, rax
call fcn.1401daa10
cmp eax, 0xffffffff
je 0x1400a29af
lea rdx, [0x1402998e8]
mov ecx, eax
call fcn.1401db160
test rax, rax
jne 0x1400a29ba
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400a3a70
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1f70]
mov eax, 0x2070
call fcn.1401c7cd0
sub rsp, rax
mov rax, qword [0x1402c2ed0]
xor rax, rsp
mov qword [rbp + 0x1f60], rax
xor r14d, r14d
mov rbx, rcx
test rcx, rcx
je 0x1400a3c26
mov rax, qword [rcx + 0x1030]
cmp qword [rcx + 0x1028], rax
jb 0x1400a3c26
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400a3c26
or r13, 0xffffffffffffffff
lea r8, str..tmp
mov r9, r13
mov rdx, r13
call fcn.14009f11c
lea edi, [r14 + 1]
xor r8d, r8d
mov edx, edi
mov rcx, rax
mov rsi, rax
call fcn.1400a2840
mov r15, rax
test rax, rax
jne 0x1400a3b19
mov rcx, rsi
call fcn.1401cfea0
mov eax, edi
jmp 0x1400a3c2b
mov rcx, qword [rbx + 0x1010]
lea rax, [0x1400a3824]
and dword [rbx + 0x1050], r14d
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [0x14009e6c4]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], r15
xor r9d, r9d
mov qword [rsp + 0x30], rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x40], rax
call fcn.14009ed38
cmp dword [rbx + 0x1050], r14d
jne 0x1400a3c19
mov rcx, qword [rbx]
call fcn.1401cecc0
mov rcx, r15
call fcn.1401cecc0
lea rax, [rsp + 0x60]
mov r15d, 0x1000
mov dword [rsp + 0x28], r15d
mov r9d, r13d
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8, qword [rbx + 8]
mov r9d, r13d
mov dword [rsp + 0x28], r15d
xor edx, edx
lea r15, [0x1402c7a40]
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea rcx, [rsp + 0x60]
cmove r14d, edi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx + 8]
xor r8d, r8d
xor edx, edx
call fcn.1400a2840
mov qword [rbx], rax
test rax, rax
je 0x1400a3c16
mov rcx, rax
call fcn.1401ca38c
mov qword [rbx + 0x1020], rax
jmp 0x1400a3c19
mov r14d, edi
mov rcx, rsi
call fcn.1401cfea0
mov eax, r14d
jmp 0x1400a3c2b
mov eax, 1
mov rcx, qword [rbp + 0x1f60]
xor rcx, rsp
call fcn.1401c7760
lea r11, [rsp + 0x2070]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x1400a4e64
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.1401c7cd0
sub rsp, rax
mov rax, qword [0x1402c2ed0]
xor rax, rsp
mov qword [rbp + 0xf90], rax
mov r15d, r9d
mov dword [rsp + 0x68], r9d
mov qword [rsp + 0x70], r8
mov r13d, edx
mov dword [rsp + 0x64], edx
mov r14, rcx
call fcn.14009727c
test eax, eax
jne 0x1400a4ec0
mov eax, 0xfffffffc
jmp 0x1400a508f
mov rcx, qword [r14 + 0x3d8]
mov edi, 0xfffffffc
call fcn.14009ad18
xor esi, esi
lea r12d, [rdi + 5]
test r15d, r15d
jne 0x1400a4ee9
or edx, 0xffffffff
lea ecx, [r13 - 9]
cmp ecx, r12d
cmovbe esi, edx
cmp qword [r14 + 0x3e0], 0
je 0x1400a508d
test rax, rax
je 0x1400a508d
mov rcx, rax
call fcn.1400a4dc8
mov rcx, qword [r14 + 0x3e0]
mov r13, rax
jmp 0x1400a4f16
pause
xor eax, eax
lock cmpxchg dword [rcx + 0x288], r12d
je 0x1400a4f14
cmp esi, r15d
jge 0x1400a507c
mov ecx, 0x1000
xor eax, eax
mov edi, r15d
test esi, esi
cmovns eax, esi
sub edi, eax
movsxd r12, eax
add r12, qword [rsp + 0x70]
cmp edi, ecx
cmovg edi, ecx
lea rcx, [rsp + 0x78]
mov r9d, edi
lea esi, [rdi + rax]
cmp esi, r15d
jl 0x1400a50b1
cmp dword [r13 + 4], 0
mov edx, 0x8080
jne 0x1400a4f72
movzx r8d, word [rsp + 0x64]
jmp 0x1400a4f7a
and dword [r13 + 4], 0
xor r8d, r8d
call fcn.1400b1fd0
mov edx, 4
lea rcx, [rsp + 0x60]
mov r15d, eax
call fcn.1400d6340
test edi, edi
jle 0x1400a5011
xor edx, edx
movsxd r8, edi
sar r8, 2
xor r9d, r9d
lea r11d, [rdx + 1]
test r8, r8
jle 0x1400a4fd0
lea rax, [rbp - 0x70]
mov r10, r12
sub r10, rax
mov edx, r8d
lea rax, [r10 + r9*4]
mov ecx, dword [rbp + rax - 0x70]
xor ecx, dword [rsp + 0x60]
mov dword [rbp + r9*4 - 0x70], ecx
add r9, r11
cmp r9, r8
jl 0x1400a4fb7
shl edx, 2
cmp edx, edi
jge 0x1400a5011
movsxd rax, edx
lea r8, [rbp - 0x70]
add r8, rax
lea rax, [rbp - 0x70]
sub r12, rax
mov eax, edx
and eax, 0x80000003
jge 0x1400a4ffa
sub eax, r11d
or eax, 0xfffffffc
add eax, r11d
cdqe
add edx, r11d
mov cl, byte [rsp + rax + 0x60]
xor cl, byte [r8 + r12]
mov byte [r8], cl
add r8, r11
cmp edx, edi
jl 0x1400a4fe8
mov edx, 2
movsxd rax, edi
mov dword [rsp + 0x58], edx
lea r9, [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov r8d, 0x40000003
lea rax, [rbp - 0x70]
movsxd rcx, r15d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edx
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, qword [r14 + 0x3e0]
call fcn.140092494
mov r15d, dword [rsp + 0x68]
mov edi, eax
mov ecx, 0x1000
cmp esi, r15d
jl 0x1400a4f31
mov rcx, qword [r14 + 0x3e0]
mov dword [rcx + 0x288], 0
mov eax, edi
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.1401c7760
add rsp, 0x10a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp dword [r13 + 4], 0
mov edx, 0x80
jne 0x1400a4f77
mov dword [r13 + 4], 1
jmp 0x1400a4f6a
Function at 0x1400a795c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or r9d, 0xffffffff
mov r10, rcx
test edx, edx
je 0x1400a7991
movsx r8d, byte [r10]
mov eax, r9d
xor r8, rax
mov ecx, r9d
movzx eax, r8b
inc r10
shr ecx, 8
lea r8, [0x14025d590]
mov r9d, dword [r8 + rax*4]
xor r9d, ecx
sub edx, 1
jne 0x1400a7967
not r9d
mov eax, r9d
ret

Function at 0x1400b120c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1402c2ed0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov rbx, r9
movsx ecx, byte [rcx + 1]
sub ecx, 1
je 0x1400b12d6
cmp ecx, 1
jne 0x1400b1300
lea edx, [rcx + 0xb]
mov dword [rsp + 0x20], 0x2112a442
mov r9d, edx
lea rcx, [rsp + 0x24]
call section..text
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], eax
mov eax, reloc.WS2_32.dll_socket
mov word [rbx], ax
lea ecx, [rax - 7]
call qword [sym.imp.WS2_32.dll_htonl]
xor edx, edx
mov r8, rdi
cmp eax, 0x10
jne 0x1400b12b6
lea rax, [rsp + 0x20]
mov r9, rbx
sub r8, rax
lea rax, [rsp + 0x20]
sub r9, rax
lea rcx, [rsp + 0x20]
add rcx, rdx
inc rdx
mov al, byte [r8 + rcx + 4]
xor al, byte [rcx]
mov byte [r9 + rcx + 8], al
cmp rdx, 0x10
jl 0x1400b1297
jmp 0x1400b1300
lea rcx, [rbx + 0x17]
sub r8, rbx
mov al, byte [r8 + rcx - 4]
xor al, byte [rsp + rdx + 0x20]
inc rdx
mov byte [rcx], al
dec rcx
cmp rdx, 0x10
jl 0x1400b12bd
jmp 0x1400b1300
mov ecx, dword [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
xor ecx, ecx
xor eax, 0x2112a442
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov ecx, 2
mov word [rbx], cx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbx + 4], eax
movzx ecx, word [rdi + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, 0x2112
xor cx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 2], ax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401c7760
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400b1334
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1402c2ed0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov rbp, r8
movzx ecx, word [rcx + 2]
mov rsi, rdx
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
xor ebx, ebx
mov eax, 0x2112
mov byte [rsi], bl
xor cx, ax
lea r14d, [rbx + 2]
cmp word [rdi], r14w
setne al
inc al
mov byte [rsi + 1], al
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsi + 2], ax
movzx eax, word [rdi]
cmp eax, r14d
je 0x1400b1434
cmp eax, 0x17
jne 0x1400b1452
lea edx, [rbx + 0xc]
mov dword [rsp + 0x20], 0x2112a442
mov r9d, edx
lea rcx, [rsp + 0x24]
mov r8, rbp
call section..text
lea ebp, [rbx + 0x10]
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_htonl]
cmp eax, ebp
jne 0x1400b13e9
lea rdx, [rsp + 0x20]
mov r8d, ebp
sub rdx, rdi
lea rcx, [rdi + 8]
mov al, byte [rdx + rcx - 8]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1400b13d8
jmp 0x1400b141a
lea r8, [rdi + 0x17]
mov rcx, rbx
mov rdx, r8
mov al, byte [rsp + rcx + 0x20]
xor al, byte [rdx]
dec rdx
mov byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, rbp
jl 0x1400b13f3
mov al, byte [rsp + rbx + 0x30]
inc rbx
mov byte [r8], al
dec r8
cmp rbx, rbp
jl 0x1400b1408
lea r8, [rdi + 8]
mov r9, rbp
lea rcx, [rsi + 4]
mov rdx, rbp
call section..text
mov ebx, reloc.WS2_32.dll_sendto
jmp 0x1400b1452
mov ecx, dword [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
xor eax, 0x2112a442
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsi + 4], eax
mov ebx, 8
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401c7760
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400b1d5c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
mov r11, rdx
mov r9d, ecx
test rdx, rdx
je 0x1400b1dea
lea rsi, [0x14025cd90]
not r9d
cmp r8d, 8
jb 0x1400b1dbf
mov ebx, r8d
shr rbx, 3
mov edi, 8
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
inc r11
shr eax, 8
movzx edx, cl
mov r9d, dword [rsi + rdx*4]
xor r9d, eax
sub rdi, 1
jne 0x1400b1d95
add r8d, 0xfffffff8
sub rbx, 1
jne 0x1400b1d90
test r8d, r8d
je 0x1400b1de4
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
inc r11
shr eax, 8
movzx edx, cl
mov r9d, dword [rsi + rdx*4]
xor r9d, eax
add r8d, 0xffffffff
jne 0x1400b1dc4
not r9d
mov r10d, r9d
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1400b1e00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
mov rbx, rdx
mov r9d, ecx
test rdx, rdx
je 0x1400b1e94
lea rsi, [0x14025cd90]
not r9d
cmp r8d, 8
jb 0x1400b1e66
mov r11d, r8d
shr r11, 3
mov edi, 8
movzx ecx, byte [rbx]
mov eax, r9d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r9d, dword [rsi + rdx*4 + 0x400]
xor r9d, eax
sub rdi, 1
jne 0x1400b1e39
add r8d, 0xfffffff8
sub r11, 1
jne 0x1400b1e34
test r8d, r8d
je 0x1400b1e8e
movzx ecx, byte [rbx]
mov eax, r9d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r9d, dword [rsi + rdx*4 + 0x400]
xor r9d, eax
add r8d, 0xffffffff
jne 0x1400b1e6b
not r9d
mov r10d, r9d
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1400b40e4
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
mov rbp, rsp
sub rsp, 0x40
xor ebx, ebx
lea rax, [rbp - 8]
and qword [rbp - 8], rbx
lea r9, [0x1402a01b8]
and qword [rbp - 0x10], rbx
lea rcx, [0x1402a0198]
and qword [rbp + 0x48], rbx
mov rdi, rdx
and qword [rbp + 0x30], rbx
lea r15d, [rbx + 1]
and qword [rbp + 0x40], rbx
mov r8d, r15d
xor edx, edx
mov qword [rsp + 0x20], rax
xor esi, esi
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400b4227
mov rcx, qword [rbp - 8]
lea rdx, [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + gethostname]
test eax, eax
js 0x1400b4227
mov rcx, qword [rbp - 0x10]
lea rdx, [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + gethostname]
test eax, eax
js 0x1400b4227
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0xa0]
test eax, eax
js 0x1400b4227
lea rax, [rbp + 0x30]
mov r8d, r15d
lea r9, [0x1402a01d8]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [0x1402a01a8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400b4227
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
je 0x1400b4227
mov rcx, qword [rbp + 0x30]
mov rdx, rax
mov r8, qword [rcx]
call qword [r8 + 0x50]
test eax, eax
js 0x1400b4210
lea rcx, [0x1402a0148]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400b4210
mov rcx, qword [rbp + 0x30]
mov rdx, rbx
mov r8, qword [rcx]
call qword [r8 + 0x40]
test eax, eax
js 0x1400b4210
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
cmovns esi, r15d
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbx, rbx
je 0x1400b4227
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400b4236
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1400b4245
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400b4254
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400b4263
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400b4272
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, esi
add rsp, 0x40
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400b49e4
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402c2ed0]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x10], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
and dword [rsp + 0x48], 0
mov r9d, 0x220
and dword [rsp + 0x40], 0
mov r8d, 0x20
and dword [rsp + 0x38], 0
mov dl, 2
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x1400b4a72
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401c7760
add rsp, 0x80
pop rbp
ret

Function at 0x1400b4a88
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x380
mov rax, qword [0x1402c2ed0]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov edi, edx
mov rbx, rcx
lea rdx, [rsp + 0xa0]
xor ecx, ecx
mov r8d, 0x168
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400b4b50
xor edx, edx
mov dword [rsp + 0x30], reloc.WS2_32.dll_WSASetLastError
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x6c]
call fcn.1401c8c30
and qword [rsp + 0x38], 0
lea rcx, str.open
test edi, edi
mov dword [rsp + 0x28], 0x1000
lea rax, str.runas
mov dword [rsp + 0x60], 1
cmovne rax, rcx
lea rdi, [0x1402c7a40]
mov qword [rsp + 0x40], rax
or r9d, 0xffffffff
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rdi
mov r8, rbx
mov qword [rsp + 0x48], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x1400b4b52
xor eax, eax
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.1401c7760
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x380
pop rdi
ret
Function at 0x1400dbf80
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x1400dbfa7
sub r10, rcx
nop
movzx edx, byte [r10 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
xor dl, al
or r9b, dl
sub r8, 1
jne 0x1400dbf90
movzx eax, r9b
ret

Function at 0x1400dd9c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
mov eax, 0x30
call fcn.1401c7cd0
sub rsp, rax
mov r10, r9
mov r11, r8
mov rbx, rcx
test r9, r9
jne 0x1400dd9fb
mov edx, 0xe2
mov dword [rsp + 0x20], r9d
lea ecx, [rax - 0x23]
lea r8d, [rdx - 4]
call fcn.1400c9e20
xor eax, eax
add rsp, 0x30
pop rbx
ret
movzx r8d, byte [r8]
and r8d, 0x80
test rdx, rdx
je 0x1400dda0e
mov dword [rdx], r8d
cmp r10, 1
jne 0x1400dda33
test rbx, rbx
je 0x1400dda28
movzx eax, byte [r11]
test r8d, r8d
je 0x1400dda26
not al
inc al
mov byte [rcx], al
mov eax, 1
add rsp, 0x30
pop rbx
ret
movzx eax, byte [r11]
xor ecx, ecx
test al, al
jne 0x1400dda44
mov ecx, 1
jmp 0x1400dda7c
cmp al, 0xff
jne 0x1400ddab0
xor edx, edx
mov ecx, 1
cmp rcx, r10
jae 0x1400dda6f
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r11]
inc rcx
or edx, eax
cmp rcx, r10
jb 0x1400dda60
xor eax, eax
test edx, edx
setne al
mov ecx, eax
test eax, eax
je 0x1400ddab0
movzx eax, byte [r11 + 1]
and eax, 0x80
cmp r8d, eax
jne 0x1400ddab0
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov edx, 0xe2
lea ecx, [r9 + 0xd]
lea r8d, [rdx - 5]
call fcn.1400c9e20
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov eax, ecx
sub r10, rax
test rbx, rbx
je 0x1400ddb15
neg r8d
mov qword [rsp + 0x40], rdi
lea r9, [rax + r11]
sbb dil, dil
add r9, r10
movzx edi, dil
mov edx, edi
and edx, 1
test r10, r10
je 0x1400ddb10
mov r8, r9
sub r8, rax
sub r8, r11
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 - 1]
lea r9, [r9 - 1]
dec r8
movzx ecx, dil
xor ecx, eax
add edx, ecx
mov byte [r8 + rbx], dl
shr edx, 8
test r8, r8
jne 0x1400ddaf0
mov rdi, qword [rsp + 0x40]
mov rax, r10
add rsp, 0x30
pop rbx
ret
Function at 0x1400fc8b0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400fca7e
push rbx
push rbp
push rsi
push rdi
push r13
mov eax, 0x20
call fcn.1401c7cd0
sub rsp, rax
mov rbp, qword [rsp + 0x70]
mov rbx, r8
mov qword [rsp + 0x50], r12
mov r13, r9
mov r12, qword [rsp + 0x78]
mov rdi, rdx
mov rsi, rcx
mov r10, rbp
cmp rbx, 0x10
jb 0x1400fc948
mov rbp, rbx
shr rbp, 4
imul rax, rbp, 0xfffffffffffffff0
add rbx, rax
nop
sub r10, rsi
mov r8, rdi
sub r8, rsi
mov rcx, rsi
mov edx, 2
mov rax, qword [r10 + rcx]
xor rax, qword [rcx]
mov qword [r8 + rcx], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x1400fc911
mov r8, r13
mov rdx, rdi
mov rcx, rdi
call r12
mov r10, rdi
add rsi, 0x10
add rdi, 0x10
sub rbp, 1
jne 0x1400fc900
mov rbp, qword [rsp + 0x70]
test rbx, rbx
je 0x1400fca62
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
nop dword [rax + rax]
mov r8, r10
mov r9, rdi
mov r11d, 1
mov r14d, 2
sub r8, rsi
sub r9, rsi
sub r11, rsi
sub r14, rsi
xor eax, eax
mov r15d, 3
sub r15, rsi
nop dword [rax]
cmp rax, rbx
jae 0x1400fca04
lea rdx, [rax + rsi]
movzx ecx, byte [r8 + rdx]
xor cl, byte [rdx]
mov byte [r9 + rdx], cl
lea rcx, [r11 + rdx]
cmp rcx, rbx
jae 0x1400fca01
movzx ecx, byte [rsi + rax + 1]
xor cl, byte [rax + r10 + 1]
mov byte [rdi + rax + 1], cl
lea rcx, [r14 + rdx]
cmp rcx, rbx
jae 0x1400fc9fb
movzx ecx, byte [rsi + rax + 2]
xor cl, byte [rax + r10 + 2]
mov byte [rdi + rax + 2], cl
lea rcx, [r15 + rdx]
cmp rcx, rbx
jae 0x1400fc9f5
movzx ecx, byte [rsi + rax + 3]
xor cl, byte [rax + r10 + 3]
mov byte [rdi + rax + 3], cl
add rax, 4
cmp rax, 0x10
jb 0x1400fc990
jmp 0x1400fca31
add rax, 3
jmp 0x1400fca04
add rax, 2
jmp 0x1400fca04
inc rax
cmp rax, 0x10
jae 0x1400fca31
sub r10, rdi
lea rcx, [rax + rdi]
mov edx, reloc.WS2_32.dll_recv
sub rdx, rax
nop dword [rax]
movzx eax, byte [r10 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400fca20
mov r8, r13
mov rdx, rdi
mov rcx, rdi
call r12
mov r10, rdi
cmp rbx, 0x10
jbe 0x1400fca58
add rsi, 0x10
add rdi, 0x10
sub rbx, 0x10
jne 0x1400fc960
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0x50]
cmp rbp, r10
je 0x1400fca74
movups xmm0, xmmword [r10]
movups xmmword [rbp], xmm0
add rsp, 0x20
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400fcc80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x30
call fcn.1401c7cd0
sub rsp, rax
mov rdi, r8
mov r14, rdx
mov r8, qword [rsp + 0xa0]
mov r15, rcx
mov ebx, dword [r8]
mov dword [rsp + 0x80], ebx
test ebx, ebx
je 0x1400fccf8
mov rdx, qword [rsp + 0x98]
nop dword [rax]
test rdi, rdi
je 0x1400fccf1
mov eax, ebx
dec rdi
movzx ecx, byte [rax + rdx]
xor cl, byte [r15]
inc r15
mov byte [r14], cl
inc r14
inc ebx
and ebx, 0xf
jne 0x1400fccd0
mov dword [rsp + 0x80], ebx
mov rcx, qword [rsp + 0x90]
mov esi, listen
movzx r13d, byte [rcx + 0xc]
lea r12, [rcx + 0xc]
mov r10, qword [rsp + 0xa8]
shl r13d, 8
movzx eax, byte [rcx + 0xd]
lea ebp, [rsi - 0xb]
or r13d, eax
movzx eax, byte [rcx + 0xe]
shl r13d, 8
or r13d, eax
movzx eax, byte [rcx + 0xf]
shl r13d, 8
or r13d, eax
cmp rdi, 0x10
jb 0x1400fce1d
mov eax, 0x10000000
mov ebx, esi
nop dword [rax + rax]
mov rsi, rdi
shr rsi, 4
cmp rsi, rax
cmova rsi, rax
add r13d, esi
mov eax, r13d
cmp rax, rsi
jae 0x1400fcd6f
sub rsi, rax
xor r13d, r13d
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov rcx, r15
mov rdx, r14
call r10
mov rcx, qword [rsp + 0x90]
mov eax, r13d
shr eax, 0x18
mov byte [r12], al
mov eax, r13d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r13d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xf], r13b
test r13d, r13d
jne 0x1400fcddd
mov r8d, ebx
mov ecx, ebp
mov rdx, r12
nop word [rax + rax]
movzx eax, byte [rdx - 1]
lea rdx, [rdx - 1]
add ecx, eax
mov byte [rdx], cl
shr ecx, 8
add r8d, 0xffffffff
jne 0x1400fcdc0
mov rcx, qword [rsp + 0x90]
mov r9, qword [rsp + 0x88]
mov eax, 0x10000000
mov r10, qword [rsp + 0xa8]
shl rsi, 4
sub rdi, rsi
add r14, rsi
add r15, rsi
cmp rdi, 0x10
jae 0x1400fcd50
mov ebx, dword [rsp + 0x80]
mov esi, listen
mov r8, qword [rsp + 0xa0]
test rdi, rdi
je 0x1400fced2
mov rax, qword [rsp + 0x98]
xor edx, edx
mov qword [rsp + 0x20], rcx
mov r8, rbp
mov rcx, rax
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov rdx, rax
call r10
mov rcx, qword [rsp + 0x90]
inc r13d
mov eax, r13d
shr eax, 0x18
mov byte [r12], al
mov eax, r13d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r13d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xf], r13b
test r13d, r13d
jne 0x1400fce99
nop dword [rax + rax]
movzx eax, byte [r12 - 1]
lea r12, [r12 - 1]
add ebp, eax
mov byte [r12], bpl
shr ebp, 8
add esi, 0xffffffff
jne 0x1400fce80
mov rdx, qword [rsp + 0x98]
nop dword [rax]
nop word [rax + rax]
mov ecx, ebx
inc ebx
movzx eax, byte [rcx + r15]
xor al, byte [rcx + rdx]
mov byte [rcx + r14], al
sub rdi, 1
jne 0x1400fceb0
mov rax, qword [rsp + 0xa0]
mov dword [rax], ebx
jmp 0x1400fced5
mov dword [r8], ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret