joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.140009b80
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 0x140004d60
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 0x140004d60
call fcn.140002c80
mov ebx, eax
jmp 0x140004e88
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140004d81
call fcn.140002c80
jmp 0x140004e77
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 0x140004da4
call fcn.140002c80
jmp 0x140004e77
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 0x140004dc6
mov ebx, 0x8007000e
jmp 0x140004e79
mov ecx, eax
test eax, eax
je 0x140004dfe
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140004df4
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140004dfe
lea rcx, [rsp + 0x70]
call fcn.140002b70
jmp 0x140004e08
mov ecx, 0x80070216
call fcn.140002e90
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140004e1b
cmp qword [rsp + 0x70], 0
jne 0x140004e2a
mov ebx, 0x8007000e
jmp 0x140004e79
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 0x140004e54
call fcn.140002c80
jmp 0x140004e77
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 + 0x58]
call fcn.140004ae0
mov ebx, eax
test rdi, rdi
je 0x140004e88
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140004e9f
lea rcx, [rsp + 0x70]
call fcn.1400034d0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140007c00
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140005690
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r8d
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007c00
add rsp, 0x48
ret

Function at 0x1400056e0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x1400056f8
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 0x140005704
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x140005700
mov rcx, qword [rcx]
mov rdx, r10
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140007450
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x140007494
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007c00
add rsp, 0x40
pop rbx
ret
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x28], rax
lea r8, [0x140006cd0]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x1400074d5
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x50], rdi
mov rax, rdi
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007c00
add rsp, 0x40
pop rbx
ret
Function at 0x140007640
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp byte [0x1400291d8], 0
mov esi, edx
mov rbx, rcx
je 0x140007666
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
xor ecx, ecx
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x40], eax
mov edi, eax
test eax, eax
jns 0x1400076ac
cmp eax, 0x80010106
jne 0x14000770c
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400076b0
mov eax, edi
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov byte [rbx + 0x62], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x40]
mov rcx, rbx
mov rdx, rax
call fcn.140006d20
cmp al, 1
jne 0x1400076fc
mov edx, esi
mov rcx, rbx
call fcn.140007170
mov edi, eax
test eax, eax
jne 0x1400076ee
mov rcx, rbx
call fcn.1400073e0
mov rcx, rbx
call fcn.1400070f0
mov edi, eax
jmp 0x140007700
js 0x140007700
mov rcx, rbx
call fcn.1400070f0
mov edi, eax
jmp 0x140007700
mov edi, dword [rsp + 0x40]
cmp byte [rbx + 0x62], 0
je 0x14000770c
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret
mov edx, r9d
lea rcx, [0x140029230]
jmp 0x140007640

Function at 0x1400085b8
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140008649
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140008649
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008649
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14000862d
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140008627
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000862f
add rdx, 0x28
jmp 0x14000860c
xor edx, edx
test rdx, rdx
jne 0x140008638
xor al, al
jmp 0x14000864f
test dword [rdx + 0x24], 0x80000000
je 0x140008645
xor al, al
jmp 0x14000864f
mov al, 1
jmp 0x14000864f
xor al, al
jmp 0x14000864f
add rsp, 0x18
ret
Function at 0x140013b8c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or r8d, 0xffffffff
mov r10d, edx
xor r9d, r9d
mov r11, rcx
test edx, edx
je 0x140013bc2
movzx edx, byte [r11 + r9]
mov eax, r8d
xor rdx, rax
shr r8d, 8
movzx ecx, dl
lea rax, [0x14017e920]
inc r9
xor r8d, dword [rax + rcx*4]
cmp r9, r10
jb 0x140013b9d
not r8d
mov eax, r8d
ret
Function at 0x140016ba0
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

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, 0x20
mov rdi, r9
mov rbp, r8
mov esi, edx
mov rbx, rcx
cmp edx, 1
jbe 0x140016bd3
mov eax, 0xffffffdf
jmp 0x140016ca3
mov ecx, 0x2000000
call fcn.1400172e0
test eax, eax
je 0x140016bf6
mov rcx, rbx
shr rcx, 2
and ecx, 3
je 0x140016bf6
mov eax, 4
sub eax, ecx
jmp 0x140016bf8
xor eax, eax
mov rdx, qword [rbx + 8]
mov r14d, eax
cmp r14, rdx
je 0x140016c27
mov eax, dword [rbx]
lea rcx, [rbx + 0x10]
add rdx, 4
lea rcx, [rcx + r14*4]
inc eax
shl eax, 4
movsxd r8, eax
lea rdx, [rbx + rdx*4]
call fcn.140150b12
mov qword [rbx + 8], r14
mov ecx, 0x2000000
call fcn.1400172e0
test eax, eax
je 0x140016c89
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rbp]
lea rcx, [rbx + rax*4]
mov eax, dword [rbx]
xorps xmm0, xmmword [rcx + 0x10]
dec eax
add rcx, 0x20
test esi, esi
jne 0x140016c6a
test eax, eax
je 0x140016c63
aesdec xmm0, xmmword [rcx]
add rcx, 0x10
add eax, 0xffffffff
jne 0x140016c55
aesdeclast xmm0, xmmword [rcx]
jmp 0x140016c81
test eax, eax
je 0x140016c7c
aesenc xmm0, xmmword [rcx]
add rcx, 0x10
add eax, 0xffffffff
jne 0x140016c6e
aesenclast xmm0, xmmword [rcx]
movdqu xmmword [rdi], xmm0
xor eax, eax
jmp 0x140016ca3
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
cmp esi, 1
jne 0x140016c9e
call fcn.14001613c
jmp 0x140016ca3
call fcn.14001666c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400174b0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rdx]
movdqa xmm1, xmm0
movdqu xmmword [rcx], xmm0
aeskeygenassist xmm0, xmm0, 1
pshufd xmm3, xmm0, 0xff
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x10], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x20], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 8
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x30], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x40], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x50], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x60], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
movdqa xmm3, xmm2
xorps xmm0, xmm1
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x70], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x1b
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x80], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x90], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm1, xmm3
xorps xmm1, xmm0
pslldq xmm3, 4
xorps xmm1, xmm3
movdqu xmmword [rcx + 0xa0], xmm1
ret
Function at 0x140017eb8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
mov eax, dword [rdx]
mov rdi, r9
xor eax, dword [r8]
lea r9, [rbp + 0x38]
mov dword [rbp + 0x20], eax
mov rbx, rcx
mov eax, dword [rdx + 4]
lea rcx, [rbp + 0x20]
xor eax, dword [r8 + 4]
mov dword [rbp + 0x28], eax
mov eax, dword [rdx + 8]
xor eax, dword [r8 + 8]
mov dword [rbp + 0x30], eax
mov eax, dword [rdx + 0xc]
lea rdx, [rbp + 0x28]
xor eax, dword [r8 + 0xc]
lea r8, [rbp + 0x30]
mov dword [rbp + 0x38], eax
lea rax, [0x14017f4e0]
mov qword [r11 - 0x20], rax
lea rax, [0x14017f6e0]
mov qword [r11 - 0x28], rax
lea rax, [0x14017f5e0]
mov qword [r11 - 0x30], rax
lea rax, str.cw
mov qword [r11 - 0x38], rax
call fcn.140017d8c
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x20]
call fcn.140017c64
mov eax, dword [rbp + 0x20]
xor eax, dword [rdi]
mov dword [rbx], eax
mov eax, dword [rbp + 0x28]
xor eax, dword [rdi + 4]
mov dword [rbx + 4], eax
mov eax, dword [rbp + 0x30]
xor eax, dword [rdi + 8]
mov dword [rbx + 8], eax
mov eax, dword [rbp + 0x38]
xor eax, dword [rdi + 0xc]
mov dword [rbx + 0xc], eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret

Function at 0x140017f74
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
mov eax, dword [rdx]
mov rdi, r9
xor eax, dword [r8]
lea r9, [rbp + 0x38]
mov dword [rbp + 0x20], eax
mov rbx, rcx
mov eax, dword [rdx + 4]
lea rcx, [rbp + 0x20]
xor eax, dword [r8 + 4]
mov dword [rbp + 0x28], eax
mov eax, dword [rdx + 8]
xor eax, dword [r8 + 8]
mov dword [rbp + 0x30], eax
mov eax, dword [rdx + 0xc]
lea rdx, [rbp + 0x28]
xor eax, dword [r8 + 0xc]
lea r8, [rbp + 0x30]
mov dword [rbp + 0x38], eax
lea rax, [0x14017f5e0]
mov qword [r11 - 0x20], rax
lea rax, str.cw
mov qword [r11 - 0x28], rax
lea rax, [0x14017f4e0]
mov qword [r11 - 0x30], rax
lea rax, [0x14017f6e0]
mov qword [r11 - 0x38], rax
call fcn.140017d8c
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x20]
call fcn.140017c64
mov eax, dword [rbp + 0x20]
xor eax, dword [rdi]
mov dword [rbx], eax
mov eax, dword [rbp + 0x28]
xor eax, dword [rdi + 4]
mov dword [rbx + 4], eax
mov eax, dword [rbp + 0x30]
xor eax, dword [rdi + 8]
mov dword [rbx + 8], eax
mov eax, dword [rbp + 0x38]
xor eax, dword [rdi + 0xc]
mov dword [rbx + 0xc], eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
Function at 0x140018030
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movzx r10d, r9b
mov rdi, r8
mov r9b, r10b
mov rbx, rdx
and r9b, 0x1f
shr r10d, 5
mov r11, rcx
and r10d, 0x80000003
jge 0x14001806e
dec r10d
or r10d, 0xfffffffc
inc r10d
movzx eax, r10b
mov ecx, 0x20
sub cl, r9b
movzx ebp, r9b
mov r8d, dword [r8 + rax*4]
mov al, r9b
neg al
mov r9d, 4
bswap r8d
sbb al, al
and al, cl
movzx esi, al
sub rbx, r11
inc r10b
mov ecx, ebp
shl r8d, cl
and r10b, 3
movzx eax, r10b
mov ecx, esi
mov edx, dword [rdi + rax*4]
bswap edx
mov eax, edx
shr eax, cl
or r8d, eax
bswap r8d
xor r8d, dword [r11 + rbx]
mov dword [r11], r8d
mov r8d, edx
lea r11, [r11 + 4]
sub r9, 1
jne 0x14001809a
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x14001d25c
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140250040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, qword [rsp + 0x90]
lea rax, [r11 - 0x38]
and qword [r11 - 0x38], 0
mov rbp, rdx
lea rdx, [rcx + 0x10]
mov qword [r11 - 0x48], rax
mov rdi, r9
mov rsi, r8
mov rbx, rcx
lea r9, [r11 - 0x30]
xorps xmm0, xmm0
add rcx, 0x20
mov r8d, 0x10
movups xmmword [rsp + 0x38], xmm0
call fcn.14001e7c0
mov edx, eax
test eax, eax
je 0x14001d2cd
or dword [rbx + 0xa4], 0x10
jmp 0x14001d2f4
test rsi, rsi
je 0x14001d2f2
sub rbp, rdi
lea rdx, [rsp + 0x38]
add rdx, rbp
sub r14, rdi
mov al, byte [rdx + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rsi, 1
jne 0x14001d2e0
xor edx, edx
xor eax, eax
lea rdi, [rsp + 0x38]
lea ecx, [rax + 0x10]
rep stosb byte [rdi], al
mov eax, edx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14014f050
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14001d4fc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, r8
mov ecx, dword [rcx + 0xa4]
mov rsi, rdx
test cl, 0x10
jne 0x14001d63f
test r8, r8
je 0x14001d632
test cl, 8
jne 0x14001d63f
mov rdx, qword [rbx + 0x88]
test cl, 4
jne 0x14001d566
cmp r8, rdx
ja 0x14001d63f
mov al, byte [rbx + 0x89]
xor byte [rbx], al
mov al, byte [rbx + 0x88]
xor byte [rbx + 1], al
or ecx, 4
mov dword [rbx + 0xa4], ecx
jmp 0x14001d579
mov rcx, qword [rbx + 0x98]
add rcx, r8
cmp rcx, rdx
ja 0x14001d63f
mov r8, qword [rbx + 0x98]
mov eax, 0x10
add r8, 2
mov rcx, rdi
and r8d, 0xf
sub rax, r8
cmp rax, rdi
cmovbe rcx, rax
test rcx, rcx
je 0x14001d5be
mov r9, rsi
lea rdx, [r8 + rbx]
sub r9, r8
mov r10, rcx
sub r9, rbx
mov al, byte [rdx + r9]
xor byte [rdx], al
inc rdx
sub r10, 1
jne 0x14001d5af
mov rdx, qword [rbx + 0x98]
lea rax, [rcx + r8]
add rdx, rcx
sub rdi, rcx
add rsi, rcx
mov qword [rbx + 0x98], rdx
cmp rax, 0x10
je 0x14001d5e8
cmp rdx, qword [rbx + 0x88]
jne 0x14001d60b
lea rax, [rsp + 0x40]
mov r9, rbx
lea rcx, [rbx + 0x20]
mov qword [rsp + 0x20], rax
mov r8d, 0x10
mov rdx, rbx
call fcn.14001e7c0
test eax, eax
jne 0x14001d636
test rdi, rdi
jne 0x14001d579
mov rax, qword [rbx + 0x88]
cmp qword [rbx + 0x98], rax
jne 0x14001d632
or dword [rbx + 0xa4], 8
and qword [rbx + 0x98], rdi
xor eax, eax
jmp 0x14001d644
or dword [rbx + 0xa4], 0x10
jmp 0x14001d644
mov eax, 0xfffffff3
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001d654
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140250040]
xor rax, rsp
mov qword [rsp + 0x50], rax
test byte [rcx + 0xa4], 0x10
mov r14, r8
mov rdi, qword [rsp + 0xd8]
mov r13, rdx
mov qword [rsp + 0x30], r9
mov rbx, rcx
jne 0x14001d8b7
cmp qword [rcx + 0x90], 0
lea r12, [rcx + 0x98]
je 0x14001d6bc
mov rcx, qword [r12]
add rcx, r8
cmp rcx, qword [rbx + 0x80]
ja 0x14001d8b7
cmp qword [rsp + 0xd0], r8
jb 0x14001d8b7
xor r15d, r15d
mov qword [rdi], r8
test r8, r8
je 0x14001d8a6
mov rcx, qword [r12]
mov eax, 0x10
mov rbp, rcx
mov rsi, r14
and ebp, 0xf
sub rax, rbp
cmp rax, r14
cmovbe rsi, rax
lea rax, [rsi + rcx]
mov qword [r12], rax
mov al, byte [rbx + 0xa1]
dec al
test al, 0xfd
jne 0x14001d797
test rsi, rsi
je 0x14001d730
mov rdx, r13
lea rcx, [rbx + rbp]
sub rdx, rbx
mov rdi, rsi
sub rdx, rbp
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub rdi, 1
jne 0x14001d722
lea rax, [rsi + rbp]
cmp rax, 0x10
je 0x14001d747
mov rax, qword [rbx + 0x80]
cmp qword [r12], rax
jne 0x14001d776
lea rax, [rsp + 0x38]
mov r9, rbx
lea rcx, [rbx + 0x20]
mov qword [rsp + 0x20], rax
mov r8d, 0x10
mov rdx, rbx
call fcn.14001e7c0
mov r15d, eax
test eax, eax
jne 0x14001d89f
mov r9, qword [rsp + 0x30]
mov qword [rsp + 0x20], r9
mov r8, rsi
mov r9, r13
mov rdx, rbp
mov rcx, rbx
call fcn.14001d25c
mov r15d, eax
test eax, eax
jne 0x14001d8a6
test byte [rbx + 0xa1], 0xfd
jne 0x14001d84a
lea rax, [rsp + 0x40]
mov r9, r13
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.14001d25c
mov r15d, eax
test eax, eax
jne 0x14001d8a6
test rsi, rsi
je 0x14001d7ef
lea rdx, [rsp + 0x40]
mov rdi, rsi
sub rdx, rbx
lea rcx, [rbx + rbp]
sub rdx, rbp
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub rdi, 1
jne 0x14001d7e1
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8, rsi
call fcn.140150d9b
xor eax, eax
lea rdi, [rsp + 0x40]
lea ecx, [rax + 0x10]
rep stosb byte [rdi], al
lea rax, [rsi + rbp]
cmp rax, 0x10
je 0x14001d824
mov rax, qword [rbx + 0x80]
cmp qword [r12], rax
jne 0x14001d854
lea rax, [rsp + 0x38]
mov r9, rbx
lea rcx, [rbx + 0x20]
mov qword [rsp + 0x20], rax
mov r8d, 0x10
mov rdx, rbx
call fcn.14001e7c0
mov r15d, eax
test eax, eax
jne 0x14001d89f
lea rax, [rsi + rbp]
cmp rax, 0x10
je 0x14001d861
mov rax, qword [rbx + 0x80]
cmp qword [r12], rax
jne 0x14001d884
xor dl, dl
cmp byte [rbx + 0xa0], dl
jbe 0x14001d884
movzx eax, dl
mov rcx, rbx
sub rcx, rax
add byte [rcx + 0x1f], 1
jne 0x14001d884
inc dl
cmp dl, byte [rbx + 0xa0]
jb 0x14001d86b
mov r9, qword [rsp + 0x30]
add r13, rsi
add r9, rsi
mov qword [rsp + 0x30], r9
sub r14, rsi
jne 0x14001d6d9
jmp 0x14001d8a6
or dword [rbx + 0xa4], 0x10
xor eax, eax
lea rdi, [rsp + 0x40]
lea ecx, [rax + 0x10]
rep stosb byte [rdi], al
mov eax, r15d
jmp 0x14001d8bc
mov eax, 0xfffffff3
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14014f050
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001da58
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140250040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0xc8]
mov rbx, r8
mov rax, qword [rsp + 0xd8]
lea r8, [r11 - 0x38]
mov rdi, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe0]
mov qword [r11 - 0x48], rdi
mov qword [r11 - 0x50], r8
mov r8, rbx
mov qword [r11 - 0x58], rsi
mov qword [r11 - 0x60], rax
mov rax, qword [rsp + 0xd0]
mov qword [r11 - 0x68], rax
mov rax, qword [rsp + 0xc0]
mov qword [r11 - 0x70], rdx
xor edx, edx
mov qword [r11 - 0x78], rax
call fcn.14001d9a8
test eax, eax
jne 0x14001db1f
xor edx, edx
xor r8b, r8b
test rdi, rdi
je 0x14001db1d
mov r9, qword [rsp + 0xe8]
xor eax, eax
movzx ecx, byte [rax + r9]
inc r8b
movzx eax, byte [rsp + rax + 0x60]
xor ecx, eax
movzx eax, r8b
or edx, ecx
cmp rax, rdi
jb 0x14001dae9
test edx, edx
je 0x14001db1d
test rbx, rbx
je 0x14001db16
mov rdi, rsi
xor eax, eax
mov rcx, rbx
rep stosb byte [rdi], al
mov eax, 0xfffffff1
jmp 0x14001db1f
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14014f050
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001ded4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor r14d, r14d
mov r12, r9
mov r13, r8
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14001df34
mov rdx, r8
mov rcx, r9
sub rdx, r9
mov r8, qword [rbx + 0x80]
cmp r8, 0x40
jae 0x14001df34
mov al, byte [rdx + rcx]
inc r14
xor al, byte [r8 + rbx + 0x40]
mov byte [rcx], al
inc rcx
inc qword [rbx + 0x80]
sub rdi, 1
jne 0x14001df0a
lea rsi, [rbx + 0x40]
cmp rdi, 0x40
jb 0x14001dfc4
lea rax, [r14 + r13]
mov rbp, rdi
mov qword [rsp + 0x78], rax
mov r15, rbx
mov r12, qword [rsp + 0x78]
sub r15, r14
shr rbp, 6
sub r15, r13
mov rax, r9
add r15, 0x40
sub rax, r13
mov qword [rsp + 0x20], rax
imul rax, rbp, 0xffffffffffffffc0
add rdi, rax
mov rax, rbp
shl rax, 6
add r14, rax
mov rdx, rsi
mov rcx, rbx
call fcn.14001de24
inc dword [rbx + 0x30]
mov rcx, r12
mov r8, qword [rsp + 0x20]
mov edx, 0x40
mov al, byte [r15 + rcx]
xor al, byte [rcx]
mov byte [r8 + rcx], al
inc rcx
sub rdx, 1
jne 0x14001df9b
sub r15, 0x40
add r12, 0x40
sub rbp, 1
jne 0x14001df80
mov r12, qword [rsp + 0x88]
test rdi, rdi
je 0x14001e000
mov rdx, rsi
mov rcx, rbx
call fcn.14001de24
inc dword [rbx + 0x30]
mov rcx, rdi
sub r14, rbx
lea rdx, [r14 + r13]
lea r8, [r14 + r12]
mov al, byte [rsi + rdx - 0x40]
xor al, byte [rsi]
mov byte [r8 + rsi - 0x40], al
inc rsi
sub rcx, 1
jne 0x14001dfe5
mov qword [rbx + 0x80], rdi
mov rbx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001fc0c
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r11, r8
mov r9, rdx
mov r10, rcx
test r8, r8
je 0x14001fc37
sub r10, rdx
movzx edx, byte [r10 + r9]
movzx r8d, byte [r9]
inc r9
xor r8d, edx
or eax, r8d
sub r11, 1
jne 0x14001fc1f
ret