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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [rcx - 1]
movsxd rdi, r9d
not rcx
shr rsi, 0x3f
shr rcx, 0x3f
mov r11, rdx
and rsi, rcx
mov r10, r8
mov ecx, dword [rdx + 8]
dec rsi
xor ecx, dword [r8 + 8]
and ecx, esi
xor dword [rdx + 8], ecx
xor dword [r8 + 8], ecx
movq xmm4, rsi
mov ecx, dword [rdx + 0x10]
xor ecx, dword [r8 + 0x10]
and ecx, esi
punpcklqdq xmm4, xmm4
xor dword [rdx + 0x10], ecx
xor dword [r8 + 0x10], ecx
mov edx, dword [rdx + 0x14]
mov ecx, edx
mov eax, dword [r8 + 0x14]
xor rcx, rax
and ecx, 4
and rcx, rsi
mov eax, ecx
xor eax, edx
mov dword [r11 + 0x14], eax
xor dword [r8 + 0x14], ecx
xor ecx, ecx
mov edx, ecx
test r9d, r9d
jle 0x180152099
cmp edi, 2
jb 0x180152099
mov r9, qword [r8]
lea rax, [rdi - 1]
mov r8, qword [r11]
lea rbx, [rdi - 1]
lea rbx, [r9 + rbx*8]
lea rax, [r8 + rax*8]
cmp r9, rax
ja 0x18015202a
cmp rbx, r8
jae 0x180152099
cmp r9, r10
ja 0x180152034
cmp rbx, r10
jae 0x180152099
cmp r9, r11
ja 0x18015203e
cmp rbx, r11
jae 0x180152099
cmp r8, r10
ja 0x180152048
cmp rax, r10
jae 0x180152099
cmp r8, r11
ja 0x180152052
cmp rax, r11
jae 0x180152099
mov eax, edi
and eax, 0xfffffffe
nop word [rax + rax]
movdqu xmm2, xmmword [rcx + r9]
add edx, 2
movdqu xmm1, xmmword [r8 + rcx]
lea rcx, [rcx + 0x10]
movdqa xmm3, xmm2
xorps xmm3, xmm1
andps xmm3, xmm4
movdqa xmm0, xmm3
xorps xmm3, xmm2
xorps xmm0, xmm1
movdqu xmmword [r8 + rcx - 0x10], xmm0
movdqu xmmword [rcx + r9 - 0x10], xmm3
cmp edx, eax
jl 0x180152060
movsxd rax, edx
cmp rax, rdi
jge 0x1801520ce
mov rcx, qword [r11]
mov rdx, qword [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rcx, qword [r10]
mov r9, rdx
xor r9, qword [rcx + rax*8]
and r9, rsi
xor rdx, r9
mov qword [r8], rdx
mov rcx, qword [r10]
xor qword [rcx + rax*8], r9
inc rax
cmp rax, rdi
jl 0x1801520a1
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x180152940
Capabilities:
Encode data using xor

Disassembly:
push rbx
test byte [rcx + 0x14], 4
lea rax, [rcx + 8]
mov r10, qword [rcx]
lea rbx, [rdx + 8]
mov r11, qword [rdx]
je 0x180152a27
mov ecx, dword [rbx]
cmp dword [rax], ecx
jne 0x180152a27
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov edi, r9d
test ecx, ecx
jle 0x180152a1d
sub r10, r11
nop word [rax + rax]
mov r8, qword [r11 + r10]
inc edi
mov rdx, qword [r11]
lea r11, [r11 + 8]
mov rcx, r8
shr rdx, 0x3f
sub r8, qword [r11 - 8]
shr r8, 0x3f
xor r8d, edx
shr rcx, 0x3f
xor edx, ecx
or r8d, edx
xor r8d, ecx
neg r8d
mov dword [rsp + 0x18], r8d
not r8d
mov dword [rsp + 0x10], r8d
mov eax, dword [rsp + 0x10]
and eax, r9d
mov r9d, dword [rsp + 0x18]
mov r8, qword [r11 - 8]
or r9d, eax
mov rdx, qword [r11 + r10 - 8]
mov rcx, r8
sub r8, qword [r11 + r10 - 8]
shr r8, 0x3f
shr rcx, 0x3f
shr rdx, 0x3f
xor r8d, edx
xor edx, ecx
or r8d, edx
xor r8d, ecx
neg r8d
mov dword [rsp + 0x18], r8d
not r8d
mov dword [rsp + 0x10], r8d
mov ecx, dword [rsp + 0x10]
and ecx, r9d
mov r9d, dword [rsp + 0x18]
and r9d, 1
or r9d, ecx
cmp edi, dword [rbx]
jl 0x180152980
mov rdi, qword [rsp + 0x20]
mov eax, r9d
pop rbx
ret
mov ecx, dword [rax]
mov eax, ecx
sub eax, dword [rbx]
jne 0x180152a55
lea eax, [rcx - 1]
movsxd rcx, eax
test eax, eax
js 0x180152a53
lea rax, [r11 + rcx*8]
sub r10, r11
mov rdx, qword [rax + r10]
cmp rdx, qword [rax]
jne 0x180152a57
sub rax, 8
sub rcx, 1
jns 0x180152a40
xor eax, eax
pop rbx
ret
mov eax, 0xffffffff
mov ecx, 1
cmova eax, ecx
pop rbx
ret
Function at 0x180152d50
Capabilities:
Encode data using xor

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
mov eax, 0x40
call fcn.1803146e0
sub rsp, rax
xor r13d, r13d
mov r12d, r9d
mov r15d, r13d
mov edi, r13d
mov ebp, r13d
mov ebx, r8d
mov r14, rdx
mov rsi, rcx
call fcn.1801524d0
mov r8d, eax
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp dword [rsp + 0x90], r13d
jne 0x180152dcf
mov edi, dword [rsi + 0x10]
mov ecx, edi
neg ecx
lea ecx, [rax*8]
sbb r15d, r15d
movzx r15d, r15b
cmp ecx, r8d
jne 0x180152dcd
test edi, edi
sete bpl
jmp 0x180152dcf
mov ebp, edi
add eax, ebp
cmp ebx, 0xffffffff
jne 0x180152e03
mov ebx, eax
mov eax, dword [rsi + 0xc]
shl eax, 3
movsxd rdx, eax
test eax, eax
jne 0x180152e7e
test ebx, ebx
je 0x180152f15
movsxd r8, ebx
xor edx, edx
mov rcx, r14
call fcn.1803bc5c0
jmp 0x180152f15
cmp ebx, eax
jge 0x180152dd8
movups xmm2, xmmword [rsi]
movsxd rax, dword [rsi + 8]
movsd xmm0, qword [rsi + 0x10]
movsd qword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm2
test eax, eax
jle 0x180152e44
movq rcx, xmm2
lea r8, [rcx + rax*8]
nop dword [rax + rax]
cmp qword [r8 - 8], r13
lea r8, [r8 - 8]
jne 0x180152e40
dec eax
test eax, eax
jg 0x180152e30
mov dword [rsp + 0x28], eax
mov ecx, dword [rsp + 0x30]
test eax, eax
cmove ecx, r13d
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x20]
call fcn.1801524d0
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ebp
cmp ebx, eax
jge 0x180152dd8
mov rax, 0xffffffffffffffff
jmp 0x180152f17
cmp r12d, 1
je 0x180152e8d
lea eax, [rbx - 1]
movsxd rcx, eax
add r14, rcx
mov r11d, 1
movsxd rbp, ebx
cmp r12d, r11d
mov rax, 0xffffffffffffffff
lea r12, [rdx - 1]
cmovne r11, rax
mov eax, dword [rsi + 8]
shl eax, 3
xor r9d, r9d
xor r10d, r10d
movsxd r13, eax
test ebx, ebx
je 0x180152f15
nop dword [rax + rax]
mov rcx, qword [rsi]
movzx eax, r9b
and al, 7
mov rdx, r9
shl al, 3
shr rdx, 3
mov r8, qword [rcx + rdx*8]
movzx ecx, al
shr r8, cl
mov rax, r10
sub rax, r13
shr rax, 0x3f
neg al
and r8b, al
xor r8b, r15b
lea eax, [r8 + rdi]
cmp r8b, al
mov byte [r14], al
mov rax, r9
seta dil
sub rax, r12
shr rax, 0x3f
add r14, r11
add r9, rax
inc r10
cmp r10, rbp
jb 0x180152ec0
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x180154660
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1801546cc
movzx ecx, byte [rcx]
test cl, cl
je 0x1801546cc
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x180154680
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret
Function at 0x180154790
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x180154800
movzx ecx, byte [rcx]
test cl, cl
je 0x180154800
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
mov r8d, eax
and r9d, 0xffffffdf
or r9d, r11d
mov ecx, 0x20
mov edx, r9d
add r11d, 0x100
shr edx, 2
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x1801547b0
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret
Function at 0x1801754e0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, 0x30
call fcn.1803146e0
sub rsp, rax
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x18017554b
call fcn.180132860
lea r8, [0x1803f6de0]
lea edx, [rbx + 0x57]
lea rcx, [0x1803f6db0]
call fcn.180132980
xor r8d, r8d
lea ecx, [rbx + 0x21]
mov edx, 0x87
call fcn.180132ae0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov edx, edi
mov qword [rsp + 0x48], rsi
shr edx, 3
mov ecx, ebx
and edx, 1
call fcn.180145ab0
test eax, eax
je 0x1801755fe
mov rsi, rbx
test dil, 4
je 0x180175615
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_setsockopt]
test eax, eax
je 0x180175615
call fcn.180132860
lea r8, [0x1803f6de0]
mov edx, 0x60
lea rcx, [0x1803f6db0]
call fcn.180132980
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea r8, [0x1803f6df0]
mov ecx, 2
mov edx, eax
call fcn.180132ae0
call fcn.180132860
lea r8, [0x1803f6de0]
mov edx, 0x62
lea rcx, [0x1803f6db0]
call fcn.180132980
xor r8d, r8d
mov edx, 0x89
mov ecx, 0x20
call fcn.180132ae0
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test dil, 0x10
je 0x1801756a2
mov edx, 6
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov rcx, rsi
lea r8d, [rdx - 5]
call qword [sym.imp.ws2_32.dll_setsockopt]
test eax, eax
je 0x1801756a2
call fcn.180132860
lea r8, [0x1803f6de0]
mov edx, 0x6a
lea rcx, [0x1803f6db0]
call fcn.180132980
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea r8, [0x1803f6df0]
mov ecx, 2
mov edx, eax
call fcn.180132ae0
call fcn.180132860
lea r8, [0x1803f6de0]
mov edx, 0x6c
lea rcx, [0x1803f6db0]
call fcn.180132980
xor r8d, r8d
mov edx, 0x8a
jmp 0x1801755f4
mov rcx, rbp
call fcn.1801473c0
mov rcx, rbp
mov ebx, eax
call fcn.180015d10
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x180175736
mov ecx, eax
call fcn.180175440
test eax, eax
jne 0x1801755fe
call fcn.180132860
lea r8, [0x1803f6de0]
mov edx, 0xb2
lea rcx, [0x1803f6db0]
call fcn.180132980
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea r8, [0x1803f6e08]
mov ecx, 2
mov edx, eax
call fcn.180132ae0
call fcn.180132860
lea r8, [0x1803f6de0]
mov edx, 0xb4
lea rcx, [0x1803f6db0]
call fcn.180132980
xor r8d, r8d
lea edx, [r8 + 0x67]
jmp 0x1801755f4
mov eax, 1
jmp 0x180175600
Function at 0x1801a8430
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.1803146e0
sub rsp, rax
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r8, r9
lea rdx, [0x1803e7508]
call fcn.180123130
mov rdi, rax
test rax, rax
je 0x1801a84b3
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.180122120
mov rcx, rdi
mov ebx, eax
call fcn.180123180
test ebx, ebx
jne 0x1801a84ba
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x150]
call fcn.18012d900
xor eax, eax
jmp 0x1801a856e
movzx eax, byte [rsp + 0x16f]
lea rdx, [rsp + 0x150]
and byte [rsp + 0x150], 0xf8
lea rcx, [rsp + 0xb0]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x16f], al
call fcn.1801a7670
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.1801a3e30
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.1801a40b0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.1801a40b0
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1801a5950
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
call fcn.1801a5950
movzx eax, byte [rsp + 0x30]
lea rcx, [rsp + 0x150]
shl al, 7
mov edx, 0x40
xor byte [rsi + 0x1f], al
call fcn.18012d900
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.180313c00
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1801a8590
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1d0
call fcn.1803146e0
sub rsp, rax
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x230]
mov r13, rdx
mov r15, qword [rsp + 0x250]
lea rdx, [0x1803e7508]
mov qword [rsp + 0x38], r8
mov r14, rcx
mov rcx, qword [rsp + 0x260]
mov r8, qword [rsp + 0x268]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r9
call fcn.180123130
mov rdi, rax
call fcn.180123070
xor r12d, r12d
mov rbx, rax
test r15, r15
mov esi, r12d
cmovne rsi, qword [rsp + 0x258]
cmp byte [rsp + 0x248], r12b
je 0x1801a8631
test rsi, rsi
je 0x1801a882d
cmp byte [rsp + 0x238], r12b
jne 0x1801a8644
test rsi, rsi
jne 0x1801a882d
test rdi, rdi
je 0x1801a882d
test rbx, rbx
je 0x1801a882d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1801228d0
test eax, eax
je 0x1801a882d
mov rdx, qword [rsp + 0x40]
mov r8d, 0x20
mov rcx, rbx
call fcn.180122910
test eax, eax
je 0x1801a882d
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rsp + 0x100]
call fcn.180122610
test eax, eax
je 0x1801a882d
movzx eax, byte [rsp + 0x11f]
mov rdx, rdi
movzx r8d, byte [rsp + 0x238]
and al, 0x3f
and byte [rsp + 0x100], 0xf8
or al, 0x40
mov qword [rsp + 0x28], rsi
mov rcx, rbx
mov qword [rsp + 0x20], r15
movzx r15d, byte [rsp + 0x240]
movzx r9d, r15b
mov byte [rsp + 0x11f], al
call fcn.1801a8330
test eax, eax
je 0x1801a882d
mov r8d, 0x20
lea rdx, [rsp + 0x120]
mov rcx, rbx
call fcn.180122910
test eax, eax
je 0x1801a882d
mov r8, qword [rsp + 0x38]
mov rdx, r13
mov rcx, rbx
call fcn.180122910
test eax, eax
je 0x1801a882d
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rsp + 0x140]
call fcn.180122610
test eax, eax
je 0x1801a882d
lea rcx, [rsp + 0x140]
call fcn.1801aae10
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x60]
call fcn.1801a7670
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.1801a75e0
mov rax, qword [rsp + 0x48]
movzx r9d, r15b
movzx r8d, byte [rsp + 0x238]
mov rdx, rdi
mov qword [rsp + 0x28], rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1801a8330
test eax, eax
je 0x1801a882d
mov r8d, 0x20
mov rdx, r14
mov rcx, rbx
call fcn.180122910
test eax, eax
je 0x1801a882d
mov rdx, qword [rsp + 0x50]
mov r8d, 0x20
mov rcx, rbx
call fcn.180122910
test eax, eax
je 0x1801a882d
mov r8, qword [rsp + 0x38]
mov rdx, r13
mov rcx, rbx
call fcn.180122910
test eax, eax
je 0x1801a882d
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rsp + 0x180]
call fcn.180122610
test eax, eax
je 0x1801a882d
lea rcx, [rsp + 0x180]
call fcn.1801aae10
lea rcx, [r14 + 0x20]
lea r9, [rsp + 0x140]
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x180]
call fcn.1801a8d90
mov r12d, 1
mov edx, 0x40
lea rcx, [rsp + 0x140]
call fcn.18012d900
mov edx, 0x40
lea rcx, [rsp + 0x100]
call fcn.18012d900
mov rcx, rdi
call fcn.180123180
mov rcx, rbx
call fcn.180122fc0
mov eax, r12d
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.180313c00
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1801a8c20
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x70]
mov eax, 0x170
call fcn.1803146e0
sub rsp, rax
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rbp + 0x60], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
lea rcx, [rsp + 0x50]
movups xmm1, xmmword [rdx + 0x10]
movd eax, xmm0
movups xmmword [rbp + 0x40], xmm0
and al, 0xf8
mov byte [rbp + 0x40], al
mov rax, qword [rdx + 0x18]
lea rdx, [rbp + 0x40]
shr rax, 0x38
and al, 0x3f
or al, 0x40
movups xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x5f], al
call fcn.1801a7670
mov ecx, dword [rsp + 0x78]
mov edx, dword [rbp - 0x60]
mov r8d, dword [rbp - 0x3c]
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rsp + 0x7c]
mov dword [rbp + 0x18], edx
mov edx, dword [rbp - 0x5c]
mov dword [rbp - 0x10], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x80]
mov dword [rbp + 0x1c], edx
mov edx, dword [rbp - 0x58]
mov dword [rbp - 0xc], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x7c]
mov dword [rbp + 0x20], edx
mov edx, dword [rbp - 0x54]
mov dword [rbp - 8], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x78]
mov dword [rbp + 0x24], edx
mov edx, dword [rbp - 0x50]
mov dword [rbp - 4], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x74]
mov dword [rbp + 0x28], edx
mov edx, dword [rbp - 0x4c]
mov dword [rbp], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x70]
mov dword [rbp + 0x2c], edx
mov edx, dword [rbp - 0x48]
mov dword [rbp + 4], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x6c]
mov dword [rbp + 0x30], edx
mov edx, dword [rbp - 0x44]
mov dword [rbp + 8], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x68]
mov dword [rbp + 0x34], edx
mov edx, dword [rbp - 0x40]
mov dword [rbp + 0xc], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov dword [rbp + 0x38], edx
lea rcx, [rsp + 0x20]
mov edx, dword [rbp - 0x64]
mov dword [rbp + 0x10], eax
lea eax, [rdx + r8]
sub r8d, edx
lea rdx, [rbp + 0x18]
mov dword [rbp + 0x3c], r8d
mov dword [rbp + 0x14], eax
call fcn.1801a3e30
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.1801a40b0
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1801a5950
lea rcx, [rbp + 0x40]
mov edx, 0x20
call fcn.18012d900
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.180313c00
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rbp
ret
Function at 0x1801ad3b0
Capabilities:
Encode data using xor

Disassembly:
mov r9, rcx
movd xmm4, r8d
mov r10d, r8d
pshufd xmm4, xmm4, 0
lea rcx, [rdx + 0x3c]
lea rax, [r9 + 0x3c]
cmp rdx, rax
ja 0x1801ad401
cmp rcx, r9
jb 0x1801ad401
sub r9, rdx
mov r8d, 0x10
nop dword [rax + rax]
mov ecx, dword [r9 + rdx]
lea rdx, [rdx + 4]
mov eax, ecx
xor eax, dword [rdx - 4]
and eax, r10d
xor ecx, eax
mov dword [r9 + rdx - 4], ecx
xor dword [rdx - 4], eax
sub r8, 1
jne 0x1801ad3e0
ret
sub r9, rdx
mov eax, 4
nop dword [rax]
movdqu xmm1, xmmword [r9 + rdx]
movdqu xmm2, xmmword [rdx]
lea rdx, [rdx + 0x10]
movdqa xmm3, xmm1
xorps xmm3, xmm2
andps xmm3, xmm4
movdqa xmm0, xmm3
xorps xmm3, xmm2
xorps xmm0, xmm1
movdqu xmmword [r9 + rdx - 0x10], xmm0
movdqu xmmword [rdx - 0x10], xmm3
sub rax, 1
jne 0x1801ad410
ret
Function at 0x1801b4cb0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x28
call fcn.1803146e0
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x50], r9d
jne 0x1801b4da8
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x1801b4da8
mov qword [rsp + 0x20], rbx
lea rdx, [r8 + 1]
cmp r10b, 0x6b
jne 0x1801b4d60
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x1801b4d0a
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x1801b4d0a
cmp cl, 0xbb
jne 0x1801b4d4d
inc eax
cmp eax, ebx
jl 0x1801b4cf4
sub ebx, eax
test eax, eax
jne 0x1801b4d64
call fcn.180132860
lea r8, [0x180411b20]
mov edx, 0x56
lea rcx, [0x180411b08]
call fcn.180132980
mov edx, 0x8a
xor r8d, r8d
lea ecx, [r8 + 4]
call fcn.180132ae0
mov rbx, qword [rsp + 0x20]
mov eax, 0xffffffff
add rsp, 0x28
ret
call fcn.180132860
lea r8, [0x180411b20]
mov edx, 0x4e
jmp 0x1801b4d21
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1801b4d91
call fcn.180132860
lea r8, [0x180411b20]
mov edx, 0x5f
lea rcx, [0x180411b08]
call fcn.180132980
mov edx, 0x8b
jmp 0x1801b4d32
mov r8d, ebx
mov rcx, r11
call fcn.1803bbf20
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.180132860
lea r8, [0x180411b20]
mov edx, 0x43
lea rcx, [0x180411b08]
call fcn.180132980
xor r8d, r8d
mov edx, 0x89
lea ecx, [r8 + 4]
call fcn.180132ae0
mov eax, 0xffffffff
add rsp, 0x28
ret
Function at 0x1801b9660
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
mov eax, 0x20
call fcn.1803146e0
sub rsp, rax
mov rbx, rcx
test r9, r9
jne 0x1801b96ad
call fcn.180132860
lea r8, [0x180412dd0]
mov edx, 0xa0
lea rcx, [0x180412de0]
call fcn.180132980
xor r8d, r8d
mov edx, 0xde
lea ecx, [r8 + 0xd]
call fcn.180132ae0
xor eax, eax
add rsp, 0x20
pop rbx
ret
movzx r10d, byte [r8]
and r10d, 0x80
test rdx, rdx
je 0x1801b96c0
mov dword [rdx], r10d
cmp r9, 1
jne 0x1801b96e3
test rbx, rbx
je 0x1801b96d8
movzx eax, byte [r8]
test r10d, r10d
je 0x1801b96d6
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x20
pop rbx
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x1801b96f5
mov eax, 1
jmp 0x1801b97aa
xor eax, eax
cmp cl, 0xff
jne 0x1801b97f0
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x1801b979f
cmp rcx, 8
jb 0x1801b9790
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
movd xmm1, dword [r8 + rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [r8 + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x1801b9730
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x1801b979f
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
inc rax
or edx, ecx
cmp rax, r9
jb 0x1801b9790
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x1801b97f0
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r10d, ecx
jne 0x1801b97f0
call fcn.180132860
lea r8, [0x180412dd0]
mov edx, 0xc1
lea rcx, [0x180412de0]
call fcn.180132980
xor r8d, r8d
mov edx, 0xdd
lea ecx, [r8 + 0xd]
call fcn.180132ae0
xor eax, eax
add rsp, 0x20
pop rbx
ret
sub r9, rax
test rbx, rbx
je 0x1801b983d
add rax, r8
mov rdx, r9
neg r10d
sbb r11d, r11d
movzx r11d, r11b
mov ecx, r11d
and ecx, 1
test r9, r9
je 0x1801b983d
mov r10, r9
lea r8, [rax + r9]
sub r10, r9
add r10, rbx
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
dec rdx
xor eax, r11d
add ecx, eax
mov byte [r10 + rdx], cl
shr ecx, 8
test rdx, rdx
jne 0x1801b9820
mov rax, r9
add rsp, 0x20
pop rbx
ret
Function at 0x1801b9850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov r10, rdx
xor r11b, r11b
xor edx, edx
mov rdi, r9
mov rbx, rcx
test rcx, rcx
je 0x1801b9951
test r10, r10
je 0x1801b9951
movzx eax, byte [rcx]
test r8d, r8d
jne 0x1801b9899
cmp al, 0x7f
jbe 0x1801b994a
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1801b9959
mov r11b, 0xff
cmp al, 0x80
jbe 0x1801b98af
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1801b9959
jne 0x1801b994a
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x1801b993f
cmp rcx, 8
jb 0x1801b9931
and ecx, 7
mov rdx, r10
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
movd xmm1, dword [rbx + rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [rbx + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x1801b98e0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x1801b993f
movzx ecx, byte [rbx + rax]
inc rax
or edx, ecx
cmp rax, r10
jb 0x1801b9931
neg edx
sbb r11b, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x1801b9959
mov eax, 1
mov r10, rdx
test rdi, rdi
je 0x1801b99b5
mov rcx, qword [r9]
test rcx, rcx
je 0x1801b99b5
mov edx, edx
mov r8d, r11d
add rdx, rcx
mov byte [rcx], r11b
and r8d, 1
test r10, r10
je 0x1801b99b2
lea r9, [r10 + rbx]
mov rbx, r10
sub rbx, r10
add rbx, rdx
nop word [rax + rax]
movzx edx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r10
movzx ecx, r11b
xor edx, ecx
add r8d, edx
mov byte [rbx + r10], r8b
shr r8d, 8
test r10, r10
jne 0x1801b9990
add qword [rdi], rax
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x1801b9bc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1803146e0
sub rsp, rax
mov r8d, dword [rcx + 4]
mov r9, rdx
movsxd rdx, dword [rcx]
and r8d, 0x100
mov rcx, qword [rcx + 8]
add rsp, 0x28
jmp fcn.1801b9850