joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006cf10
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18006cf60
lea r11, [0x180114550]
nop dword [rax]
cmp r9b, 0x23
jne 0x18006cf43
cmp byte [r8], r9b
jne 0x18006cf43
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18006cf30
mov rcx, qword [0x180149f28]
not eax
movsxd rdx, dword [rcx + 0x3e68]
mov r9, qword [rcx + 0x3e70]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18006cfc1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18006cfb9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18006cfbc
mov rdx, r8
test rdx, rdx
jne 0x18006cf90
cmp r9, r10
je 0x18006cfd0
cmp dword [r9], eax
jne 0x18006cfd0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret

Function at 0x180078930
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53c8], 0
lea rbx, [rcx + 0x53d0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800789d7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18007898a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18007a910
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180065d80
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53c8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53d8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180149f19]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800789df
mov rcx, rbx
call fcn.180065d80
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180078f50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180149f28]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180078fb3
mov qword [rsp], rbx
lea rbx, [0x180114550]
nop dword [rax]
cmp r9b, 0x23
jne 0x180078f93
cmp byte [r8], r9b
jne 0x180078f93
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180078f80
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5378]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180078fe7
mov r10, qword [r10 + 0x5380]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180078fee
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180078fd4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x18009b570
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x18009b5fc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18009b5d0
lea r11, [0x180114550]
nop
cmp r9b, 0x23
jne 0x18009b5b3
cmp byte [r8], r9b
jne 0x18009b5b3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18009b5a0
mov rcx, qword [0x180149f28]
not eax
cmp dword [rcx + 0x3ed4], eax
jne 0x18009b5e7
mov dword [rcx + 0x3ed8], eax
cmp dword [rcx + 0x3f00], eax
jne 0x18009b656
mov byte [rcx + 0x3f04], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x180149f28]
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov r8, qword [rbx + 0x3e88]
movsxd rax, dword [r8 + 0xd0]
mov r8, qword [r8 + 0xd8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180065660
cmp dword [rbx + 0x3ebc], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x18009b64f
mov r8, rdi
mov edx, reloc.WS2_32.dll_inet_addr
mov ecx, eax
call fcn.180079d80
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800ab070
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x180148040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rsi, rcx
mov qword [rsp + 0x80], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
mov rcx, qword [0x180149d70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x180149d70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
movzx ebp, word [rcx + rbx + 6]
mov rcx, qword [0x180149d70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x180149d70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rdi, dword [rax + 0x3c]
add rdi, rbx
mov rcx, qword [0x180149d70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x180149d70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea rbx, [rdi + 0x18]
add rbx, rax
cmp r14w, bp
jae 0x1800ab231
mov edi, ebp
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1800ab172
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.180016750
nop
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x30]
call fcn.18002d5f0
movups xmm2, xmmword [rbx]
movaps xmmword [rsp + 0x50], xmm2
movups xmm3, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x60], xmm3
movsd xmm4, qword [rbx + 0x20]
movsd qword [rsp + 0x70], xmm4
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x1800ab1fd
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], socket
mov byte [rsp + 0x30], 0
movups xmmword [rdx + 0x20], xmm2
movups xmmword [rdx + 0x30], xmm3
movsd qword [rdx + 0x40], xmm4
add qword [rsi + 8], 0x48
jmp 0x1800ab20b
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.1800aad00
nop
lea rcx, [rsp + 0x30]
call fcn.18002d710
nop
lea rcx, [rsp + 0x88]
call fcn.18002d710
add rbx, 0x28
sub rdi, 1
jne 0x1800ab150
mov rax, rsi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1800ec360
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800ab320
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x180148040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x30], rdx
xor r13d, r13d
lea rcx, [rsp + 0x40]
call fcn.1800ab070
nop
mov rdi, qword [rsp + 0x40]
mov rbx, rdi
mov rbp, qword [rsp + 0x48]
cmp rdi, rbp
je 0x1800ab3b8
mov r15, qword [rsi + 0x18]
mov r12, qword [rsi + 0x10]
nop dword [rax + rax]
mov rdx, rsi
cmp r15, 0xf
jbe 0x1800ab38c
mov rdx, qword [rsi]
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800ab39d
mov rcx, qword [rbx]
cmp r8, r12
jne 0x1800ab3af
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800ab437
add rbx, 0x48
cmp rbx, rbp
jne 0x1800ab380
test rdi, rdi
je 0x1800ab4fd
cmp rdi, rbp
je 0x1800ab3dc
mov rcx, rdi
call fcn.18002d710
add rdi, 0x48
cmp rdi, rbp
jne 0x1800ab3c6
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
sub rcx, rdi
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*8]
shl rdx, 3
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800ab4f5
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ab4f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rbx
mov rcx, r14
call fcn.18002d5f0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [r14 + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [r14 + 0x30], xmm1
movsd xmm0, qword [rbx + 0x40]
movsd qword [r14 + 0x40], xmm0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1800ab54e
mov rdi, qword [rsp + 0x48]
cmp rbx, rdi
je 0x1800ab48d
mov rcx, rbx
call fcn.18002d710
add rbx, 0x48
cmp rbx, rdi
jne 0x1800ab477
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
sub rcx, rbx
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*8]
shl rdx, 3
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800ab4dd
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800ab430
mov rcx, rbx
call fcn.1800ec3ac
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
jmp 0x1800ab54e
mov rcx, rdi
call fcn.1800ec3ac
mov r9d, 0x10
lea r8, str.Memcury::PE::Section::GetSection
lea rdx, str.Section_not_found
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x30], xmm0
mov qword [r14 + 0x40], rax
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 0xf
mov byte [r14], al
mov rcx, rsi
call fcn.18002d710
mov rax, r14
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800ec360
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800c0d50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13f0
call fcn.1800ed620
sub rsp, rax
mov rax, qword [0x180148040]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov r8d, 0x24
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
lea rcx, [rsp + 0x30]
call fcn.18002bd50
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov ecx, 1
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x1800c0de0
mov dword [rsp + 0x50], 0x270
mov r14d, dword [rsp + 0x40]
dec r14d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.CraniumGen_
mov rcx, rbx
call fcn.18002bd50
mov dword [rsp + 0x20], 1
mov eax, 0x80000000
xor r14d, eax
mov ebp, 0xa
mov r15, qword [rsp + 0x48]
mov r12, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
cmp r14d, 0x7fffffff
jne 0x1800c0e68
call fcn.1800c1920
mov ecx, eax
jmp 0x1800c0ea8
lea edi, [r14 - 0x7fffffff]
call fcn.1800c1920
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x1800c0ea4
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1800c0ea4
nop
lea rcx, [rsp + 0x50]
call fcn.1800c1920
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1800c0e90
shr rcx, 0x20
mov r8d, 0x80000000
lea eax, [rcx + r8]
xor eax, r8d
lea rcx, [rsp + 0x30]
cmp r15, 7
cmova rcx, r12
cdqe
movzx r9d, word [rcx + rax*2]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1800c0ef7
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 7
jbe 0x1800c0eea
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1800c0eff
mov rcx, rbx
call fcn.18002b750
sub rbp, 1
jne 0x1800c0e51
lea rcx, [rsp + 0x30]
call fcn.18002d480
mov rax, rbx
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.1800ec360
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800c1920
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1800c1981
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1800c1940
mov ecx, dword [r9]
jmp 0x1800c1a6b
cmp ecx, 0x4e0
jb 0x1800c1a6b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1800c19a0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1800c19f0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1800c9840
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x18014a908]
test rax, rax
jne 0x1800c9a5c
movups xmm0, xmmword [0x180129fb0]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x180129fc0]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x180129fd0]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x180129fe0]
movups xmmword [rsp + 0x70], xmm1
xor ecx, ecx
cmp dword [0x180148090], 2
jl 0x1800c99c1
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
movdqa xmm6, xmmword [0x18012e1e0]
mov r8d, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x40
jl 0x1800c98e0
jmp 0x1800c99fd
lea r8, [rsp + 0x40]
nop word [rax + rax]
mov eax, 0x2f684bdb
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x40
jl 0x1800c99d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800c9a20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180016750
nop
lea rcx, [rsp + 0x20]
call fcn.1800c1820
mov qword [0x18014a908], rax
lea rcx, [rsp + 0x20]
call fcn.18002d710
mov rax, qword [0x18014a908]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x1800cab90
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x18014a8f0]
test rax, rax
jne 0x1800cadbc
movups xmm0, xmmword [0x180129ef0]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x180129f00]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x180129f10]
movups xmmword [rsp + 0x60], xmm0
mov eax, dword [0x180129f20]
mov dword [rsp + 0x70], eax
movzx eax, word [0x180129f24]
mov word [rsp + 0x74], ax
movzx eax, byte [0x180129f26]
mov byte [rsp + 0x76], al
xor ecx, ecx
cmp dword [0x180148090], 2
jl 0x1800cad24
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
movdqa xmm6, xmmword [0x18012e1e0]
mov r8d, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x30
jl 0x1800cac40
cmp ecx, 0x37
jge 0x1800cad5c
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x37
jl 0x1800cad30
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800cad80
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180016750
nop
lea rcx, [rsp + 0x20]
call fcn.1800c1820
mov qword [0x18014a8f0], rax
lea rcx, [rsp + 0x20]
call fcn.18002d710
mov rax, qword [0x18014a8f0]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x1800caef0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x18014a8d0]
test rax, rax
jne 0x1800cb10c
movups xmm0, xmmword [0x180129eb0]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x180129ec0]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x180129ed0]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x180129ee0]
movups xmmword [rsp + 0x70], xmm1
xor ecx, ecx
cmp dword [0x180148090], 2
jl 0x1800cb071
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
movdqa xmm6, xmmword [0x18012e1e0]
mov r8d, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x40
jl 0x1800caf90
jmp 0x1800cb0ad
lea r8, [rsp + 0x40]
nop word [rax + rax]
mov eax, 0x2f684bdb
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x40
jl 0x1800cb080
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800cb0d0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180016750
nop
lea rcx, [rsp + 0x20]
call fcn.1800c1820
mov qword [0x18014a8d0], rax
lea rcx, [rsp + 0x20]
call fcn.18002d710
mov rax, qword [0x18014a8d0]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
ret