joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c8f80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x1401c8ffa
mov r11, rdx
mov rdx, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rbx, r11
movzx edi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x1401c8ff0
cmp r10, rax
jb 0x1401c908d
cmp r10, rdx
ja 0x1401c90a1
add rax, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1401c8ff2
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x1401c8fd0
jmp 0x1401c9062
ja 0x1401c8ffa
mov rax, r10
cmp r11, r8
jne 0x1401c8fa0
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1401c9066
mov rsi, qword [rsp + 0x78]
add rdx, rsi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea rbx, [rsi + 1]
movzx edi, byte [rsi]
test dil, dil
js 0x1401c9040
mov rsi, rbx
sub ecx, edi
jns 0x1401c9059
jmp 0x1401c9068
cmp rbx, rdx
je 0x1401c9073
movzx ebp, byte [rsi + 1]
add rsi, 2
and edi, 0x7f
shl edi, 8
or edi, ebp
sub ecx, edi
js 0x1401c9068
xor al, 1
cmp rsi, rdx
jne 0x1401c9020
jmp 0x1401c9068
xor eax, eax
jmp 0x1401c9068
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1402b78a9]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1401f29e0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, rax
mov rdx, r10
call fcn.1401f2e50
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1401f2e40
ud2

Function at 0x1401cbb70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
movsxd rbx, dword [0x1403061c8]
xor r8d, r8d
mov r11, rdx
mov eax, r8d
test rbx, rbx
jle 0x1401cbbf6
mov qword [rsp + 0x10], rdi
lea rdi, [0x140306090]
inc eax
and eax, 0x800000ff
jge 0x1401cbba5
dec eax
or eax, 0xffffff00
inc eax
movsxd r10, eax
movzx r9d, byte [r10 + rdi]
add r8d, r9d
and r8d, 0x800000ff
jge 0x1401cbbc6
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx ecx, byte [rdx + rdi]
mov byte [r10 + rdi], cl
mov byte [rdx + rdi], r9b
movzx ecx, byte [r10 + rdi]
add r9, rcx
movzx ecx, r9b
movzx ecx, byte [rcx + rdi]
xor byte [r11], cl
inc r11
sub rbx, 1
jne 0x1401cbb93
mov rdi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x1401cbe70
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1403041e0]
xor rax, rsp
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xorps xmm0, xmm0
lea rcx, [0x1402c72d0]
mov r15, rax
xor eax, eax
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9d, 0x18
lea r8, [rsp + 0x50]
mov rdx, rax
mov qword [rsp + 0x40], rax
mov rcx, r15
mov r12, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov rbp, qword [rsp + 0x50]
lea rcx, str.c:windows_system32_ntdll.dll
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov edx, 0x80000000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
lea r8d, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r8d, 0x1000002
mov r13, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea edx, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
movsxd rsi, dword [rbp + 0x3c]
movzx edi, bx
add rsi, rbp
mov r14, rax
cmp bx, word [rsi + 6]
jae 0x1401cc008
lea r8, [0x1402c7300]
xor r12d, r12d
movzx ecx, word [rsi + 0x14]
movzx eax, di
add rcx, rsi
lea rdx, [rax + rax*4]
mov rax, r12
lea rbx, [rcx + rdx*8]
nop word [rax + rax]
movzx ecx, byte [rbx + rax + 0x18]
inc rax
cmp cl, byte [r8 + rax - 1]
jne 0x1401cbff6
cmp rax, 6
jne 0x1401cbf90
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x68]
mov edx, dword [rbx + 0x20]
lea r8d, [rax + 0x3a]
add rcx, rbp
mov dword [rsp + 0x68], r12d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbx + 0x24]
mov r8d, dword [rbx + 0x20]
lea rdx, [rax + r14]
lea rcx, [rax + rbp]
call fcn.1401d84a0
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x68]
mov edx, dword [rbx + 0x20]
add rcx, rbp
mov r8d, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r8, [0x1402c7300]
inc di
cmp di, word [rsi + 6]
jb 0x1401cbf70
mov r12, qword [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401d68a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1401cc900
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x88
mov rax, qword [0x1403041e0]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [r8]
mov rdi, rcx
lea rcx, [rsp + 0x20]
movups xmm1, xmmword [r8 + 0x10]
mov rbx, rdx
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [r8 + 0x20]
movaps xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [r8 + 0x30]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
call fcn.1401cd430
xor r11d, r11d
test rbx, rbx
je 0x1401cca8f
mov qword [rsp + 0xa8], rbp
movabs rbp, 0xff000000ff00
mov qword [rsp + 0x80], rsi
mov esi, 0xffff0000
mov qword [rsp + 0x78], r14
movabs r14, 0xf000f000f000f0
mov qword [rsp + 0x70], r15
movabs r15, 0xffffffff00000000
nop dword [rax]
mov r10, qword [rsp + r11*8 + 0x40]
lea rdi, [rdi + 0x10]
mov r8, qword [rsp + r11*8 + 0x20]
mov rdx, r10
shl rdx, 0x20
and r10, r15
mov eax, r8d
inc r11
or rdx, rax
shr r8, 0x20
or r10, r8
mov rcx, rdx
shr rcx, 0x10
xor rcx, rdx
and rcx, rsi
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 8
xor rcx, rdx
and rcx, rbp
mov rax, rcx
shl rax, 8
xor rax, rcx
mov rcx, r10
xor rdx, rax
shr rcx, 0x10
xor rcx, r10
mov rax, rdx
shr rax, 4
and rcx, rsi
xor rax, rdx
and rax, r14
mov r9, rax
shl r9, 4
xor r9, rax
mov rax, rcx
shl rax, 0x10
xor r9, rdx
xor rax, rcx
mov qword [rdi - 0x10], r9
xor r10, rax
mov rcx, r10
shr rcx, 8
xor rcx, r10
and rcx, rbp
mov rax, rcx
shl rax, 8
xor rax, rcx
xor r10, rax
mov rcx, r10
shr rcx, 4
xor rcx, r10
and rcx, r14
mov rax, rcx
shl rax, 4
xor rax, rcx
xor rax, r10
mov qword [rdi - 8], rax
cmp r11, rbx
jb 0x1401cc9a0
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401d68a0
add rsp, 0x88
pop rdi
pop rbx
ret
Function at 0x1401ccd30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rdi, rcx
mov dword [rcx + 0xf0], setsockopt
lea rcx, [rbp - 0x29]
movaps xmmword [rax - 0x38], xmm6
mov rbx, rdx
call fcn.1401cc550
movups xmm0, xmmword [rbp - 0x29]
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 0x39]
movups xmmword [rdi], xmm0
call fcn.1401cc550
movdqu xmm6, xmmword [rbp - 0x39]
mov ebx, 2
lea r15, [0x140284b00]
movabs rsi, 0xf000000000000
movups xmmword [rdi + 0x10], xmm6
add rdi, 0x20
xor r14d, r14d
lea r12d, [rbx + 0x2e]
lea r13d, [rbx + 0xe]
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
mov qword [rbp - 0x11], r14
movdqu xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x19]
xorps xmm1, xmm1
mov qword [rbp + 0xf], r14
movdqa xmm0, xmm6
movdqu xmmword [rbp + 0x17], xmm1
psrldq xmm0, 8
movq qword [rbp + 7], xmm0
movq qword [rbp - 0x19], xmm6
call fcn.1401cd430
lea rcx, [rbp - 0x19]
call fcn.1401ccf60
lea rcx, [rbp - 0x19]
call fcn.1401cd430
mov rax, qword [rbp - 0x19]
mov rcx, rbx
mov qword [rbp - 0x39], rax
mov rax, qword [rbp + 7]
shr rcx, 1
mov qword [rbp - 0x31], rax
mov rax, r14
movzx r9d, byte [rcx + r15 - 1]
nop word [rax + rax]
mov rdx, qword [rbp + rax*8 - 0x39]
movzx ecx, al
shl cl, 2
mov r8, r9
shr r8, cl
mov rcx, rdx
shr rcx, 0x10
and r8d, 0xf
and rdx, rsi
or rcx, rdx
shr rcx, 0x24
xor r8, rcx
xor r8, qword [rbp + rax*8 - 0x29]
mov rcx, r8
shl rcx, 0x10
xor rcx, r8
shl rcx, 0x10
xor rcx, r8
shl rcx, 0x10
xor rcx, r8
mov qword [rbp + rax*8 - 0x29], rcx
inc rax
cmp rax, 2
jb 0x1401cce30
movups xmm2, xmmword [rbp - 0x29]
movups xmmword [rdi], xmm2
cmp rbx, 0xe
je 0x1401ccf39
movq qword [rbp - 0x19], xmm2
lea rcx, [rbp - 0x19]
psrldq xmm2, 8
xorps xmm0, xmm0
xorps xmm1, xmm1
movq qword [rbp + 7], xmm2
mov qword [rbp - 0x11], r14
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 0xf], r14
movdqu xmmword [rbp + 0x17], xmm1
call fcn.1401cd430
lea rcx, [rbp - 0x19]
call fcn.1401ccf60
lea rcx, [rbp - 0x19]
call fcn.1401cd430
mov rax, qword [rbp - 0x19]
movq xmm2, r12
mov qword [rbp - 0x39], rax
movq xmm0, r13
mov rax, qword [rbp + 7]
add rbx, 2
mov qword [rbp - 0x31], rax
mov eax, 0x20
movdqu xmm3, xmmword [rbp - 0x39]
psrlq xmm3, xmm2
xorps xmm3, xmm6
movdqa xmm6, xmm3
movdqa xmm1, xmm3
psllq xmm6, xmm0
movq xmm0, rax
xorps xmm6, xmm3
psllq xmm1, xmm0
psllq xmm3, xmm2
xorps xmm6, xmm1
xorps xmm6, xmm3
movups xmmword [rdi + 0x10], xmm6
add rdi, rax
cmp rbx, 0xe
jbe 0x1401ccdc0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1401cd2c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
xorps xmm0, xmm0
xor esi, esi
mov rbx, r8
mov rdi, rdx
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
test r8, r8
je 0x1401cd417
mov qword [rsp + 0x40], rbp
movabs rbp, 0xf000f000f000f0
mov qword [rsp + 0x48], r12
movabs r12, 0xffffffff00000000
mov qword [rsp + 0x50], r14
movabs r14, 0xff000000ff00
mov qword [rsp + 0x58], r15
mov r15d, 0xffff0000
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdi]
mov r10, qword [rdi + 8]
lea rdi, [rdi + 0x10]
mov rax, rdx
shr rax, 4
xor rax, rdx
and rax, rbp
mov r8, rax
shl r8, 4
xor r8, rax
xor r8, rdx
mov rdx, r8
shr rdx, 8
xor rdx, r8
and rdx, r14
mov rax, rdx
shl rax, 8
xor rax, rdx
xor r8, rax
mov rax, r8
shr rax, 0x10
xor rax, r8
and rax, r15
mov r11, rax
shl r11, 0x10
xor r11, rax
mov rax, r10
shr rax, 4
xor r11, r8
xor rax, r10
and rax, rbp
mov r9, rax
shl r9, 4
xor r9, rax
xor r9, r10
mov rdx, r9
shr rdx, 8
xor rdx, r9
and rdx, r14
mov rax, rdx
shl rax, 8
xor rax, rdx
xor r9, rax
mov rax, r9
shr rax, 0x10
xor rax, r9
and rax, r15
mov r8, rax
shl r8, 0x10
xor r8, rax
mov eax, r11d
xor r8, r9
shr r11, 0x20
mov rdx, r8
and r8, r12
shl rdx, 0x20
or r11, r8
or rdx, rax
mov qword [rcx + rsi*8 + 0x20], r11
mov qword [rcx + rsi*8], rdx
inc rsi
cmp rsi, rbx
jb 0x1401cd330
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp fcn.1401cd430
Function at 0x1401cd570
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1401cd76a
mov r11, rsp
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x4c0
mov rax, qword [0x1403041e0]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rbp, qword [rsp + 0x510]
mov rdi, r9
mov qword [r11 + 0x18], rbx
mov r15, r8
mov qword [r11 - 0x30], rsi
lea rbx, [rsp + 0x68]
mov qword [r11 - 0x38], r13
mov r12, rdx
lea r13, [r9 + 0xf0]
mov r14, rcx
xor esi, esi
nop dword [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbx - 8]
movq xmm0, qword [rdi + 8]
mov qword [rcx], rdx
unpcklpd xmm0, xmm0
movups xmmword [rbx + 0x18], xmm0
mov qword [rbx], rdx
mov qword [rbx + 8], rdx
movups xmmword [rbx + 0x28], xmm0
mov qword [rbx + 0x10], rdx
call fcn.1401cd430
mov eax, dword [r13]
lea rdi, [rdi + 0x10]
inc rsi
lea rbx, [rbx + 0x40]
cmp rsi, rax
jbe 0x1401cd5d0
movups xmm0, xmmword [rbp]
lea rcx, [rsp + 0x420]
mov ebp, 4
lea rbx, [rsp + 0x460]
movups xmmword [rcx], xmm0
mov rax, qword [rcx]
sub rbx, r14
mov qword [rcx + 0x10], rax
mov rax, qword [rcx + 8]
mov qword [rcx + 0x18], rax
mov rax, qword [rcx + 0x10]
mov qword [rcx + 0x20], rax
mov rax, qword [rcx + 0x18]
mov qword [rcx + 0x28], rax
mov rax, qword [rcx + 0x20]
mov qword [rcx + 0x30], rax
mov rax, qword [rcx + 0x28]
mov qword [rcx + 0x38], rax
mov edi, dword [rsp + 0x42c]
bswap edi
nop word [rax + rax]
xor ecx, ecx
lea rdx, [rsp + 0x42c]
nop word [rax + rax]
lea eax, [rcx + rdi]
inc rcx
lea rdx, [rdx + 0x10]
bswap eax
mov dword [rdx - 0x10], eax
cmp rcx, rbp
jb 0x1401cd680
cmp r15, rbp
lea rdx, [rsp + 0x420]
mov rsi, r15
lea rcx, [rsp + 0x20]
cmovae rsi, rbp
mov r8, rsi
call fcn.1401cd2c0
mov edx, dword [r13]
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1401cc650
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x460]
call fcn.1401cc900
test rsi, rsi
je 0x1401cd71b
mov r8, r12
mov rax, r14
sub r8, r14
mov r9, rsi
nop dword [rax]
mov edx, 2
nop word [rax + rax]
mov rcx, qword [rbx + rax]
xor rcx, qword [rax]
mov qword [r8 + rax], rcx
add rax, 8
sub rdx, 1
jne 0x1401cd700
sub r9, 1
jne 0x1401cd6f0
sub r15, rsi
je 0x1401cd733
add r14, 0x40
sub rbx, 0x40
add r12, 0x40
add edi, ebp
jmp 0x1401cd670
mov rsi, qword [rsp + 0x4b8]
mov rbx, qword [rsp + 0x500]
mov r13, qword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1401d68a0
add rsp, 0x4c0
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1401cd850
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rdi, r8
cmp edx, 0x80
je 0x1401cd8a4
cmp edx, 0x100
je 0x1401cd886
mov eax, 1
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
mov rdx, rcx
mov rcx, rdi
call fcn.1401ccd30
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
mov qword [rsp + 0x90], rbp
mov rdx, rcx
mov qword [rsp + 0x98], rsi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0xa0], r14
mov dword [r8 + 0xf0], 0xa
call fcn.1401cc550
movups xmm2, xmmword [rsp + 0x20]
mov ebx, 1
lea r14, [0x140284b00]
movabs rbp, 0xf000000000000
movups xmmword [rdi], xmm2
add rdi, 0x10
xor esi, esi
nop dword [rax + rax]
movq qword [rsp + 0x40], xmm2
lea rcx, [rsp + 0x40]
psrldq xmm2, 8
xorps xmm0, xmm0
xorps xmm1, xmm1
movq qword [rsp + 0x60], xmm2
mov qword [rsp + 0x48], rsi
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], rsi
movdqa xmmword [rsp + 0x70], xmm1
call fcn.1401cd430
lea rcx, [rsp + 0x40]
call fcn.1401ccf60
lea rcx, [rsp + 0x40]
call fcn.1401cd430
mov rax, qword [rsp + 0x40]
movzx r9d, byte [rbx + r14 - 1]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rax, rsi
nop dword [rax + rax]
mov rdx, qword [rsp + rax*8 + 0x30]
movzx ecx, al
shl cl, 2
mov r8, r9
shr r8, cl
mov rcx, rdx
shr rcx, 0x10
and r8d, 0xf
and rdx, rbp
or rcx, rdx
shr rcx, 0x24
xor r8, rcx
xor r8, qword [rsp + rax*8 + 0x20]
mov rcx, r8
shl rcx, 0x10
xor rcx, r8
shl rcx, 0x10
xor rcx, r8
shl rcx, 0x10
xor rcx, r8
mov qword [rsp + rax*8 + 0x20], rcx
inc rax
cmp rax, 2
jb 0x1401cd970
movups xmm2, xmmword [rsp + 0x20]
inc rbx
movups xmmword [rdi], xmm2
add rdi, 0x10
cmp rbx, 0xa
jbe 0x1401cd900
mov r14, qword [rsp + 0xa0]
xor eax, eax
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x1401cda10
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
xor r10d, r10d
mov r11, rcx
test r8, r8
je 0x1401cdac6
sub rdx, rcx
cmp r8, 0x20
jb 0x1401cdaac
mov rcx, r8
lea rax, [r11 + 0x10]
and rcx, 0xffffffffffffffe0
xorps xmm3, xmm3
xorps xmm2, xmm2
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x20
movdqu xmm1, xmmword [rdx + rax - 0x10]
lea rax, [rax + 0x20]
xorps xmm1, xmm0
orps xmm3, xmm1
movdqu xmm1, xmmword [rdx + rax - 0x20]
movdqu xmm0, xmmword [rax - 0x20]
xorps xmm1, xmm0
orps xmm2, xmm1
cmp r10, rcx
jb 0x1401cda40
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 2
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 1
orps xmm2, xmm0
movd r9d, xmm2
cmp r10, r8
jae 0x1401cdac6
lea rax, [r10 + r11]
sub r8, r10
movzx ecx, byte [rdx + rax]
xor cl, byte [rax]
lea rax, [rax + 1]
or r9b, cl
sub r8, 1
jne 0x1401cdab3
movzx eax, r9b
ret
Function at 0x1401d0f10
Capabilities:
Encrypt data using curve25519

Disassembly:
movzx eax, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x1401d3390
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
mov r10, rcx
mov rax, 0xffffffffffffffff
test r8, r8
je 0x1401d33d9
sub r10, rdx
nop word [rax + rax]
mov rcx, qword [r10 + r9]
xor rcx, qword [r9]
lea r9, [r9 + 8]
lea rdx, [rcx - 1]
not rcx
shr rdx, 0x3f
shr rcx, 0x3f
and rdx, rcx
neg rdx
and rax, rdx
sub r8, 1
jne 0x1401d33b0
ret
Function at 0x1401d6350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor eax, eax
mov r11, rcx
mov r10d, 1
movabs rdi, 0x8000000000000000
lea ebx, [rax + 0x20]
nop dword [rax]
nop word [rax + rax]
shr rax, 1
mov r9, r10
and r9d, 1
neg r9
mov rdx, r9
and r9, rdi
add r9, rax
and rdx, r11
mov r8, rdx
shr r9, 1
xor r8, r10
and rdx, r10
shr r8, 1
add r8, rdx
mov rax, r8
and eax, 1
neg rax
mov rcx, rax
and rax, rdi
and rcx, r11
add rax, r9
mov r10, rcx
and rcx, r8
xor r10, r8
shr r10, 1
add r10, rcx
sub rbx, 1
jne 0x1401d6380
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1401d6edc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401d6f26
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401d6f26
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401d6f26
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401d6f26
cmp dword [rcx + 0x84], 0xe
jbe 0x1401d6f26
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401d6f28
xor al, al
add rsp, 0x28
ret

Function at 0x1401dde54
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401ddc50
Function at 0x1401e1184
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401e11b4
xor eax, eax
jmp 0x1401e1277
mov rbp, rbx
cmp word [rax], si
je 0x1401e11d9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401e11c0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401e11bc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1401e10a4
movsxd r14, eax
test eax, eax
jne 0x1401e1217
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401e11ad
mov rcx, r14
call fcn.1401df5b0
mov rdi, rax
test rax, rax
jne 0x1401e1230
xor ecx, ecx
call fcn.1401df610
jmp 0x1401e120c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1401e10a4
test eax, eax
jne 0x1401e1261
mov rcx, rdi
call fcn.1401df610
jmp 0x1401e126b
xor ecx, ecx
call fcn.1401df610
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1401e41b0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1401e0174
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401e423a
cmp byte [rbp - 0x21], r15b
je 0x1401e4235
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401e4270
call fcn.1401deb64
test eax, eax
jne 0x1401e425c
cmp byte [rbp - 0x21], r15b
je 0x1401e4254
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401e4270
cmp byte [rbp - 0x21], r15b
je 0x1401e426d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401df754
test eax, eax
jne 0x1401e4310
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401e0174
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401e42af
cmp byte [rbp - 0x21], r15b
je 0x1401e42e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401e42e4
call fcn.1401deb64
test eax, eax
jne 0x1401e42d0
cmp byte [rbp - 0x21], r15b
je 0x1401e42c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401e42e4
cmp byte [rbp - 0x21], r15b
je 0x1401e42e1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401df754
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401e4310
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401e4313
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401e4321
mov rcx, rdi
call fcn.1401df610
cmp byte [rbp + 0x3f], r15b
je 0x1401e4330
mov rcx, qword [rbp + 0x27]
call fcn.1401df610
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401f1a30
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401bf180
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401f1a8b
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1401f1b04
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140001160
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1401f1b11
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x1401f1b04
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140001160
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x1401f1af3
jmp 0x1401f1b04

Function at 0x140ebd45c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140ebd466
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140ebd48f
pop rbp
sub rbp, 0x33
sub rbp, 0xebd45c
sub rsp, 0x20
jmp 0x140ebd4ae
mov rax, 0xebd45c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff8be483df
and esp, 0xffffff8b
xor byte [rax], dl
inc rax
dec rcx
jne 0x140ebd4cd
jmp 0x140ebd4e4
xchg edi, eax
push rsi
push rsp
push rsi
jrcxz 0x140ebd4ca
invalid