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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x18
xor r10d, r10d
test rdx, rdx
setg al
jle 0x140024ce7
test r9, r9
jle 0x140024ce7
xor r10d, r10d
lea r11, [0x1402ab8c0]
lea rsi, [0x1402ab9c0]
lea rdi, [0x1402ab9e0]
xor r14d, r14d
mov qword [rsp], r8
nop word [rax + rax]
movzx ebp, byte [rcx + r14]
test bpl, bpl
js 0x140024b80
mov r15d, 1
jmp 0x140024cb5
mov eax, ebp
movsx r15, byte [rax + r11]
add rax, 0xffffffffffffff40
cmp rax, 0x3d
ja 0x140024c8d
mov rax, rdx
sub rax, r14
cmp rax, 2
mov r11d, 1
cmovl rax, r11
dec rax
cmp r15, 3
mov r12d, 2
cmovge r12, r15
lea rsi, [r12 - 2]
cmp rax, rsi
jbe 0x140024d02
lea rax, [rcx + r14]
lea r8, [r12 - 1]
test rsi, rsi
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], r8
je 0x140024cd2
lea rdi, [rax + 1]
mov rsi, r8
and rsi, 0xfffffffffffffffe
neg rsi
mov ebx, 1
xor r13d, r13d
nop dword [rax]
movzx eax, byte [rdi + rbx - 1]
mov r11d, eax
and r11b, 0xc0
cmp r11b, 0x80
setne r11b
or r11b, r13b
movzx r8d, byte [rdi + rbx]
mov r13d, r8d
and r13b, 0xc0
cmp r13b, 0x80
setne r13b
or r13b, r11b
shl ebp, 0xc
shl eax, 6
add ebp, r8d
add ebp, eax
lea rax, [rsi + rbx]
add rax, 2
add rbx, 2
cmp rax, 1
jne 0x140024c00
test byte [rsp + 0x10], 1
je 0x140024c72
mov rax, qword [rsp + 8]
movzx eax, byte [rax + rbx]
mov r8d, eax
and r8b, 0xc0
cmp r8b, 0x80
setne r8b
or r13b, r8b
shl ebp, 6
add ebp, eax
mov r8, qword [rsp]
lea r11, [0x1402ab8c0]
lea rsi, [0x1402ab9c0]
lea rdi, [0x1402ab9e0]
jmp 0x140024c96
mov r12d, 1
xor r13d, r13d
xor eax, eax
cmp r12, r15
jne 0x140024cf1
test r13b, 1
jne 0x140024cf1
sub ebp, dword [rsi + r15*4]
cmp ebp, 0x10ffff
ja 0x140024cf1
cmp dword [rdi + r15*4], ebp
ja 0x140024d02
mov byte [r8 + r10], bpl
add r14, r15
inc r10
cmp r14, rdx
setl al
jge 0x140024ce7
cmp r10, r9
jl 0x140024b60
jmp 0x140024ce7
mov ebx, 1
xor r13d, r13d
test byte [rsp + 0x10], 1
jne 0x140024c52
jmp 0x140024c72
cmp r10, r9
setne cl
xor al, 1
or al, cl
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140024cf1
Function at 0x140024d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
xor r10d, r10d
test rdx, rdx
setg al
jle 0x140024f2c
test r9, r9
jle 0x140024f2c
lea rax, [r9 - 1]
mov qword [rsp + 0x10], rax
xor esi, esi
lea r11, [0x1402ab8c0]
lea rdi, [0x1402ab9c0]
lea r14, [0x1402ab9e0]
xor r10d, r10d
mov qword [rsp + 8], r9
mov qword [rsp], r8
nop word cs:[rax + rax]
movzx r13d, byte [rcx + rsi]
test r13b, r13b
js 0x140024d90
mov r12d, 1
mov ebp, r13d
jmp 0x140024f10
movsx r12, byte [r13 + r11]
mov rax, r13
add rax, 0xffffffffffffff40
cmp rax, 0x3d
ja 0x140024e5e
mov rax, rdx
sub rax, rsi
cmp rax, 2
mov r11d, 1
cmovl rax, r11
dec rax
cmp r12, 3
mov ebx, 2
cmovge rbx, r12
lea r11, [rbx - 2]
cmp rax, r11
jbe 0x140024f47
lea rax, [rcx + rsi]
lea r14, [rbx - 1]
test r11, r11
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], r14
je 0x140024e6b
lea r11, [rax + 1]
and r14, 0xfffffffffffffffe
neg r14
mov edi, 1
xor r15d, r15d
mov ebp, r13d
nop word [rax + rax]
movzx eax, byte [r11 + rdi - 1]
mov r8d, eax
and r8b, 0xc0
cmp r8b, 0x80
setne r8b
or r8b, r15b
movzx r9d, byte [r11 + rdi]
mov r15d, r9d
and r15b, 0xc0
cmp r15b, 0x80
setne r15b
or r15b, r8b
shl ebp, 0xc
shl eax, 6
add ebp, r9d
add ebp, eax
lea rax, [r14 + rdi]
add rax, 2
add rdi, 2
cmp rax, 1
jne 0x140024e10
jmp 0x140024e76
mov ebx, 1
xor r15d, r15d
mov ebp, r13d
jmp 0x140024ebb
mov edi, 1
xor r15d, r15d
mov ebp, r13d
test byte [rsp + 0x20], 1
lea r14, [0x1402ab9e0]
je 0x140024ea4
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax + rdi]
mov r8d, eax
and r8b, 0xc0
cmp r8b, 0x80
setne r8b
or r15b, r8b
shl ebp, 6
add ebp, eax
mov r9, qword [rsp + 8]
mov r8, qword [rsp]
lea r11, [0x1402ab8c0]
lea rdi, [0x1402ab9c0]
xor eax, eax
cmp rbx, r12
jne 0x140024f36
test r15b, 1
jne 0x140024f36
sub ebp, dword [rdi + r12*4]
cmp ebp, 0x10ffff
ja 0x140024f36
cmp dword [r14 + r12*4], ebp
ja 0x140024f47
cmp r13b, 0xf0
jb 0x140024f10
cmp r10, qword [rsp + 0x10]
je 0x140024f47
mov eax, ebp
shr eax, 0xa
add eax, 0xffffd7c0
mov word [r8 + r10*2], ax
and ebp, 0x3ff
or ebp, 0xdc00
mov word [r8 + r10*2 + 2], bp
inc r10
jmp 0x140024f15
mov word [r8 + r10*2], bp
add rsi, r12
inc r10
cmp rsi, rdx
setl al
jge 0x140024f2c
cmp r10, r9
jl 0x140024d70
cmp r10, r9
setne cl
xor al, 1
or al, cl
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140024f36

Function at 0x140025660
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.14027bfdc
cdqe
add rsp, 0x28
ret
mov rax, qword [rcx + 0x10]
mov ecx, dword [rax]
jmp 0x140025660

Function at 0x140026630
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140265f80
mov rax, rsi
add rsp, 0x60
pop rsi
ret
Function at 0x140026670
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
test dl, dl
mov eax, 0x40
mov r9d, 4
cmovne r9d, eax
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400266ba
mov rbx, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140266200
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140036700
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
mov r11, qword [rsp + 0x68]
inc r11
xor eax, eax
cmp r11, r9
ja 0x140036812
lea rax, [r9 - 1]
movzx eax, byte [r8 + rax]
add r11, rax
mov r10, r9
sub r10, r11
xor r11, r9
xor r10, r9
or r10, r11
xor r10, r9
not r10
sar r10, 0x3f
mov r11, r9
sub r11, 1
jb 0x1400367eb
cmp r9, 0x100
mov esi, 0x100
cmovb rsi, r9
cmp r9, 1
jne 0x140036769
xor edi, edi
jmp 0x1400367c2
mov ebx, esi
and ebx, 0x1fe
lea r14, [r8 + r11]
xor edi, edi
mov r15, 0xffffffffffffffff
nop
movzx ebp, byte [r14]
xor bpl, al
cmp rdi, rax
movzx r12d, bpl
not r12
cmova r12, r15
and r12, r10
lea r10, [rdi + 1]
movzx ebp, byte [r14 - 1]
xor bpl, al
cmp r10, rax
movzx r10d, bpl
not r10
cmova r10, r15
and r10, r12
add rdi, 2
add r14, 0xfffffffffffffffe
cmp rdi, rbx
jne 0x140036780
test sil, 1
je 0x1400367eb
sub r11, rdi
movzx r8d, byte [r8 + r11]
xor r8b, al
cmp rdi, rax
movzx r8d, r8b
not r8
mov r11, 0xffffffffffffffff
cmovbe r11, r8
and r10, r11
xor r8d, r8d
cmp r10b, 0xff
sete r8b
mov r10, r8
neg r10
inc eax
neg r8d
and r8d, eax
sub r9, r8
mov qword [rdx], r9
mov qword [rcx], r10
mov eax, 1
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140036820
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, r9
mov r14, r8
mov rsi, rdx
mov qword [rsp + 0x28], rcx
mov r13, qword [rsp + 0x120]
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea r15, [rdx + 0x100]
xor r12d, r12d
mov rax, r13
sub rax, r15
cmovae r12, rax
test rdx, rdx
je 0x140036883
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8, rsi
call fcn.140269430
cmp r12, r13
jae 0x140036a25
mov rcx, rbx
sub rcx, rsi
cmp r13, r15
cmovb r15, r13
mov rdx, rbx
neg rdx
xor eax, eax
xor r8d, r8d
xor r9d, r9d
nop word [rax + rax]
cmp r8, rsi
mov r10d, 0
cmovae r10, rsi
mov r11, r8
mov r13, r12
xor r13, rcx
mov rbp, r13
not rbp
dec r13
and r13, rbp
sar r13, 0x3f
movzx r9d, r9b
or r9, r13
mov rbp, r12
xor rbp, rbx
lea rdi, [rdx + r12]
xor rdi, r12
or rdi, rbp
xor rdi, r12
sar rdi, 0x3f
and edi, r9d
and dil, byte [r14 + r12]
sub r11, r10
or byte [rsp + r11 + 0x70], dil
and r13, r11
or rax, r13
inc r12
neg r10
add r8, r10
inc r8
dec r15
jne 0x1400368b0
cmp rsi, 2
jb 0x140036a31
mov rcx, rsi
and rcx, 0xfffffffffffffffe
mov r8d, 1
lea r9, [rsp + 0x30]
lea r10, [rsp + 0x70]
jmp 0x140036952
add r8, r8
shr rax, 1
mov r10, rdx
cmp r8, rsi
jae 0x140036a36
mov rdx, r9
mov r9, r10
mov r10d, eax
and r10d, 1
dec r10d
movzx r10d, r10b
mov r11, r10
not r10
mov r14, r8
xor ebx, ebx
jmp 0x1400369a7
sub r14, r15
movzx edi, byte [r9 + r14]
movzx ebp, byte [r9 + rbx + 1]
and ebp, r11d
and edi, r10d
or edi, ebp
mov byte [rdx + rbx + 1], dil
add rbx, 2
inc r14
cmp rcx, rbx
je 0x1400369f0
mov r15d, 0
cmp r14, rsi
jb 0x1400369b5
mov r15, rsi
mov rdi, r14
sub rdi, r15
movzx edi, byte [r9 + rdi]
movzx ebp, byte [r9 + rbx]
and ebp, r11d
and edi, r10d
or edi, ebp
mov byte [rdx + rbx], dil
neg r15
add r14, r15
inc r14
mov r15d, 0
cmp r14, rsi
jb 0x140036980
mov r15, rsi
jmp 0x140036980
test sil, 1
je 0x140036940
cmp r14, rsi
mov edi, 0
cmovae rdi, rsi
sub r14, rdi
movzx edi, byte [r9 + r14]
movzx ebp, byte [r9 + rbx]
and r11d, ebp
and r10d, edi
or r10d, r11d
mov byte [rdx + rbx], r10b
jmp 0x140036940
xor eax, eax
cmp rsi, 2
jae 0x140036924
lea rdx, [rsp + 0x70]
test rsi, rsi
je 0x140036a48
mov rcx, qword [rsp + 0x28]
mov r8, rsi
call fcn.1402695f0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140265f80
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14003d250
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1a8
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea r14, [rsp + 0xc0]
mov edx, 0x20
mov rcx, r8
mov r8, r14
call fcn.140068190
and byte [rsp + 0xc0], 0xf8
movzx eax, byte [rsp + 0xdf]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0xdf], al
lea r8, [0x1402b22c0]
lea r15, [rsp + 0x20]
mov rcx, r15
mov rdx, r14
call fcn.14003b730
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x170], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x160], xmm1
movaps xmmword [rsp + 0x150], xmm0
lea r14, [rsp + 0x128]
lea rdx, [rsp + 0x150]
mov rcx, r14
call fcn.140042290
lea r12, [rsp + 0x150]
mov rcx, r12
mov rdx, r15
mov r8, r14
call fcn.140044ce0
lea rdx, [rsp + 0x48]
lea r15, [rsp + 0x100]
mov rcx, r15
mov r8, r14
call fcn.140044ce0
mov rcx, rdi
mov rdx, r15
call fcn.140037920
lea rcx, [rsp + 0x180]
mov rdx, r12
call fcn.140037920
movzx eax, byte [rsp + 0x180]
shl al, 7
xor byte [rdi + 0x1f], al
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140265f80
nop
add rsp, 0x1a8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140040c40
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov qword [rsp + 0x20], rcx
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x160], rax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x150], xmm1
and byte [rsp + 0x140], 0xf8
movzx eax, byte [rsp + 0x15f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x15f], al
lea r8, [0x1402b22c0]
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x140]
call fcn.14003b730
mov rax, qword [rsp + 0xf0]
mov r11, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
lea rdi, [r11 + rax]
mov rcx, qword [rsp + 0xf8]
lea rbx, [rsi + rcx]
mov rdx, qword [rsp + 0x100]
mov r14, qword [rsp + 0xd8]
lea r15, [r14 + rdx]
mov r8, qword [rsp + 0x108]
mov r12, qword [rsp + 0xe0]
lea r13, [r12 + r8]
mov r9, qword [rsp + 0x110]
mov rbp, qword [rsp + 0xe8]
lea r10, [rbp + r9]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], r10
movabs r10, 0xffffffffffffe
add rax, r10
sub rax, r11
add rax, 0xffffffffffffffdc
add rcx, r10
sub rcx, rsi
add rdx, r10
sub rdx, r14
add r8, r10
sub r8, r12
add r9, r10
sub r9, rbp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], r9
lea rdi, [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140042290
lea rdx, [rsp + 0x78]
mov rcx, rdi
mov r8, rdi
call fcn.140044ce0
mov rcx, qword [rsp + 0x20]
mov rdx, rdi
call fcn.140037920
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140265f80
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14004bbd0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x28]
mov r8d, 6
call fcn.140032920
xor edi, edi
test eax, eax
je 0x14004bd87
lea rcx, [rsp + 0x28]
call fcn.140029860
movzx r15d, byte [reloc.WS2_32.dll_htons]
cmp rax, r15
jne 0x14004bc55
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.1400321a0
lea r14, [0x1402b4a80]
test r15b, r15b
je 0x14004bd7d
lea rdx, [0x1402b4a84]
mov rcx, rax
mov r8, rbx
call fcn.140269330
test eax, eax
je 0x14004bd7d
lea rcx, [rsp + 0x28]
call fcn.140029860
movzx r15d, byte [reloc.WS2_32.dll_getsockopt]
cmp rax, r15
jne 0x14004bca3
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.1400321a0
lea r14, [0x1402b46e8]
test r15b, r15b
je 0x14004bd7d
lea rdx, [0x1402b46ec]
mov rcx, rax
mov r8, rbx
call fcn.140269330
test eax, eax
je 0x14004bd7d
lea rcx, [rsp + 0x28]
call fcn.140029860
movzx r15d, byte [reloc.WS2_32.dll_getsockopt]
cmp rax, r15
jne 0x14004bcf1
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.1400321a0
lea r14, [0x1402b4558]
test r15b, r15b
je 0x14004bd7d
lea rdx, [0x1402b455c]
mov rcx, rax
mov r8, rbx
call fcn.140269330
test eax, eax
je 0x14004bd7d
lea rcx, [rsp + 0x28]
call fcn.140029860
movzx r15d, byte [reloc.WS2_32.dll_closesocket]
cmp rax, r15
jne 0x14004bd37
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.1400321a0
lea r14, [0x1402b4878]
test r15b, r15b
je 0x14004bd7d
lea rdx, [0x1402b487c]
mov rcx, rax
mov r8, rbx
call fcn.140269330
test eax, eax
je 0x14004bd7d
lea rcx, [rsp + 0x28]
call fcn.140029860
movzx r15d, byte [reloc.WS2_32.dll_closesocket]
cmp rax, r15
jne 0x14004bd87
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.1400321a0
lea r14, [0x1402b4c10]
test r15b, r15b
je 0x14004bd7d
lea rdx, [0x1402b4c14]
mov rcx, rax
mov r8, rbx
call fcn.140269330
test eax, eax
jne 0x14004bd87
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140265f80
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14004fc20
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r8
mov r14, rdx
mov r15, rcx
mov r12, qword [rsp + 0x178]
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rcx, r12
call fcn.14004b870
mov rbx, rax
lea r13, [rsp + 0x50]
mov rcx, r13
call fcn.140074000
mov qword [rsp + 0x20], 0
mov rcx, r13
mov rdx, r15
mov r8, r14
mov r9, r12
call fcn.140074030
test eax, eax
je 0x14004fed9
mov rsi, qword [rsp + 0x180]
test rsi, rsi
je 0x14004fedd
mov r14, qword [rsp + 0x188]
mov ecx, 1
lea r15, [rsp + 0x50]
jmp 0x14004fcda
add r14, rsi
mov ecx, dword [rsp + 0x34]
inc ecx
mov rax, qword [rsp + 0x38]
sub rax, rsi
mov rsi, rax
je 0x14004fedd
cmp rbx, rsi
mov qword [rsp + 0x38], rsi
cmovb rsi, rbx
mov dword [rsp + 0x34], ecx
mov eax, ecx
bswap eax
mov dword [rsp + 0xbc], eax
mov qword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.140074030
test eax, eax
je 0x14004fed9
mov rcx, r15
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
call fcn.140074360
test eax, eax
je 0x14004fed9
mov r8d, 4
mov rcx, r15
lea rdx, [rsp + 0xbc]
call fcn.140074360
test eax, eax
je 0x14004fed9
mov rcx, r15
lea rdx, [rsp + 0xc0]
xor r8d, r8d
call fcn.140074380
test eax, eax
je 0x14004fed9
test rbx, rbx
je 0x14004fd81
mov rcx, r14
lea rdx, [rsp + 0xc0]
mov r8, rsi
call fcn.1402695f0
cmp dword [rsp + 0x170], 2
jb 0x14004fcc0
cmp rsi, 1
mov rbp, rsi
adc rbp, 0
mov r13, rbp
and r13, 0xffffffffffffffe0
mov rdi, rbp
and rdi, 0xfffffffffffffff8
mov r12d, 1
jmp 0x14004fdc1
inc r12d
cmp r12d, dword [rsp + 0x170]
je 0x14004fcc0
mov qword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.140074030
test eax, eax
je 0x14004fed9
mov rcx, r15
lea rdx, [rsp + 0xc0]
mov r8, rbx
call fcn.140074360
test eax, eax
je 0x14004fed9
mov rcx, r15
lea rdx, [rsp + 0xc0]
xor r8d, r8d
call fcn.140074380
test eax, eax
je 0x14004fed9
test rbx, rbx
je 0x14004fdb0
cmp rsi, 8
jae 0x14004fe30
xor eax, eax
jmp 0x14004fec0
cmp rsi, 0x20
jae 0x14004fe3a
xor ecx, ecx
jmp 0x14004fe90
xor eax, eax
nop dword [rax]
movups xmm0, xmmword [r14 + rax]
movups xmm1, xmmword [r14 + rax + 0x10]
xorps xmm0, xmmword [rsp + rax + 0xc0]
xorps xmm1, xmmword [rsp + rax + 0xd0]
movups xmmword [r14 + rax], xmm0
movups xmmword [r14 + rax + 0x10], xmm1
add rax, 0x20
cmp r13, rax
jne 0x14004fe40
cmp rbp, r13
je 0x14004fdb0
mov rcx, r13
mov rax, r13
test bpl, 0x18
je 0x14004fec0
nop word cs:[rax + rax]
mov rax, qword [rsp + rcx + 0xc0]
xor qword [r14 + rcx], rax
add rcx, 8
cmp rdi, rcx
jne 0x14004fe90
mov rax, rdi
cmp rbp, rdi
je 0x14004fdb0
nop word cs:[rax + rax]
movzx ecx, byte [rsp + rax + 0xc0]
xor byte [r14 + rax], cl
inc rax
cmp rbp, rax
jne 0x14004fec0
jmp 0x14004fdb0
xor esi, esi
jmp 0x14004feeb
xor esi, esi
cmp dword [rsp + 0x170], 0
setne sil
lea rcx, [rsp + 0x50]
call fcn.140074440
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140265f80
mov eax, esi
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140055900
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x140055976
xor r11d, r11d
nop dword [rax + rax]
mov rbx, qword [r8 + r11*8]
mov rsi, qword [rcx + r11*8]
mov rdi, rsi
xor rdi, rbx
mov r14d, eax
lea rax, [rdi - 1]
mov r15, rsi
sub r15, rbx
xor r15, rsi
or r15, rdi
not rdi
and rax, rdi
sar rax, 0x3f
xor r15, rsi
sar r15, 0x3f
mov rsi, r15
not r15
and r15d, 1
or r15, rsi
mov rsi, rax
and r14d, esi
not rax
and rax, r15
or rax, r14
inc r11
cmp r10, r11
jne 0x140055920
mov r11, rdx
sub r11, r9
jae 0x140055992
mov r11, r9
sub r11, rdx
cmp r11, 4
jae 0x1400559ad
xor r10d, r10d
mov rcx, rdx
jmp 0x140055a10
jbe 0x140055ace
cmp r11, 4
jae 0x140055a39
xor r10d, r10d
mov r8, r9
jmp 0x140055aa0
mov rsi, r11
and rsi, 0xfffffffffffffffc
lea rcx, [rsi + rdx]
lea rdx, [r8 + rdx*8]
add rdx, 0x10
pxor xmm0, xmm0
xor r10d, r10d
pxor xmm1, xmm1
nop dword [rax + rax]
movdqu xmm2, xmmword [rdx + r10*8 - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [rdx + r10*8]
por xmm1, xmm2
add r10, 4
cmp rsi, r10
jne 0x1400559d0
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r10, xmm0
cmp r11, rsi
je 0x140055a1c
nop word cs:[rax + rax]
or r10, qword [r8 + rcx*8]
inc rcx
cmp r9, rcx
jne 0x140055a10
mov rcx, r10
not rcx
dec r10
and r10, rcx
sar r10, 0x3f
mov rcx, r10
and ecx, eax
not r10
jmp 0x140055ac8
mov rsi, r11
and rsi, 0xfffffffffffffffc
lea r8, [rsi + r9]
lea r9, [rcx + r9*8]
add r9, 0x10
pxor xmm0, xmm0
xor r10d, r10d
pxor xmm1, xmm1
nop word [rax + rax]
movdqu xmm2, xmmword [r9 + r10*8 - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [r9 + r10*8]
por xmm1, xmm2
add r10, 4
cmp rsi, r10
jne 0x140055a60
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r10, xmm0
cmp r11, rsi
je 0x140055aac
nop word cs:[rax + rax]
or r10, qword [rcx + r8*8]
inc r8
cmp rdx, r8
jne 0x140055aa0
mov rcx, r10
not rcx
dec r10
and r10, rcx
sar r10, 0x3f
mov rcx, r10
and ecx, eax
not r10
and r10d, 1
or r10d, ecx
mov eax, r10d
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140055c80
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
movsxd r8, dword [rcx + 8]
movsxd rax, dword [rdx + 8]
cmp r8d, eax
jge 0x140055ca7
mov r10, qword [rdx]
mov rsi, rax
sub rsi, r8
cmp rsi, 4
jae 0x140055cac
xor r9d, r9d
mov r11, r8
jmp 0x140055d10
xor r9d, r9d
jmp 0x140055d1c
mov rdi, rsi
and rdi, 0xfffffffffffffffc
lea r11, [rdi + r8]
lea r9, [r10 + r8*8]
add r9, 0x10
pxor xmm0, xmm0
xor ebx, ebx
pxor xmm1, xmm1
nop dword [rax]
movdqu xmm2, xmmword [r9 + rbx*8 - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [r9 + rbx*8]
por xmm1, xmm2
add rbx, 4
cmp rdi, rbx
jne 0x140055cd0
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r9, xmm0
cmp rsi, rdi
je 0x140055d1c
nop word cs:[rax + rax]
or r9, qword [r10 + r11*8]
inc r11
cmp rax, r11
jne 0x140055d10
cmp eax, r8d
jge 0x140055dac
mov r10, qword [rcx]
mov rsi, r8
sub rsi, rax
cmp rsi, 4
jae 0x140055d39
mov r11, rax
jmp 0x140055da0
mov rdi, rsi
and rdi, 0xfffffffffffffffc
lea r11, [rdi + rax]
movq xmm1, r9
lea r9, [r10 + rax*8]
add r9, 0x10
pxor xmm0, xmm0
xor ebx, ebx
nop word [rax + rax]
movdqu xmm2, xmmword [r9 + rbx*8 - 0x10]
por xmm1, xmm2
movdqu xmm2, xmmword [r9 + rbx*8]
por xmm0, xmm2
add rbx, 4
cmp rdi, rbx
jne 0x140055d60
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r9, xmm1
cmp rsi, rdi
je 0x140055dac
nop word cs:[rax + rax]
or r9, qword [r10 + r11*8]
inc r11
cmp r8, r11
jne 0x140055da0
cmp r8d, eax
cmovl eax, r8d
test eax, eax
jle 0x140055e63
mov r8, qword [rcx]
mov r10, qword [rdx]
mov r11d, eax
cmp eax, 4
jae 0x140055dd0
xor eax, eax
jmp 0x140055e50
mov eax, r11d
and eax, 0x7ffffffc
movq xmm0, r9
mov r9d, r11d
shr r9d, 2
and r9d, 0x1fffffff
shl r9, 5
pxor xmm1, xmm1
xor esi, esi
nop word cs:[rax + rax]
movdqu xmm2, xmmword [r8 + rsi]
movdqu xmm3, xmmword [r8 + rsi + 0x10]
movdqu xmm4, xmmword [r10 + rsi]
pxor xmm4, xmm2
por xmm0, xmm4
movdqu xmm2, xmmword [r10 + rsi + 0x10]
pxor xmm2, xmm3
por xmm1, xmm2
add rsi, 0x20
cmp r9, rsi
jne 0x140055e00
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r9, xmm0
cmp rax, r11
je 0x140055e63
nop word [rax + rax]
mov rsi, qword [r10 + rax*8]
xor rsi, qword [r8 + rax*8]
or r9, rsi
inc rax
cmp r11, rax
jne 0x140055e50
mov eax, dword [rdx + 0x10]
xor eax, dword [rcx + 0x10]
movsxd rcx, eax
xor eax, eax
or rcx, r9
sete al
pop rbx
pop rdi
pop rsi
ret