joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400156b0
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x140a63460]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x1400156d3
lea rax, [0x140a63468]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x14001571b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140015718
lea rax, [0x140a634a0]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x14001574b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140015748
xor ecx, ecx
mov byte [0x140a634b9], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x140a634c2], rdx
lea r8, [0x140a63460]
lea rbx, [0x140a634ba]
mov qword [0x140a634d2], rdx
mov qword [0x140a634e2], rdx
mov qword [0x140a634f2], rdx
xor edx, edx
mov qword [0x140a634ba], rax
mov qword [0x140a634ca], rax
mov qword [0x140a634da], rax
mov qword [0x140a634ea], rax
mov byte [0x140a634fa], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140015926
lea rcx, [0x140a634a0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140015871
lea rsi, [0x140a633a0]
lea r8, [0x140a634fa]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x14001581d
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x140015810
lea rcx, [0x140a634a0]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x140015913
lea rcx, [0x1400155c0]
mov qword [0x140a633a0], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x140a633a0]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x140a634a0]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x140a634fa]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x140015946
nop dword [rax]
cmp byte [rax], 0x41
jne 0x1400158c3
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x1400158b0
mov rax, rdx
mov qword [0x140a633a0], rax
lea rsi, [0x140a633a0]
jmp 0x1400158e9
cmp rdx, rsi
je 0x14001584f
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400158e0
cmp rdx, rsi
je 0x14001584f
mov qword [rdx + 8], rsi
lea rcx, [0x1400155c0]
call sub.msvcrt.dll__onexit
jmp 0x14001584f
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.140015530
xor eax, eax
jmp 0x140015868
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.140015530
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.140015530
xor eax, eax
jmp 0x1400158cf
Function at 0x14007e200
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x14007e227
call rbp
cmp dword [rax], 4
jne 0x14007e244
mov rcx, rdi
call fcn.14007e020
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x14007e220
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x180005890
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xc0
mov rax, qword [0x180088060]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [0x18008d3b0]
mov rbx, rcx
test rax, rax
jne 0x180005ac5
movups xmm0, xmmword [0x18007be08]
movzx eax, word [0x18007be38]
xor ecx, ecx
cmp dword [0x180088068], 2
movups xmm1, xmmword [str.U_M__66k]
mov word [rsp + 0x60], ax
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x18007be28]
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm0
jl 0x180005a60
movdqa xmm5, xmmword [0x18007c070]
lea rdx, [rsp + 0x30]
movdqa xmm4, xmmword [0x18007c150]
mov eax, 4
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18007c090]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [str.55555555]
movd xmm8, eax
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x18
jl 0x180005950
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
cmp ecx, 0x19
jge 0x180005aa1
movsxd rax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x36
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x35
xor word [r8 - 2], ax
cmp ecx, 0x19
jl 0x180005a70
mov rax, qword [0x18008d170]
lea r8, [rsp + 0x30]
xor r9d, r9d
add rax, 0x45dc480
xor ecx, ecx
lea rdx, [r9 - 1]
call rax
mov qword [0x18008d3b0], rax
mov r10, qword [0x18008d170]
lea r8, [rsp + 0x68]
add r10, 0x45c7e30
mov byte [rsp + 0x68], 0
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov rdx, rax
mov rcx, rbx
call r10
movzx eax, byte [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18003b7e0
add rsp, 0xc0
pop rbx
ret
Function at 0x180006190
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
mov rax, qword [0x180088060]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rax, qword [0x18008d3a0]
mov rbx, rcx
test rax, rax
jne 0x1800063e9
cmp dword [0x180088068], 2
movups xmm0, xmmword [0x18007a880]
movups xmm1, xmmword [0x18007a890]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x18007a8a0]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x18007a8c0]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x18007a8b0]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [0x18007a8e0]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x18007a8d0]
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x78], xmm1
jl 0x18000637d
movdqa xmm5, xmmword [0x18007c070]
lea rcx, [rsp + 0x30]
movdqa xmm4, xmmword [0x18007c150]
mov eax, 4
movaps xmmword [r11 - 0x18], xmm6
xor edx, edx
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18007c090]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [str.55555555]
movd xmm8, eax
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x38
jl 0x180006270
movaps xmm9, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm6, xmmword [rsp + 0xe0]
jmp 0x1800063c5
lea r9, [rsp + 0x30]
xor r8d, r8d
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x38
jl 0x180006390
mov rax, qword [0x18008d170]
lea r8, [rsp + 0x30]
xor r9d, r9d
add rax, 0x45dc480
xor ecx, ecx
lea rdx, [r9 - 1]
call rax
mov qword [0x18008d3a0], rax
mov r10, qword [0x18008d170]
lea r8, [rsp + 0xa0]
add r10, 0x45c7e30
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, rax
mov rcx, rbx
call r10
movss xmm0, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.18003b7e0
add rsp, 0xf0
pop rbx
ret
Function at 0x180006440
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xe0
movaps xmmword [r11 - 0x58], xmm10
mov rax, qword [0x180088060]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [0x18008d250]
movaps xmm10, xmm1
mov rbx, rcx
test rax, rax
jne 0x18000669a
movups xmm0, xmmword [0x18007a170]
xor r8d, r8d
cmp dword [0x180088068], 2
movups xmm2, xmmword [0x18007a180]
movups xmm1, xmmword [0x18007a1a0]
mov eax, dword [0x18007a1b8]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x18007a190]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x18007a1b0]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x40], xmm2
movups xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x78], eax
jl 0x180006635
movdqa xmm5, xmmword [0x18007c070]
lea rcx, [rsp + 0x30]
movdqa xmm4, xmmword [0x18007c150]
mov eax, 4
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18007c090]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [str.55555555]
movd xmm8, eax
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x180006520
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
cmp r8d, 0x26
jge 0x180006676
movsxd rax, r8d
lea r9, [rsp + 0x30]
lea r9, [r9 + rax*2]
mov eax, 0x4bda12f7
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x26
jl 0x180006641
mov rax, qword [0x18008d170]
lea r8, [rsp + 0x30]
xor r9d, r9d
add rax, 0x45dc480
xor ecx, ecx
lea rdx, [r9 - 1]
call rax
mov qword [0x18008d250], rax
mov r10, qword [0x18008d170]
lea r8, [rsp + 0x80]
add r10, 0x45c7e30
movss dword [rsp + 0x80], xmm10
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov rdx, rax
mov rcx, rbx
call r10
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18003b7e0
movaps xmm10, xmmword [rsp + 0x90]
add rsp, 0xe0
pop rbx
ret
Function at 0x180006700
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xe0
movaps xmmword [r11 - 0x58], xmm10
mov rax, qword [0x180088060]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [0x18008d398]
movaps xmm10, xmm1
mov rbx, rcx
test rax, rax
jne 0x18000695a
movups xmm0, xmmword [0x18007ab60]
xor r8d, r8d
cmp dword [0x180088068], 2
movups xmm2, xmmword [0x18007ab70]
movups xmm1, xmmword [0x18007ab90]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x18007ab80]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x18007aba0]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x40], xmm2
movups xmmword [rsp + 0x60], xmm1
jl 0x1800068f5
movdqa xmm5, xmmword [0x18007c070]
lea rcx, [rsp + 0x30]
movdqa xmm4, xmmword [0x18007c150]
mov eax, 4
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18007c090]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [str.55555555]
movd xmm8, eax
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x1800067e0
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
cmp r8d, 0x24
jge 0x180006936
movsxd rax, r8d
lea r9, [rsp + 0x30]
lea r9, [r9 + rax*2]
mov eax, 0x4bda12f7
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x24
jl 0x180006901
mov rax, qword [0x18008d170]
lea r8, [rsp + 0x30]
xor r9d, r9d
add rax, 0x45dc480
xor ecx, ecx
lea rdx, [r9 - 1]
call rax
mov qword [0x18008d398], rax
mov r10, qword [0x18008d170]
lea r8, [rsp + 0x80]
add r10, 0x45c7e30
movss dword [rsp + 0x80], xmm10
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov rdx, rax
mov rcx, rbx
call r10
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18003b7e0
movaps xmm10, xmmword [rsp + 0x90]
add rsp, 0xe0
pop rbx
ret
Function at 0x180006c90
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x180088060]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [0x18008d140]
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test rax, rax
jne 0x180006ed5
cmp dword [0x180088068], 2
movups xmm0, xmmword [0x18007b520]
movups xmm1, xmmword [str.RPK2..__7h_v__]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x18007b540]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x18007b550]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
jl 0x180006e6d
movdqa xmm5, xmmword [0x18007c070]
lea rcx, [rsp + 0x30]
movdqa xmm4, xmmword [0x18007c150]
mov eax, 4
movaps xmmword [r11 - 0x28], xmm6
xor edx, edx
movaps xmmword [r11 - 0x38], xmm7
movdqa xmm7, xmmword [0x18007c090]
movaps xmmword [r11 - 0x48], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x58], xmm9
movdqa xmm9, xmmword [str.55555555]
movd xmm8, eax
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x20
jl 0x180006d60
movaps xmm9, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
jmp 0x180006eb1
lea r8, [rsp + 0x30]
xor ecx, ecx
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x36
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x35
xor word [r8 - 2], ax
cmp ecx, 0x20
jl 0x180006e80
mov rax, qword [0x18008d170]
lea r8, [rsp + 0x30]
xor r9d, r9d
add rax, 0x45dc480
xor ecx, ecx
lea rdx, [r9 - 1]
call rax
mov qword [0x18008d140], rax
mov edx, dword [rbx + 8]
lea r8, [rsp + 0x70]
mov r10, qword [0x18008d170]
xor ecx, ecx
movsd xmm0, qword [rbx]
add r10, 0x45c7e30
mov dword [rsp + 0x84], ecx
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov dword [rsp + 0x80], edx
mov rdx, rax
mov qword [rsp + 0x70], rsi
movsd qword [rsp + 0x78], xmm0
call r10
movzx eax, byte [rsp + 0x85]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18003b7e0
add rsp, 0xd0
pop rdi
pop rsi
pop rbx
ret
Function at 0x180010180
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
mov rax, qword [0x180088060]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rax, qword [0x18008d388]
mov rbx, rcx
test rax, rax
jne 0x1800103d5
movups xmm0, xmmword [0x18007a5d0]
xor ecx, ecx
cmp dword [0x180088068], 2
movups xmm1, xmmword [0x18007a5e0]
movzx eax, word [0x18007a630]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x18007a5f0]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x18007a600]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x18007a610]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x18007a620]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [r11 - 0x78], xmm1
mov word [r11 - 0x68], ax
jl 0x180010370
movdqa xmm5, xmmword [0x18007c070]
lea rdx, [rsp + 0x30]
movdqa xmm4, xmmword [0x18007c150]
mov eax, 4
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18007c090]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [str.55555555]
movd xmm8, eax
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x30
jl 0x180010260
movaps xmm9, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm6, xmmword [rsp + 0xe0]
cmp ecx, 0x31
jge 0x1800103b1
movsxd rax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x36
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x35
xor word [r8 - 2], ax
cmp ecx, 0x31
jl 0x180010380
mov rax, qword [0x18008d170]
lea r8, [rsp + 0x30]
xor r9d, r9d
add rax, 0x45dc480
xor ecx, ecx
lea rdx, [r9 - 1]
call rax
mov qword [0x18008d388], rax
mov r10, qword [0x18008d170]
lea r8, [rsp + 0xa0]
mov rcx, qword [0x18008d1f0]
add r10, 0x45c7e30
xor r9d, r9d
mov qword [rsp + 0xa0], rbx
mov rdx, rax
mov qword [rsp + 0x20], 0
call r10
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.18003b7e0
add rsp, 0xf0
pop rbx
ret