joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d9c8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d9f8
xor eax, eax
jmp 0x14000dabb
mov rbp, rbx
cmp word [rax], si
je 0x14000da1d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000da04
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000da00
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d8e8
movsxd r14, eax
test eax, eax
jne 0x14000da5b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d9f1
mov rcx, r14
call fcn.140008fac
mov rdi, rax
test rax, rax
jne 0x14000da74
xor ecx, ecx
call fcn.140009564
jmp 0x14000da50
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d8e8
test eax, eax
jne 0x14000daa5
mov rcx, rdi
call fcn.140009564
jmp 0x14000daaf
xor ecx, ecx
call fcn.140009564
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140011ddc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140011df2
mov al, 1
jmp 0x140011e52
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140011e03
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140011e50
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000e2e8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011e50
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140011e50
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140011e50
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140011e52
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140012e90
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000c9b8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140012f1a
cmp byte [rbp - 0x21], r15b
je 0x140012f15
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140012f50
call fcn.1400097b4
test eax, eax
jne 0x140012f3c
cmp byte [rbp - 0x21], r15b
je 0x140012f34
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140012f50
cmp byte [rbp - 0x21], r15b
je 0x140012f4d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000bf98
test eax, eax
jne 0x140012ff0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000c9b8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140012f8f
cmp byte [rbp - 0x21], r15b
je 0x140012fc4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012fc4
call fcn.1400097b4
test eax, eax
jne 0x140012fb0
cmp byte [rbp - 0x21], r15b
je 0x140012fa9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012fc4
cmp byte [rbp - 0x21], r15b
je 0x140012fc1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000bf98
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140012ff0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140012ff3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140013001
mov rcx, rdi
call fcn.140009564
cmp byte [rbp + 0x3f], r15b
je 0x140013010
mov rcx, qword [rbp + 0x27]
call fcn.140009564
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140015580
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400155a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400155a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400011b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000122e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000122e
nop
lea rdx, str.ProSoccerOnline_Win64_Shipping.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000122a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001200
jmp 0x14000122e
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140002490
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
Function at 0x140002e44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002e8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002e8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002e8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002e8e
cmp dword [rcx + 0x84], 0xe
jbe 0x140002e8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002e90
xor al, al
add rsp, 0x28
ret
Function at 0x180001560
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xd0
mov rax, qword [0x18001f010]
xor rax, rsp
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
mov rax, qword [rsp + 0x100]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [r8]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rax]
mov rax, qword [0x180023e28]
movss dword [rsp + 0x40], xmm3
movups xmmword [rsp + 0x44], xmm0
test rax, rax
jne 0x1800017ca
mov eax, dword [0x18001aa70]
xor r8d, r8d
cmp dword [0x18001f020], 2
movups xmm0, xmmword [str.rS_BTE]
mov dword [rsp + 0x78], eax
movups xmm1, xmmword [0x18001aa60]
movzx eax, word [0x18001aa74]
movups xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x7c], ax
movups xmmword [rsp + 0x68], xmm1
jl 0x18000175c
movdqa xmm5, xmmword [0x18001bcb0]
lea rcx, [r11 - 0x80]
movdqa xmm4, xmmword [0x18001beb0]
mov eax, 5
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18001bcd0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x18001bce0]
movd xmm8, eax
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
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x180001641
movaps xmm9, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
cmp r8d, 0x13
jge 0x1800017a8
movsxd rax, r8d
lea r9, [rsp + 0x58]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x13
jl 0x180001770
mov rax, qword [0x18001f900]
lea r8, [rsp + 0x58]
add rax, 0x1216928
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180023e28], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x268]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180018d90
add rsp, 0xd0
pop rbx
ret
Function at 0x180001800
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xc0
mov rax, qword [0x18001f010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [0x180023e20]
mov rbx, rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
test rax, rax
jne 0x180001a35
cmp dword [0x18001f020], 2
movups xmm0, xmmword [str.w_A_bSVHVT]
movups xmm1, xmmword [0x18001ba50]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x18001ba60]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x18001ba70]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
jl 0x1800019d3
movdqa xmm5, xmmword [0x18001bcb0]
lea rdx, [rsp + 0x30]
movdqa xmm4, xmmword [0x18001beb0]
mov eax, 5
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18001bcd0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x18001bce0]
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
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x20
jl 0x1800018c0
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
jmp 0x180001a13
lea r8, [rsp + 0x30]
nop dword [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x20
jl 0x1800019e0
mov rax, qword [0x18001f900]
lea r8, [rsp + 0x30]
add rax, 0x1216928
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180023e20], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x268]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180018d90
add rsp, 0xc0
pop rbx
ret
Function at 0x180001a70
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xb0
mov rax, qword [0x18001f010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [0x180023e88]
mov rbx, rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
test rax, rax
jne 0x180001cb5
cmp dword [0x18001f020], 2
movups xmm0, xmmword [0x18001b230]
movzx eax, word [0x18001b268]
movups xmm1, xmmword [0x18001b240]
mov word [rsp + 0x60], ax
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [0x18001b250]
movups xmmword [rsp + 0x38], xmm1
movups xmmword [rsp + 0x48], xmm0
movsd xmm0, qword [0x18001b260]
movsd qword [rsp + 0x58], xmm0
jl 0x180001c53
movdqa xmm5, xmmword [0x18001bcb0]
lea rdx, [rsp + 0x28]
movdqa xmm4, xmmword [0x18001beb0]
mov eax, 5
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18001bcd0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x18001bce0]
movd xmm8, eax
nop dword [rax + 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
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x18
jl 0x180001b40
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp ecx, 0x1d
jge 0x180001c93
movsxd rax, ecx
lea r8, [rsp + 0x28]
lea r8, [r8 + rax*2]
nop
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x1d
jl 0x180001c60
mov rax, qword [0x18001f900]
lea r8, [rsp + 0x28]
add rax, 0x1216928
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180023e88], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x268]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180018d90
add rsp, 0xb0
pop rbx
ret
Function at 0x180001cf0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xb0
mov rax, qword [0x18001f010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [0x180023de8]
mov rbx, rcx
xor ecx, ecx
mov qword [rsp + 0x20], rcx
test rax, rax
jne 0x180001f35
cmp dword [0x18001f020], 2
movups xmm0, xmmword [0x18001b640]
movzx eax, word [0x18001b670]
movups xmm1, xmmword [0x18001b650]
mov word [rsp + 0x58], ax
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [0x18001b660]
movups xmmword [rsp + 0x38], xmm1
movups xmmword [rsp + 0x48], xmm0
jl 0x180001ec5
movdqa xmm5, xmmword [0x18001bcb0]
lea rdx, [rsp + 0x28]
movdqa xmm4, xmmword [0x18001beb0]
mov eax, 5
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18001bcd0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x18001bce0]
movd xmm8, eax
nop
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
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov eax, ecx
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x18
jl 0x180001db0
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp eax, 0x19
jge 0x180001f13
movsxd rax, ecx
lea r8, [rsp + 0x28]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x19
jl 0x180001ee0
mov rax, qword [0x18001f900]
lea r8, [rsp + 0x28]
add rax, 0x1216928
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180023de8], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x268]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180018d90
add rsp, 0xb0
pop rbx
ret
Function at 0x180001f70
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x18001f010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword [0x180023da0]
mov rdi, rdx
mov rbx, rcx
test rax, rax
jne 0x1800021ba
movups xmm0, xmmword [0x18001b1f8]
mov eax, dword [0x18001b228]
xor r8d, r8d
cmp dword [0x18001f020], 2
movups xmm1, xmmword [0x18001b208]
mov dword [rsp + 0x70], eax
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x18001b218]
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm0
jl 0x18000214b
movdqa xmm5, xmmword [0x18001bcb0]
lea rcx, [rsp + 0x40]
movdqa xmm4, xmmword [0x18001beb0]
mov eax, 5
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18001bcd0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x18001bce0]
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
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x18
jl 0x180002030
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
cmp r8d, 0x1a
jge 0x180002198
movsxd rax, r8d
lea r9, [rsp + 0x40]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x1a
jl 0x180002160
mov rax, qword [0x18001f900]
lea r8, [rsp + 0x40]
add rax, 0x1216928
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180023da0], rax
movups xmm0, xmmword [rdi]
lea r8, [rsp + 0x20]
mov r9, qword [rbx]
movsd xmm1, qword [rdi + 0x10]
mov rdx, rax
mov rcx, rbx
movsd qword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x38], 0
mov byte [rsp + 0x3a], 1
call qword [r9 + 0x268]
movzx eax, byte [rsp + 0x3b]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180018d90
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
Function at 0x180002220
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x18001f010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword [0x180023db0]
mov rdi, rdx
mov rbx, rcx
test rax, rax
jne 0x18000246a
movups xmm0, xmmword [0x18001b1f8]
mov eax, dword [0x18001b228]
xor r8d, r8d
cmp dword [0x18001f020], 2
movups xmm1, xmmword [0x18001b208]
mov dword [rsp + 0x70], eax
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x18001b218]
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm0
jl 0x1800023fb
movdqa xmm5, xmmword [0x18001bcb0]
lea rcx, [rsp + 0x40]
movdqa xmm4, xmmword [0x18001beb0]
mov eax, 5
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18001bcd0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x18001bce0]
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
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x18
jl 0x1800022e0
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
cmp r8d, 0x1a
jge 0x180002448
movsxd rax, r8d
lea r9, [rsp + 0x40]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x1a
jl 0x180002410
mov rax, qword [0x18001f900]
lea r8, [rsp + 0x40]
add rax, 0x1216928
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180023db0], rax
movups xmm0, xmmword [rdi]
lea r8, [rsp + 0x20]
mov r9, qword [rbx]
movsd xmm1, qword [rdi + 0x10]
mov rdx, rax
mov rcx, rbx
movsd qword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x38], 0
mov byte [rsp + 0x3a], 0
call qword [r9 + 0x268]
movzx eax, byte [rsp + 0x3b]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180018d90
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret