joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401802dc
Capabilities:
Create thread
Print debug messages

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, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.140177034
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x14018032f
test rbx, rbx
je 0x140180320
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x14018032f
mov edi, 4
jmp 0x1401803d8
call fcn.140176ddc
test al, al
jne 0x14018034c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x1401803d8
test bpl, bpl
je 0x1401803af
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x140180180]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401803d8
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x1401803a9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1401803d8
mov edi, dword [rsp + 0x44]
jmp 0x1401803a1
call fcn.140176f60
test al, al
jne 0x1401803c0
bts esi, 0x15
xor ecx, ecx
jmp 0x1401803c8
call fcn.140176e98
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.140176c14
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x140188dd0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor edi, edi
mov rbp, rcx
mov ecx, dword [rsp + 0x70]
mov ebx, edi
mov r14d, edi
mov esi, edi
mov r15, r9
call fcn.140188d40
movabs rax, 0xaaaaaaaaaaaaaaab
mov rcx, r15
mul r15
shr rdx, 1
lea rax, [rdx + rdx*2]
lea r12, [rdx*4]
sub rcx, rax
je 0x140188e43
test byte [rsp + 0x70], 2
jne 0x140188e39
add r12, 4
jmp 0x140188e43
shr rcx, 1
add r12, 2
add r12, rcx
cmp qword [rsp + 0x58], r12
ja 0x140188e4f
call fcn.140188830
test byte [rsp + 0x70], 4
je 0x140188ed5
test r15, r15
je 0x140188f45
mov r11, qword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r14 + r11]
add rdi, 8
shl esi, 8
inc r14
add esi, eax
cmp rdi, 6
jb 0x140188eb1
nop word [rax + rax]
mov eax, esi
sub rdi, 6
mov rcx, rdi
shr eax, cl
and eax, 0x3f
mov ecx, eax
call fcn.1401889b0
mov byte [rbx + rbp], al
inc rbx
cmp rdi, 6
jae 0x140188e90
cmp r14, r15
jb 0x140188e70
test rdi, rdi
je 0x140188f45
mov ecx, 6
sub cl, dil
shl esi, cl
and esi, 0x3f
mov ecx, esi
call fcn.1401889b0
jmp 0x140188f3f
test r15, r15
je 0x140188f45
mov r11, qword [rsp + 0x60]
nop
movzx eax, byte [r14 + r11]
add rdi, 8
shl esi, 8
inc r14
add esi, eax
cmp rdi, 6
jb 0x140188f21
nop word [rax + rax]
mov eax, esi
sub rdi, 6
mov rcx, rdi
shr eax, cl
and eax, 0x3f
mov ecx, eax
call fcn.140188940
mov byte [rbx + rbp], al
inc rbx
cmp rdi, 6
jae 0x140188f00
cmp r14, r15
jb 0x140188ee0
test rdi, rdi
je 0x140188f45
mov ecx, 6
sub cl, dil
shl esi, cl
and esi, 0x3f
mov ecx, esi
call fcn.140188940
mov byte [rbx + rbp], al
inc rbx
cmp rbx, r12
jae 0x140188f5e
sub r12, rbx
lea rdi, [rbx + rbp]
mov rcx, r12
mov eax, 0x3d
rep stosb byte [rdi], al
add rbx, r12
mov rax, qword [rsp + 0x58]
mov byte [rbx + rbp], 0
inc rbx
cmp rbx, rax
jb 0x140188f63
mov rbx, qword [rsp + 0x50]
mov rax, rbp
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140189b50
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
lea r9, [rsp + 0x40]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
test eax, eax
sete cl
neg ecx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140189b80
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
lea r9, [rsp + 0x40]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
test eax, eax
sete cl
neg ecx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140189bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
lea r9, [rsp + 0x40]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
test eax, eax
sete cl
neg ecx
mov eax, ecx
add rsp, 0x28
ret
Function at 0x140189c00
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [0x1406f7b20], rax
cmp rax, 0xf
ja 0x140189c25
call fcn.140188830
mov edx, reloc.WS2_32.dll_recv
lea rcx, [0x1406f7b28]
call fcn.140189700
xor eax, eax
add rsp, 0x58
ret

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

Disassembly:
mov qword [rsp + 0x18], rcx
xor r9d, r9d
mov qword [rsp + 0x10], rdx
mov r10, r8
mov byte [rsp + 8], 0
test r8, r8
je 0x14018a07b
nop word [rax + rax]
mov rax, qword [rsp + 0x10]
movzx ecx, byte [rax + r9]
mov rax, qword [rsp + 0x18]
movzx r8d, byte [rax + r9]
inc r9
movzx eax, byte [rsp + 8]
xor r8d, ecx
or eax, r8d
mov byte [rsp + 8], al
cmp r9, r10
jb 0x14018a050
movzx eax, byte [rsp + 8]
dec eax
sar eax, 8
and eax, 1
dec eax
ret

Function at 0x14018b1b0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x1406e7d50]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rbx, qword [rbp + 0x1c0]
mov r13, rdx
mov edx, dword [rbp + 0x1c8]
mov r14, rcx
lea rcx, [rsp + 0x20]
mov r12, r9
mov r15, r8
call fcn.14018b360
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp + 0x90]
mov rdx, rbx
call fcn.14019b2f0
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.14019b420
mov r8, r12
lea rcx, [rsp + 0x20]
mov rdx, r15
call fcn.14019b420
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14019b360
lea rdx, [rbx + 0x20]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [r14 + 0x20]
call fcn.14011c9b0
lea rcx, [rbp + 0xd0]
call fcn.1401a2740
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x10]
call fcn.14019fff0
lea rdx, [rbp - 0x10]
mov rcx, r14
call fcn.14019fbe0
mov edx, dword [rbp + 0x1c8]
lea rcx, [rsp + 0x20]
call fcn.14018b360
mov r8d, 0x40
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.14019b420
mov r8, r12
lea rcx, [rsp + 0x20]
mov rdx, r15
call fcn.14019b420
lea rdx, [rbp + 0x110]
lea rcx, [rsp + 0x20]
call fcn.14019b360
lea rcx, [rbp + 0x110]
call fcn.1401a2740
movzx eax, byte [rbp + 0xaf]
lea r9, [rbp + 0xd0]
and byte [rbp + 0x90], 0xf8
lea r8, [rbp + 0x90]
and al, 0x3f
lea rdx, [rbp + 0x110]
or al, 0x40
lea rcx, [r14 + 0x20]
mov byte [rbp + 0xaf], al
call fcn.1401a0a70
mov edx, 0x40
lea rcx, [rbp + 0x90]
call fcn.14018a090
mov edx, 0x40
lea rcx, [rbp + 0xd0]
call fcn.14018a090
xor eax, eax
test r13, r13
je 0x14018b33e
mov qword [r13], 0x40
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400ec520
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
Function at 0x14018b860
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1406e7d50]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov rdx, rbx
mov rcx, rdi
mov r8d, reloc.WLDAP32.dll_Ordinal_32
call fcn.14019b2f0
and byte [rdi + 0x1f], 0x3f
lea rcx, [rsp + 0x20]
and byte [rdi], 0xf8
mov rdx, rdi
or byte [rdi + 0x1f], 0x40
call fcn.14019fff0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14019fbe0
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, rbx
mov rcx, rdi
call fcn.14011c9b0
lea rcx, [rdi + 0x20]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, rsi
call fcn.14011c9b0
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400ec520
add rsp, 0xd0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14018c4c0
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rax, rdx
test r9, r9
jne 0x14018c4f6
mov ebx, 0x79622d32
mov r10d, 0x61707865
mov r11d, 0x3320646e
mov r9d, 0x6b206574
jmp 0x14018c505
mov r10d, dword [r9]
mov r11d, dword [r9 + 4]
mov ebx, dword [r9 + 8]
mov r9d, dword [r9 + 0xc]
mov ecx, dword [r8 + 0x18]
mov edx, dword [r8 + 0x14]
mov r14d, dword [r8]
mov r15d, dword [r8 + 4]
mov r12d, dword [r8 + 8]
mov ebp, dword [r8 + 0xc]
mov r13d, dword [r8 + 0x10]
mov edi, dword [rax + 8]
mov esi, dword [rax + 0xc]
mov dword [rsp + 0x68], ecx
mov ecx, dword [r8 + 0x1c]
mov r8d, dword [rax + 4]
mov dword [rsp + 0x78], edx
mov edx, dword [rax]
mov dword [rsp + 0x70], ecx
mov ecx, dword [rsp + 0x78]
mov qword [rsp + 8], 0xa
nop dword [rax]
lea eax, [rcx + r10]
rol eax, 7
xor ebp, eax
lea eax, [r10 + rbp]
rol eax, 9
xor edi, eax
lea eax, [rdi + rbp]
rol eax, 0xd
xor ecx, eax
lea eax, [rdi + rcx]
ror eax, 0xe
xor r10d, eax
lea eax, [r14 + r11]
rol eax, 7
xor esi, eax
lea eax, [rsi + r11]
rol eax, 9
xor dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
add eax, esi
rol eax, 0xd
xor r14d, eax
mov eax, dword [rsp + 0x68]
add eax, r14d
ror eax, 0xe
xor r11d, eax
lea eax, [rdx + rbx]
rol eax, 7
xor dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
add eax, ebx
rol eax, 9
xor r15d, eax
mov eax, dword [rsp + 0x70]
add eax, r15d
rol eax, 0xd
xor edx, eax
lea eax, [rdx + r15]
ror eax, 0xe
xor ebx, eax
lea eax, [r9 + r13]
rol eax, 7
xor r12d, eax
lea eax, [r12 + r9]
rol eax, 9
xor r8d, eax
lea eax, [r8 + r12]
rol eax, 0xd
xor r13d, eax
lea eax, [r8 + r13]
ror eax, 0xe
xor r9d, eax
lea eax, [r12 + r10]
rol eax, 7
xor r14d, eax
mov dword [rsp], r14d
lea eax, [r14 + r10]
rol eax, 9
xor r15d, eax
lea eax, [r15 + r14]
rol eax, 0xd
xor r12d, eax
lea eax, [r12 + r15]
ror eax, 0xe
xor r10d, eax
lea eax, [r11 + rbp]
rol eax, 7
xor edx, eax
lea eax, [rdx + r11]
rol eax, 9
xor r8d, eax
lea eax, [r8 + rdx]
rol eax, 0xd
xor ebp, eax
lea eax, [r8 + rbp]
ror eax, 0xe
xor r11d, eax
lea eax, [rsi + rbx]
rol eax, 7
xor r13d, eax
lea eax, [rbx + r13]
mov r14d, dword [rsp + 0x70]
rol eax, 9
xor edi, eax
lea eax, [rdi + r13]
rol eax, 0xd
xor esi, eax
lea eax, [rsi + rdi]
ror eax, 0xe
xor ebx, eax
mov eax, dword [rsp + 0x70]
add eax, r9d
rol eax, 7
xor ecx, eax
lea eax, [rcx + r9]
rol eax, 9
xor dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
add eax, ecx
rol eax, 0xd
xor r14d, eax
mov eax, dword [rsp + 0x68]
add eax, r14d
mov dword [rsp + 0x70], r14d
mov r14d, dword [rsp]
ror eax, 0xe
xor r9d, eax
sub qword [rsp + 8], 1
jne 0x14018c550
mov rcx, qword [rsp + 0x60]
xor eax, eax
mov dword [rcx], r10d
mov dword [rcx + 4], r11d
mov dword [rcx + 8], ebx
mov dword [rcx + 0xc], r9d
mov dword [rcx + 0x10], edx
mov dword [rcx + 0x14], r8d
mov dword [rcx + 0x18], edi
mov dword [rcx + 0x1c], esi
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14018c730
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14018c7b0
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x14018c754
call fcn.140188830
mov edx, ebx
mov rcx, rdi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x14018c767
call fcn.140188830
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14018ce10
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movabs rax, 0x6a09e667f3bcc908
mov rbx, rdx
mov qword [rcx], rax
mov rdi, rcx
movabs rax, 0xbb67ae8584caa73b
xor edx, edx
mov qword [rcx + 8], rax
mov r8d, Ordinal_301
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
add rcx, 0x40
call fcn.14011d670
mov rax, qword [rbx]
xor qword [rdi], rax
mov rax, qword [rbx + 8]
xor qword [rdi + 8], rax
mov rax, qword [rbx + 0x10]
xor qword [rdi + 0x10], rax
mov rax, qword [rbx + 0x18]
xor qword [rdi + 0x18], rax
mov rax, qword [rbx + 0x20]
xor qword [rdi + 0x20], rax
mov rax, qword [rbx + 0x28]
xor qword [rdi + 0x28], rax
mov rax, qword [rbx + 0x30]
xor qword [rdi + 0x30], rax
mov rax, qword [rbx + 0x38]
xor qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140193d70
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x2c], eax
ret
Function at 0x140195850
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x2c], eax
ret
Function at 0x140196a60
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x2c], eax
ret
Function at 0x140198410
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x3c], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x30], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x38], eax
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
ret
Function at 0x14019a200
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x3c], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x30], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x38], eax
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
ret

Function at 0x14019ea50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x1406e7d50]
xor rax, rsp
mov qword [rsp + 8], rax
xor eax, eax
lea r15, [0x140424020]
mov dword [rsp + 1], eax
xor r8b, r8b
movzx r11d, byte [rsp + 4]
mov r14, rcx
movzx ebx, byte [rsp + 3]
mov rbp, rcx
movzx edi, byte [rsp + 2]
sub r14, r15
mov word [rsp + 5], ax
movzx r10d, al
movzx r9d, byte [rsp + 6]
movzx esi, al
nop dword [rax]
nop word [rax + rax]
lea rcx, [r14 + rax]
movzx edx, byte [rcx + r15]
movzx ecx, byte [rax + r15]
xor cl, dl
or r8b, cl
movzx ecx, byte [rax + r15 + 0x20]
xor cl, dl
or sil, cl
movzx ecx, byte [rax + r15 + 0x40]
xor cl, dl
or dil, cl
movzx ecx, byte [rax + r15 + 0x60]
xor cl, dl
or bl, cl
movzx ecx, byte [rax + r15 + 0x80]
xor cl, dl
or r11b, cl
movzx ecx, byte [rax + r15 + 0xa0]
xor cl, dl
or r10b, cl
movzx ecx, byte [rax + r15 + 0xc0]
xor cl, dl
inc rax
or r9b, cl
cmp rax, 0x1f
jb 0x14019eac0
movzx edx, byte [rax + rbp]
movzx ecx, byte [rax + r15]
and dl, 0x7f
xor cl, dl
or r8b, cl
movzx ecx, byte [rax + r15 + 0x20]
xor cl, dl
or sil, cl
movzx ecx, byte [rax + r15 + 0x40]
xor cl, dl
or dil, cl
movzx ecx, byte [rax + r15 + 0x60]
xor cl, dl
or bl, cl
movzx ecx, byte [rax + r15 + 0x80]
xor cl, dl
or r11b, cl
movzx ecx, byte [rax + r15 + 0xa0]
xor cl, dl
or r10b, cl
movzx ecx, byte [rax + r15 + 0xc0]
xor cl, dl
movzx eax, bl
dec eax
movzx edx, dil
or r9b, cl
dec edx
or edx, eax
movzx ecx, r9b
dec ecx
movzx eax, r11b
dec eax
or edx, eax
movzx eax, r10b
dec eax
or eax, edx
or eax, ecx
movzx ecx, sil
dec ecx
or eax, ecx
movzx ecx, r8b
dec ecx
or eax, ecx
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1400ec520
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x1401a0a10
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov qword [rsp + 8], rbx
xor r9b, r9b
lea r8, [0x140424120]
sub rcx, r8
mov r10b, 1
mov r11d, reloc.WLDAP32.dll_Ordinal_32
lea rbx, [rcx + 0x20]
nop
movzx edx, byte [rbx + r8 - 1]
lea r8, [r8 - 1]
movzx ecx, byte [r8]
mov eax, edx
sub eax, ecx
xor edx, ecx
sar eax, 8
dec edx
and al, r10b
sar edx, 8
or r9b, al
and r10b, dl
add r11d, 0xffffffff
jne 0x1401a0a30
mov rbx, qword [rsp + 8]
xor eax, eax
test r9b, r9b
setne al
ret

Function at 0x1401a3680
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx edx, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx ecx, byte [rcx + rax]
inc rax
xor ecx, edx
or dword [rsp + 8], ecx
cmp rax, 0x10
jl 0x1401a3690
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret

Function at 0x1401a36d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx edx, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx ecx, byte [rcx + rax]
inc rax
xor ecx, edx
or dword [rsp + 8], ecx
cmp rax, 0x20
jl 0x1401a36e0
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret
Function at 0x1401ab8d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp + 7], 0xfffffffffffffffe
mov r14, rdx
mov r15, rcx
xor r13d, r13d
mov dword [rbp - 0x39], r13d
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rcx + 0x10], r13
cmp qword [rcx + 0x18], 0x10
jb 0x1401ab91d
mov rax, qword [rcx]
jmp 0x1401ab920
mov rax, r15
mov byte [rax], r13b
mov dword [rbp - 0x39], 1
mov dword [rbp - 0x40], 0x382d46
mov word [rbp - 0x49], 0x2c72
mov word [rbp - 0x46], 0x6363
mov word [rbp - 0x43], 0x553d
mov byte [rbp - 0x41], 0x54
mov byte [rbp - 0x44], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x47], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp + 0x77], r13
cmp qword [rdx + 0x18], 0x10
jb 0x1401ab95d
mov rdx, qword [rdx]
lea r8, [rbp - 0x49]
lea rcx, [rbp + 0x77]
call fcn.14015c034
test eax, eax
jne 0x1401aba93
xor edx, edx
lea r8d, [rax + 2]
mov rcx, qword [rbp + 0x77]
call fcn.140159750
mov rcx, qword [rbp + 0x77]
call fcn.14015cd2c
movsxd rsi, eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x77]
call fcn.140159750
lea ecx, [rsi + 1]
movsxd rbx, ecx
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.14000525c
nop
mov rdx, qword [rbp - 0x29]
sub rdx, qword [rbp - 0x31]
sar rdx, 1
add rdx, rdx
mov rax, qword [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8d, 2
mov rcx, qword [rbp - 0x31]
call fcn.14015c64c
mov rdx, rbx
lea rcx, [rbp + 0xf]
call fcn.1400052ec
nop
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], esi
mov rbx, qword [rbp + 0xf]
mov qword [rsp + 0x20], rbx
or r9d, 0xffffffff
mov r8, qword [rbp - 0x31]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov qword [rbp - 9], r13
mov byte [rbp - 0x19], r13b
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.14000d058
lea rdx, [rbp - 0x19]
mov rcx, r15
call fcn.140005908
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x1401aba58
inc rdx
mov r8d, 1
mov rcx, qword [rbp - 0x19]
call fcn.14000ce04
nop
test rbx, rbx
je 0x1401aba73
mov rdx, qword [rbp + 0x1f]
sub rdx, rbx
mov r8d, 1
mov rcx, rbx
call fcn.14000ce04
nop
cmp qword [rbp - 0x31], r13
je 0x1401aba93
mov rdx, qword [rbp - 0x21]
sub rdx, qword [rbp - 0x31]
sar rdx, 1
mov r8d, 2
mov rcx, qword [rbp - 0x31]
call fcn.14000ce04
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1401abaa2
call fcn.140158de0
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1401ababd
inc rdx
mov r8d, 1
mov rcx, qword [r14]
call fcn.14000ce04
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r14 + 0x10], r13
cmp qword [r14 + 0x18], 0x10
jb 0x1401abad3
mov r14, qword [r14]
mov byte [r14], r13b
mov rax, r15
add rsp, 0xb0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret