joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400054f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140021350]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rsp + 0x48]
or r9d, 0x2001f
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
call fcn.140005060
mov ebx, eax
test eax, eax
jne 0x14000561e
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400055e1
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400054f0
mov ebx, eax
test eax, eax
jne 0x14000561e
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140005590
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400055f6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rcx, qword [rdi + 0x10]
mov dword [rsp + 0x50], ebp
test rcx, rcx
je 0x140005610
mov rdx, qword [rdi]
mov r8, rsi
call fcn.140005660
jmp 0x14000561c
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000562e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000b350
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x140005660
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x1400056d4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x1400056ef
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x1400056ef
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je case.default.0x1400056ef
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
invalid
Function at 0x1400058f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140021350]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000597e
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000597e
call fcn.140003c80
mov ebx, eax
jmp 0x140005aa6
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000599f
call fcn.140003c80
jmp 0x140005a95
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400059c2
call fcn.140003c80
jmp 0x140005a95
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x1400059e4
mov ebx, 0x8007000e
jmp 0x140005a97
mov ecx, eax
test eax, eax
je 0x140005a1c
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140005a12
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140005a1c
lea rcx, [rsp + 0x70]
call fcn.140003af0
jmp 0x140005a26
mov ecx, 0x80070216
call fcn.140003cb0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140005a39
cmp qword [rsp + 0x70], 0
jne 0x140005a48
mov ebx, 0x8007000e
jmp 0x140005a97
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140005a72
call fcn.140003c80
jmp 0x140005a95
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140005710
mov ebx, eax
test rdi, rdi
je 0x140005aa6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140005abd
lea rcx, [rsp + 0x70]
call fcn.140004a50
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14000b350
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006260
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
mov bl, 1
mov ecx, 0x20a
call fcn.1400099dc
mov rsi, rax
test rax, rax
jne 0x14000629e
xor bl, bl
xor ecx, ecx
call fcn.14000a238
jmp 0x1400062f4
mov r8, qword [rdi]
mov edx, 0x104
mov rcx, rax
call fcn.14000b8c4
mov rax, qword [rdi]
movsxd rcx, dword [rax - 8]
xor eax, eax
mov word [rsi + rcx*2 + 2], ax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rax
mov eax, 0x614
mov word [rsp + 0x48], ax
lea rcx, [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x1400062f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
mov rax, qword [rdi]
add rax, 0xfffffffffffffff4
cmp rax, qword [0x140021010]
je 0x140006316
lock add dword [rax], 0xffffffff
jg 0x140006316
mov rcx, qword [rdi]
sub rcx, 0xc
call fcn.14000a238
movzx eax, bl
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140007960
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x1400079a0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400079e7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400079e7
test al, 1
je 0x1400079df
xor eax, 1
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 1
sete al
add rsp, 0x20
pop rbx
ret
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400079f0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x140007a08
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140007a14
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x140007a10
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x140008f60
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov bpl, 1
test rdx, rdx
jne 0x140008f88
mov eax, esi
jmp 0x140008f91
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
mov rcx, rdi
call fcn.140001320
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rbx, qword [rsp + 0x30]
movzx ecx, bpl
mov rbp, qword [rsp + 0x38]
test eax, eax
cmove ecx, esi
mov rsi, qword [rsp + 0x40]
movzx eax, cl
add rsp, 0x20
pop rdi
ret

Function at 0x140008fd0
Capabilities:
Read .ini file

Disassembly:
mov rcx, qword [rcx]
jmp 0x140008fe0
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140021350]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140009050
cmp word [rdx], 0
je 0x140009050
test rbx, rbx
je 0x140009050
cmp word [r8], 0
je 0x140009050
mov r9, rcx
lea rdx, [rsp + 0x20]
mov r8d, 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x140009050
mov r9, rsi
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp eax, 1
sete al
jmp 0x140009052
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000b350
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140008fe0
Capabilities:
Read .ini file

Disassembly:
mov rcx, qword [rcx]
jmp 0x140008fe0
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140021350]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140009050
cmp word [rdx], 0
je 0x140009050
test rbx, rbx
je 0x140009050
cmp word [r8], 0
je 0x140009050
mov r9, rcx
lea rdx, [rsp + 0x20]
mov r8d, 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x140009050
mov r9, rsi
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp eax, 1
sete al
jmp 0x140009052
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000b350
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001340
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x490
mov rax, qword [0x140163020]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rax, qword gs:[0x60]
mov rsi, rdx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000146d
xor ebp, ebp
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x150]
mov r8d, 0x104
call fcn.14000a930
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.14000a930
mov r8, qword [rbx + 0x40]
lea rax, [rsp + 0x150]
mov qword [rsp + 0x38], rbp
mov r9d, 0xffffffff
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x28], 0x104
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [0x140022008]
mov r8, rsi
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.14000ee28
lea r8, [rsp + 0x40]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.14000ee28
lea r8, [rsp + 0x150]
mov edx, 0x104
lea rcx, [rsp + 0x370]
call fcn.14000ee28
lea rcx, [rsp + 0x260]
call fcn.14000f0ac
lea rcx, [rsp + 0x370]
call fcn.14000f0ac
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x370]
call fcn.140009f7c
test rax, rax
jne 0x140001498
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140001390
xor eax, eax
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400081a0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x14000146f

Function at 0x1400014a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rdx + 0x3c]
mov rdi, r8
mov r11, rdx
cmp dword [rax + rdx + 0x8c], 0
je 0x140001523
mov eax, dword [rax + rdx + 0x88]
xor r9d, r9d
add rax, rdx
mov esi, dword [rax + 0x1c]
mov ebp, dword [rax + 0x24]
add rsi, rdx
mov r10d, dword [rax + 0x20]
add rbp, rdx
mov ebx, dword [rax + 0x18]
add r10, rdx
test ebx, ebx
je 0x140001523
nop
mov eax, dword [r10]
mov r8, rdi
add rax, r11
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001513
inc rax
test ecx, ecx
jne 0x140001500
test edx, edx
je 0x14000153a
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x1400014f0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x140001525
Function at 0x140001550
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [0x14015e008]
xor ecx, ecx
cmp dword [0x140163030], 2
mov rbx, rdx
movsd xmm0, qword [0x14015e000]
mov dword [rbp - 0x18], eax
movzx eax, byte [0x14015e00c]
mov byte [rbp - 0x14], al
movsd qword [rbp - 0x20], xmm0
jl 0x1400016a7
movdqa xmm2, xmmword [0x14015e0f0]
mov eax, 5
movdqa xmm3, xmmword [0x14015e100]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14015e190]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x40], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14015e130]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14015e000]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14015e140]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14015e150]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x40]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14015e130]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x1c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14015e140]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14015e150]
xorps xmm2, xmm0
movd dword [rbp - 0x1c], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x20]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0xd
jl 0x1400016c0
cmp byte [0x14015df69], 0
movsd xmm0, qword [0x14015df60]
movzx eax, word [0x14015df68]
movsd qword [rbp - 0x30], xmm0
mov word [rbp - 0x28], ax
je 0x140001738
xor byte [rbp - 0x2f], 0x33
xor byte [rbp - 0x2e], 0x34
xor byte [rbp - 0x2d], 0x35
xor byte [rbp - 0x2c], 0x36
xor byte [rbp - 0x2b], 0x37
xor byte [rbp - 0x2a], 0x38
xor byte [rbp - 0x29], 0x39
xor byte [rbp - 0x28], 0x3a
xor byte [rbp - 0x27], 0x3b
mov byte [rbp - 0x30], 0x6e
lea rdx, [rbp - 0x30]
call fcn.140001340
lea r8, [rbp - 0x20]
mov rdx, rax
call fcn.1400014a0
test rax, rax
je 0x140001757
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x140001a30
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
movups xmm0, xmmword [0x14015df88]
movzx eax, byte [0x14015df98]
xor ecx, ecx
cmp dword [0x140163030], 2
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x40], al
jl 0x140001bca
movdqa xmm0, xmmword [0x14015e150]
lea rdx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x14015e0f0]
mov eax, 5
movdqa xmm4, xmmword [0x14015e190]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x14015e130]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x50], xmm8
movdqa xmmword [rbp - 0x60], xmm0
mov r8d, dword [rbp - 0x60]
movd xmm8, eax
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14015e140]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14015e140]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140001ab0
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x11
jge 0x140001c0f
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x140001be0
cmp byte [0x14015df69], 0
movsd xmm0, qword [0x14015df60]
movzx eax, word [0x14015df68]
movsd qword [rbp - 0x60], xmm0
mov word [rbp - 0x58], ax
je 0x140001c58
xor byte [rbp - 0x5f], 0x33
xor byte [rbp - 0x5e], 0x34
xor byte [rbp - 0x5d], 0x35
xor byte [rbp - 0x5c], 0x36
xor byte [rbp - 0x5b], 0x37
xor byte [rbp - 0x5a], 0x38
xor byte [rbp - 0x59], 0x39
xor byte [rbp - 0x58], 0x3a
xor byte [rbp - 0x57], 0x3b
mov byte [rbp - 0x60], 0x6e
lea rdx, [rbp - 0x60]
call fcn.140001340
lea r8, [rbp - 0x50]
mov rdx, rax
call fcn.1400014a0
test rax, rax
je 0x140001c7d
call rax
add rsp, 0x80
pop rbp
ret
add rsp, 0x80
pop rbp
ret
Function at 0x140002020
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [r11 - 0x4f]
sub rsp, 0xa0
mov rax, qword [0x140163020]
xor rax, rsp
mov qword [rbp + 7], rax
cmp byte [0x14015dffb], 0
mov r14d, r9d
movsd xmm0, qword [0x14015dff0]
mov rsi, r8
mov eax, dword [0x14015dff8]
mov rdi, rdx
mov rbx, qword [rbp + 0x77]
movsd qword [rbp - 0x19], xmm0
mov dword [rbp - 0x11], eax
je 0x1400021df
xor ecx, ecx
cmp dword [0x140163030], 2
jl 0x140002199
movdqa xmm2, xmmword [0x14015e0f0]
mov eax, 5
movdqa xmm3, xmmword [0x14015e100]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14015e190]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [r11 - 0x38], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14015e130]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14015dff0]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14015e140]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14015e150]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x19], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [r11 - 0x38]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14015e130]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x15]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14015e140]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14015e150]
xorps xmm2, xmm0
movd dword [rbp - 0x15], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x19]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0xc
jl 0x1400021b0
cmp byte [0x14015df69], 0
movsd xmm0, qword [0x14015df60]
movzx eax, word [0x14015df68]
movsd qword [rbp - 0x29], xmm0
mov word [rbp - 0x21], ax
je 0x140002228
xor byte [rbp - 0x28], 0x33
xor byte [rbp - 0x27], 0x34
xor byte [rbp - 0x26], 0x35
xor byte [rbp - 0x25], 0x36
xor byte [rbp - 0x24], 0x37
xor byte [rbp - 0x23], 0x38
xor byte [rbp - 0x22], 0x39
xor byte [rbp - 0x21], 0x3a
xor byte [rbp - 0x20], 0x3b
mov byte [rbp - 0x29], 0x6e
lea rdx, [rbp - 0x29]
call fcn.140001340
lea r8, [rbp - 0x19]
mov rdx, rax
call fcn.1400014a0
test rax, rax
je 0x140002284
mov qword [rsp + 0x40], 0
lea rcx, [rbp - 9]
mov qword [rsp + 0x38], 0
xor r9d, r9d
mov dword [rsp + 0x30], r14d
xor r8d, r8d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call rax
test eax, eax
js 0x140002284
mov eax, dword [rbp - 1]
mov dword [rbx], eax
mov eax, 1
jmp 0x140002286
xor eax, eax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400081a0
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400022a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x40
cmp byte [0x14015dfa7], 0
mov rbx, rdx
mov rax, qword [0x14015dfa0]
mov qword [rbp + 0x10], rax
je 0x14000242f
xor ecx, ecx
cmp dword [0x140163030], 2
jl 0x1400023ee
movdqa xmm2, xmmword [0x14015e0f0]
mov eax, 5
movdqa xmm3, xmmword [0x14015e100]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14015e190]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x30], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14015e130]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x10]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14015e140]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14015e150]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp + 0x10], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14015e130]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x14]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14015e140]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14015e150]
xorps xmm2, xmm0
movd dword [rbp + 0x14], xmm2
jmp 0x14000242f
lea r8, [rbp + 0x10]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x140002400
cmp byte [0x14015df69], 0
movsd xmm0, qword [0x14015df60]
movzx eax, word [0x14015df68]
movsd qword [rbp - 0x20], xmm0
mov word [rbp - 0x18], ax
je 0x140002478
xor byte [rbp - 0x1f], 0x33
xor byte [rbp - 0x1e], 0x34
xor byte [rbp - 0x1d], 0x35
xor byte [rbp - 0x1c], 0x36
xor byte [rbp - 0x1b], 0x37
xor byte [rbp - 0x1a], 0x38
xor byte [rbp - 0x19], 0x39
xor byte [rbp - 0x18], 0x3a
xor byte [rbp - 0x17], 0x3b
mov byte [rbp - 0x20], 0x6e
lea rdx, [rbp - 0x20]
call fcn.140001340
lea r8, [rbp + 0x10]
mov rdx, rax
call fcn.1400014a0
test rax, rax
je 0x140002497
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret