joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18009bd30
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x20
call fcn.18017e6d0
sub rsp, rax
mov rbx, r8
call fcn.18009b740
test eax, eax
js 0x18009bf6e
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x18009bdb9
lea rdx, [rbx + r9*4 + 8]
lea r8, [rbx + 8]
nop dword [rax + rax]
mov eax, dword [rdx - 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
mov ecx, dword [r8 + 4]
mov dword [r8 + 4], eax
sub r9, 4
mov dword [rdx + 4], ecx
sub rdx, 0x10
add r8, 0x10
cmp r10, r9
jl 0x18009bd70
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x18009bf6c
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x180000000]
nop dword [rax]
mov r8d, dword [r10 + 0xe]
add r10, 0x10
inc r11d
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x1da080]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0x1da080]
mov r9d, dword [rdi + rdx*4 + 0x1dac80]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x1db480]
movzx ecx, byte [rdi + rax*4 + 0x1da080]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x1db880]
movzx ecx, byte [rdi + rax*4 + 0x1da080]
xor r9d, dword [rdi + rcx*4 + 0x1db080]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x1da080]
movzx eax, byte [r10 + 3]
movzx ecx, byte [rdi + rax*4 + 0x1da080]
mov r8d, dword [rdi + rdx*4 + 0x1dac80]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x1db480]
movzx ecx, byte [rdi + rax*4 + 0x1da080]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x1db080]
movzx ecx, byte [rdi + rax*4 + 0x1da080]
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x1db880]
mov eax, r9d
mov dword [r10 + 2], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x1da080]
movzx eax, byte [r10 + 7]
movzx ecx, byte [rdi + rax*4 + 0x1da080]
mov r8d, dword [rdi + rdx*4 + 0x1dac80]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x1db480]
movzx ecx, byte [rdi + rax*4 + 0x1da080]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x1db080]
movzx ecx, byte [rdi + rax*4 + 0x1da080]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x1db880]
mov r9d, dword [r10 + 0xa]
mov dword [r10 + 6], r8d
movzx edx, byte [rdi + rax*4 + 0x1da080]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x1da080]
mov r8d, dword [rdi + rdx*4 + 0x1db480]
mov eax, r9d
xor r8d, dword [rdi + rcx*4 + 0x1db080]
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x1da080]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x1dac80]
movzx ecx, byte [rdi + rax*4 + 0x1da080]
xor r8d, dword [rdi + rcx*4 + 0x1db880]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x18009bde0
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x18009d480
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push r12
mov eax, 0x20
call fcn.18017e6d0
sub rsp, rax
mov r12, qword [rcx + 0x28]
mov rsi, rdx
mov rbp, rcx
cmp rdx, r12
ja 0x18009d4b5
shl rsi, 4
add rsi, qword [rcx + 0x58]
mov rax, rsi
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
mov rcx, qword [rcx + 0x30]
cmp rdx, rcx
jb 0x18009d4fc
sub rdx, rcx
lea r8, str.cryptomodesocb128.c
mov r9d, WSACleanup
add rdx, 4
and rdx, 0xfffffffffffffffc
add rdx, rcx
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 0x30], rdx
shl rdx, 4
call fcn.180054f20
test rax, rax
jne 0x18009d4f8
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
mov qword [rbp + 0x58], rax
cmp r12, rsi
jae 0x18009d576
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r14
mov r14, r12
mov r13, rsi
sub r13, r12
shl r14, 4
add r12, r13
nop word [rax + rax]
mov rax, qword [rbp + 0x58]
mov edx, 1
movzx ebx, byte [r14 + rax]
lea rcx, [r14 + rax]
lea rdi, [rcx + 0x10]
shr bl, 7
neg bl
mov r8, rdi
and bl, 0x87
call fcn.18009d3d0
xor byte [rdi + 0xf], bl
add r14, 0x10
dec r13
jne 0x18009d530
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
shl rsi, 4
mov qword [rbp + 0x28], r12
add rsi, qword [rbp + 0x58]
mov rax, rsi
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
Function at 0x18009db40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x60
call fcn.18017e6d0
sub rsp, rax
mov rax, qword [0x1802658e0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x68]
mov rsi, r9
xor edi, edi
shr rsi, 4
mov rbp, r9
mov r12, r8
mov r14, rdx
mov rbx, rcx
lea r13, [rax + rsi]
test rsi, rsi
je 0x18009dbfb
cmp qword [rcx + 0x20], rdi
je 0x18009dbfb
mov rax, r13
mov edx, edi
shr rax, 1
je 0x18009dba8
nop dword [rax]
inc rdx
shr rax, 1
jne 0x18009dba0
call fcn.18009d480
test rax, rax
jne 0x18009dbb9
xor eax, eax
jmp 0x18009dd7a
mov rdx, qword [rbx + 0x68]
mov r9, qword [rbx + 0x10]
lea rax, [rbx + 0xa0]
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x58]
inc rdx
mov qword [rsp + 0x30], rax
lea rcx, [rbx + 0x90]
mov r8, rsi
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
mov rdx, r12
mov rcx, r14
call qword [rbx + 0x20]
jmp 0x18009dcce
lea rsi, [rax + 1]
cmp rsi, r13
ja 0x18009dcce
nop dword [rax + rax]
mov rax, rsi
mov ecx, edi
test sil, 1
jne 0x18009dc29
nop dword [rax + rax]
shr rax, 1
inc ecx
test al, 1
je 0x18009dc20
mov edx, ecx
mov rcx, rbx
call fcn.18009d480
test rax, rax
je 0x18009dbb2
mov rcx, qword [rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x40]
xor qword [rbx + 0x90], rcx
mov rax, qword [rax + 8]
add r14, 0x10
xor qword [rbx + 0x98], rax
mov rcx, qword [r14 - 8]
mov rax, qword [r14 - 0x10]
xor qword [rbx + 0xa8], rcx
xor rcx, qword [rbx + 0x98]
xor qword [rbx + 0xa0], rax
xor rax, qword [rbx + 0x90]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call qword [rbx]
mov r11, qword [rsp + 0x40]
xor r11, qword [rbx + 0x90]
mov rax, qword [rsp + 0x48]
inc rsi
xor rax, qword [rbx + 0x98]
mov qword [r12], r11
add r12, 0x10
mov qword [r12 - 8], rax
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x48], rax
cmp rsi, r13
jbe 0x18009dc10
and ebp, 0xf
jbe 0x18009dd71
mov rax, qword [rbx + 0x38]
mov r8, qword [rbx + 0x10]
lea rcx, [rbx + 0x90]
xor qword [rcx], rax
mov rax, qword [rbx + 0x40]
lea rdx, [rsp + 0x40]
xor qword [rbx + 0x98], rax
call qword [rbx]
test rbp, rbp
je 0x18009dd38
lea rax, [rsp + 0x40]
mov r8, r14
sub r8, rax
lea rax, [rsp + 0x40]
sub r12, rax
nop word [rax + rax]
lea rcx, [rsp + rdi + 0x40]
inc rdi
movzx eax, byte [r8 + rcx]
xor al, byte [rcx]
mov byte [r12 + rcx], al
cmp rdi, rbp
jb 0x18009dd20
xor eax, eax
lea rcx, [rsp + 0x40]
mov r8, rbp
mov rdx, r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.18017dd20
mov byte [rsp + rbp + 0x40], 0x80
mov rax, qword [rsp + 0x40]
xor qword [rbx + 0xa0], rax
mov rax, qword [rsp + 0x48]
xor qword [rbx + 0xa8], rax
mov qword [rbx + 0x68], r13
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180179370
add rsp, 0x60
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18009dda0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x60
call fcn.18017e6d0
sub rsp, rax
mov rax, qword [0x1802658e0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x68]
mov rsi, r9
xor edi, edi
shr rsi, 4
mov rbp, r9
mov r14, r8
mov r12, rdx
mov rbx, rcx
lea r13, [rax + rsi]
test rsi, rsi
je 0x18009de5b
cmp qword [rcx + 0x20], rdi
je 0x18009de5b
mov rax, r13
mov edx, edi
shr rax, 1
je 0x18009de08
nop dword [rax]
inc rdx
shr rax, 1
jne 0x18009de00
call fcn.18009d480
test rax, rax
jne 0x18009de19
xor eax, eax
jmp 0x18009dfda
mov rdx, qword [rbx + 0x68]
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0xa0]
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x58]
inc rdx
mov qword [rsp + 0x30], rax
lea rcx, [rbx + 0x90]
mov r8, rsi
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov rcx, r12
call qword [rbx + 0x20]
jmp 0x18009df2f
lea rsi, [rax + 1]
cmp rsi, r13
ja 0x18009df2f
nop dword [rax + rax]
mov rax, rsi
mov ecx, edi
test sil, 1
jne 0x18009de89
nop dword [rax + rax]
shr rax, 1
inc ecx
test al, 1
je 0x18009de80
mov edx, ecx
mov rcx, rbx
call fcn.18009d480
test rax, rax
je 0x18009de12
mov rcx, qword [rax]
mov r8, qword [rbx + 0x18]
lea rdx, [rsp + 0x40]
xor qword [rbx + 0x90], rcx
mov rax, qword [rax + 8]
add r12, 0x10
xor qword [rbx + 0x98], rax
mov rcx, qword [r12 - 8]
mov rax, qword [r12 - 0x10]
xor rcx, qword [rbx + 0x98]
xor rax, qword [rbx + 0x90]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r11, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
xor r11, qword [rbx + 0x90]
xor rax, qword [rbx + 0x98]
inc rsi
xor qword [rbx + 0xa0], r11
xor qword [rbx + 0xa8], rax
mov qword [r14], r11
mov qword [r14 + 8], rax
add r14, 0x10
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x48], rax
cmp rsi, r13
jbe 0x18009de70
and ebp, 0xf
jbe 0x18009dfd1
mov rax, qword [rbx + 0x38]
mov r8, qword [rbx + 0x10]
lea rcx, [rbx + 0x90]
xor qword [rcx], rax
mov rax, qword [rbx + 0x40]
lea rdx, [rsp + 0x40]
xor qword [rbx + 0x98], rax
call qword [rbx]
test rbp, rbp
je 0x18009df98
lea rax, [rsp + 0x40]
mov r8, r14
sub r12, rax
lea rax, [rsp + 0x40]
sub r8, rax
nop word [rax + rax]
lea rcx, [rsp + rdi + 0x40]
inc rdi
movzx eax, byte [r12 + rcx]
xor al, byte [rcx]
mov byte [r8 + rcx], al
cmp rdi, rbp
jb 0x18009df80
xor eax, eax
lea rcx, [rsp + 0x40]
mov r8, rbp
mov rdx, r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.18017dd20
mov byte [rsp + rbp + 0x40], 0x80
mov rax, qword [rsp + 0x40]
xor qword [rbx + 0xa0], rax
mov rax, qword [rsp + 0x48]
xor qword [rbx + 0xa8], rax
mov qword [rbx + 0x68], r13
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180179370
add rsp, 0x60
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18009ed60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.18017e6d0
sub rsp, rax
mov rax, qword [0x1802658e0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov rsi, rcx
movzx r10d, byte [rax]
mov ebx, dword [r15]
lea rdi, [rax + 1]
movzx ecx, byte [rdi + 6]
mov qword [rbp - 0x18], rax
movzx eax, byte [rdi]
shl eax, 8
mov r14, rdx
movzx edx, byte [rdi + 3]
or r10d, eax
movzx eax, byte [rdi + 1]
shl ecx, 8
shl eax, 0x10
mov r12d, r8d
lea r8, [rdi + 5]
or r10d, eax
movzx eax, byte [rdi + 2]
xor r13d, r13d
shl eax, 0x18
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r15
or r10d, eax
movzx eax, byte [rdi + 4]
shl eax, 8
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0x10], r10b
or edx, eax
movzx eax, byte [r8]
or ecx, eax
mov eax, r10d
shr eax, 8
shl ecx, 0x10
mov byte [rbp - 0xf], al
or edx, ecx
mov eax, r10d
shr eax, 0x10
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0xc], dl
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 9], al
test r12d, r12d
je 0x18009ef14
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx r8d, dl
movzx r9d, r10b
dec r12d
test ebx, ebx
jne 0x18009eeb4
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.18009e210
mov r10d, dword [rbp - 0x30]
mov edx, dword [rbp - 0x2c]
movzx r9d, byte [rbp - 0x30]
movzx r8d, byte [rbp - 0x2c]
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x10], r9b
mov byte [rbp - 0xc], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
inc r13d
mov byte [rbp - 9], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x18009ee52
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x18009ef14
mov rax, qword [rbp - 0x18]
mov byte [rax], r9b
mov eax, r10d
shr eax, 8
mov byte [rdi], al
mov eax, r10d
shr r10d, 0x18
shr eax, 0x10
mov byte [rdi + 1], al
mov byte [rdi + 2], r10b
mov byte [rdi + 3], r8b
mov eax, edx
shr eax, 8
mov byte [rdi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [rdi + 5], al
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180179370
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18009ef40
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov edi, 0x80
mov r10, rcx
mov byte [rcx], 0
cmp edx, edi
mov ebx, 0x400
cmovg edx, edi
test r9d, r9d
jle 0x18009ef73
cmp r9d, ebx
cmovg r9d, ebx
mov ebx, r9d
movsxd r9, edx
test edx, edx
jle 0x18009ef90
sub r8, r10
mov rdx, r9
movzx eax, byte [r8 + rcx]
inc rcx
dec rdx
mov byte [rcx - 1], al
jne 0x18009ef80
movzx ecx, byte [r9 + r10 - 1]
lea rdx, [r9 + r10]
lea rsi, [0x1801dbdd0]
cmp r9, rdi
jge 0x18009efd9
mov r11, r9
mov r8, rdi
neg r11
sub r8, r9
nop word [rax + rax]
movzx eax, byte [rdx + r11]
inc rdx
add eax, ecx
dec r8
movzx ecx, al
movzx ecx, byte [rcx + rsi]
mov byte [rdx - 1], cl
jne 0x18009efc0
lea edx, [rbx + 7]
neg ebx
mov eax, 0xff
sar edx, 3
and ebx, 7
sub edi, edx
movzx ecx, bl
movsxd r11, edx
sar eax, cl
movsxd r9, edi
mov ecx, eax
lea r8, [r9 + r10]
movzx eax, byte [r8]
and rcx, rax
movzx eax, byte [rcx + rsi]
mov byte [r8], al
test edi, edi
je 0x18009f028
nop
movzx ecx, byte [r8 + r11 - 1]
dec r8
xor rcx, rax
dec r9
movzx eax, byte [rcx + rsi]
mov byte [r8], al
jne 0x18009f010
lea r8, [r10 + 0xfc]
lea rdx, [r10 + 0x7e]
mov r9d, 0x40
nop dword [rax]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
sub r8, 4
shl ecx, 8
sub rdx, 2
or ecx, eax
dec r9
movzx eax, cx
mov dword [r8 + 4], eax
jne 0x18009f040
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1800a0670
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.18017e6d0
sub rsp, rax
mov rax, qword [0x1802658e0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov r12d, r8d
movzx r10d, byte [rax]
movzx r8d, byte [rax + 4]
mov ebx, dword [r15]
lea rdi, [rax + 1]
mov qword [rbp - 0x18], rax
shl r10d, 0x18
movzx eax, byte [rdi]
mov rsi, rcx
movzx ecx, byte [rdi + 5]
shl eax, 0x10
shl r8d, 0x18
shl ecx, 8
or r10d, eax
movzx eax, byte [rdi + 1]
mov r14, rdx
shl eax, 8
lea rdx, [rdi + 5]
xor r13d, r13d
or r10d, eax
movzx eax, byte [rdi + 2]
mov qword [rbp - 0x28], r9
or r10d, eax
movzx eax, byte [rdi + 4]
mov qword [rbp - 0x20], r15
shl eax, 0x10
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0xd], r10b
or r8d, eax
movzx eax, byte [rdx + 1]
or ecx, eax
mov eax, r10d
shr eax, 0x18
or r8d, ecx
mov byte [rbp - 0x10], al
mov eax, r10d
mov dword [rbp - 0x2c], r8d
shr eax, 0x10
mov byte [rbp - 9], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, r8d
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, r8d
shr eax, 8
mov byte [rbp - 0xa], al
test r12d, r12d
je 0x1800a0836
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx edx, r8b
movzx r9d, r10b
nop dword [rax]
dec r12d
test ebx, ebx
jne 0x1800a07d3
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.18009f8e0
mov r10d, dword [rbp - 0x30]
mov r8d, dword [rbp - 0x2c]
mov eax, r10d
movzx edx, r8b
movzx r9d, r10b
shr eax, 0x18
mov byte [rbp - 0xd], r10b
mov byte [rbp - 9], dl
mov byte [rbp - 0x10], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, r8d
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, r8d
shr eax, 8
inc r13d
mov byte [rbp - 0xa], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x1800a0770
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x1800a0836
mov rcx, qword [rbp - 0x18]
mov eax, r10d
shr eax, 0x18
mov byte [rcx], al
mov eax, r10d
shr r10d, 8
shr eax, 0x10
mov byte [rdi], al
mov byte [rdi + 1], r10b
mov byte [rdi + 2], r9b
mov eax, r8d
shr eax, 0x18
mov byte [rdi + 3], al
mov eax, r8d
shr eax, 0x10
shr r8d, 8
mov byte [rdi + 4], al
mov byte [rdi + 5], r8b
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180179370
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800a52a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.18017e6d0
sub rsp, rax
mov rax, qword [0x1802658e0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov rsi, rcx
movzx r10d, byte [rax]
mov ebx, dword [r15]
lea rdi, [rax + 1]
movzx ecx, byte [rdi + 6]
mov qword [rbp - 0x18], rax
movzx eax, byte [rdi]
shl eax, 8
mov r14, rdx
movzx edx, byte [rdi + 3]
or r10d, eax
movzx eax, byte [rdi + 1]
shl ecx, 8
shl eax, 0x10
mov r12d, r8d
lea r8, [rdi + 5]
or r10d, eax
movzx eax, byte [rdi + 2]
xor r13d, r13d
shl eax, 0x18
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r15
or r10d, eax
movzx eax, byte [rdi + 4]
shl eax, 8
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0x10], r10b
or edx, eax
movzx eax, byte [r8]
or ecx, eax
mov eax, r10d
shr eax, 8
shl ecx, 0x10
mov byte [rbp - 0xf], al
or edx, ecx
mov eax, r10d
shr eax, 0x10
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0xc], dl
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 9], al
test r12d, r12d
je 0x1800a545c
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx r8d, dl
movzx r9d, r10b
dec r12d
test ebx, ebx
jne 0x1800a53f8
lea r8d, [rbx + 1]
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.1800a1070
mov r10d, dword [rbp - 0x30]
mov edx, dword [rbp - 0x2c]
movzx r9d, byte [rbp - 0x30]
movzx r8d, byte [rbp - 0x2c]
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x10], r9b
mov byte [rbp - 0xc], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
inc r13d
mov byte [rbp - 9], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x1800a5392
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x1800a545c
mov rax, qword [rbp - 0x18]
mov byte [rax], r9b
mov eax, r10d
shr eax, 8
mov byte [rdi], al
mov eax, r10d
shr r10d, 0x18
shr eax, 0x10
mov byte [rdi + 1], al
mov byte [rdi + 2], r10b
mov byte [rdi + 3], r8b
mov eax, edx
shr eax, 8
mov byte [rdi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [rdi + 5], al
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180179370
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800acd50
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x20
call fcn.18017e6d0
sub rsp, rax
lea edx, [rax - 0x1f]
mov rdi, rcx
call fcn.18005fb20
mov rcx, rdi
mov rdx, rax
mov rsi, rax
call fcn.18005fd00
test rax, rax
je 0x1800acdc4
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov r8d, esi
lea r9d, [rbx + 2]
mov rdx, rax
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
mov rcx, rdi
test eax, eax
cmove rbx, rsi
mov rdx, rbx
lea r8, [rbx*8]
call fcn.18005fd90
mov rcx, rdi
call fcn.18005f990
mov rbx, qword [rsp + 0x30]
test rax, rax
jne 0x1800acdcc
mov rcx, rdi
call fcn.18005f990
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800b5020
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
xor ebx, ebx
mov r10, rdx
test rcx, rcx
je 0x1800b503c
test byte [rcx + 0x5c], 2
lea r11, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x1800b5043
lea r11, [0x1801ded20]
test r9d, r9d
jle 0x1800b512f
inc r8
nop
movzx ecx, byte [r8 - 1]
cmp r9d, 3
jl 0x1800b50b3
movzx eax, byte [r8]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
mov edx, ecx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r10], al
mov eax, ecx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r10 + 1], al
mov eax, ecx
shr rax, 6
and eax, 0x3f
and edx, 0x3f
movzx eax, byte [rax + r11]
mov byte [r10 + 2], al
movzx eax, byte [rdx + r11]
mov byte [r10 + 3], al
jmp 0x1800b510b
shl ecx, 0x10
cmp r9d, 2
jne 0x1800b50c5
movzx eax, byte [r8]
shl eax, 8
or ecx, eax
mov rax, rcx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r10], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r10 + 1], al
cmp r9d, 1
jne 0x1800b50f6
lea eax, [r9 + 0x3c]
jmp 0x1800b5102
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + r11]
mov byte [r10 + 2], al
mov byte [r10 + 3], 0x3d
sub r9d, 3
add r10, 4
add ebx, 4
add r8, 3
test r9d, r9d
jg 0x1800b5050
mov byte [r10], 0
mov eax, ebx
mov rbx, qword [rsp + 8]
ret
mov byte [rdx], bl
mov eax, ebx
mov rbx, qword [rsp + 8]
ret

Function at 0x1800b5140
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x28
call fcn.18017e6d0
sub rsp, rax
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
add rsp, 0x28
jmp fcn.1800b5020