joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002dc4
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdi, rdx
mov rsi, rcx
call fcn.140002334
xor ebx, ebx
cmp al, bl
jne 0x140002df0
xor al, al
jmp 0x140002e06
cmp qword [rsp + 0x40], rdi
jne 0x140002dec
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp eax, ebx
setne al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140004ce0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 8]
xor esi, esi
lea r9, [rsp + 0x30]
lea r8, [rdx + 0x5030]
add rdx, 0xb43a
mov rbx, rcx
mov byte [rcx + 0x18], sil
mov word [rcx + 0x101a], si
call fcn.140004920
cmp al, sil
jne 0x140004d40
cmp byte [rsp + 0x30], sil
jne 0x140004d74
mov rdx, qword [rbx + 8]
lea rcx, [0x140149f00]
add rdx, 0xb43a
call fcn.14003c978
jmp 0x140004d74
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.140003f08
mov rcx, rbx
call fcn.1400038a8
cmp byte [rbx + 0x18], sil
je 0x140004d74
cmp word [rbx + 0x101a], si
je 0x140004d74
lea rcx, [rbx + 0x101a]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140005af0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1030
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rdi, rcx
lea rdx, [rsp + 0x20]
lea rcx, str.UnAceV2.Dll
mov r8d, 0x800
call fcn.14000e438
xor ebx, ebx
cmp al, bl
jne 0x140005b4f
lea rdx, str.UnAceV2.Dll
lea rcx, [0x140149f00]
call fcn.14003c978
xor al, al
jmp 0x140005c26
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi + 0x2848], rax
cmp rax, rbx
je 0x140005c1c
lea rdx, str.ACEInitDll
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140133be8], rax
cmp rax, rbx
je 0x140005c0a
mov rcx, qword [rdi + 0x2848]
lea rdx, str.ACEReadArchiveData
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140133be0], rax
cmp rax, rbx
je 0x140005c0a
mov rcx, qword [rdi + 0x2848]
lea rdx, str.ACEList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140133bd8], rax
cmp rax, rbx
je 0x140005c0a
mov rcx, qword [rdi + 0x2848]
lea rdx, str.ACETest
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140133bd0], rax
cmp rax, rbx
je 0x140005c0a
mov rcx, qword [rdi + 0x2848]
lea rdx, str.ACEExtract
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140133bc8], rax
cmp rax, rbx
jne 0x140005c1c
mov rcx, qword [rdi + 0x2848]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140005b48
cmp qword [rdi + 0x2848], rbx
setne al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400e9d00
mov rbx, qword [rsp + 0x1048]
add rsp, 0x1030
pop rdi
ret
Function at 0x140005c48
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
mov rbx, rdx
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.1400ea880
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [0x1401098d8]
mov rdx, rbx
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor ecx, ecx
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140005cc9
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0xe0
pop rbx
ret

Function at 0x140005cd4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r9d
mov ebx, r8d
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
test esi, esi
je 0x140005d09
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, esi
jae 0x140005d39
cmp byte [rsp + 0x50], 0
je 0x140005d2b
cmp dword [rdi], ebx
jne 0x140005d2f
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp dword [rdi], ebx
jne 0x140005d14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140005cf9
xor al, al
jmp 0x140005d16

Function at 0x14000941c
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
xor r8d, r8d
lea r10, [0x140133ca0]
mov r9d, r8d
mov r11d, 8
shl r9d, 0x18
lea eax, [r9 + r9]
mov ecx, r9d
mov edx, eax
mov r9d, eax
xor edx, 0x4c11db7
bt ecx, 0x1f
cmovb r9d, edx
dec r11d
test r11d, r11d
jg 0x140009433
inc r8d
mov dword [r10], r9d
add r10, 4
cmp r8d, 0x100
jl 0x140009426
repz ret
Function at 0x14000ce6c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov edi, r9d
mov rbx, r8
mov rsi, rdx
jmp 0x14000cea0
cmp dword [rsp + 0x30], 1
jne 0x14000cec3
mov al, byte [rsp + 0x60]
mov byte [rbx], al
test al, al
je 0x14000cec3
dec edi
test edi, edi
jle 0x14000cec3
inc rbx
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov r8d, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000ce86
mov rsi, qword [rsp + 0x58]
mov byte [rbx], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14000d214
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx ecx, cx
call fcn.1400f55d0
xor edi, edi
mov ebx, eax
cmp word [0x1401350b0], di
je 0x14000d247
lea rcx, [0x1401350b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov word [0x1401350b0], di
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e438
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
xor ecx, ecx
mov rdi, r8
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.140050ce0
xor ebp, ebp
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.140065dac
mov rcx, rbx
call fcn.140042584
cmp al, bpl
je 0x14000e48c
mov al, 1
jmp 0x14000e511
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswinrar.exe
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov word [rbx], bp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x14000e4f0
mov rcx, qword [rsp + 0x38]
lea eax, [rdi + rdi]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.140050ce0
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov word [rax], bp
call fcn.140065dac
mov rcx, rbx
call fcn.140042584
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140011be8
Capabilities:
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], r9
push rdi
push r12
push r13
push r14
mov r10d, dword [r9]
xor r14d, r14d
mov edi, r8d
and r10d, 7
mov rbp, rcx
mov r11, r14
cmp rdx, 5
jae 0x140011c22
xor eax, eax
jmp 0x140011d90
add edi, 5
lea rsi, [rdx + rcx - 4]
lea r12, [0x140000000]
or rbx, 0xffffffffffffffff
lea r8, [r11 + rbp]
jmp 0x140011c47
mov al, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x140011c4c
inc r8
cmp r8, rsi
jb 0x140011c3b
mov r11, r8
sub r11, rbp
mov rax, r11
cmp r8, rsi
jae 0x140011d6f
sub rax, rbx
cmp rax, 3
jbe 0x140011cb4
mov r10d, r14d
mov al, byte [r8 + 4]
mov rbx, r11
cmp al, r14b
je 0x140011c7a
cmp al, 0xff
jne 0x140011ce8
movzx r9d, al
movzx eax, byte [r8 + 3]
movsxd r13, r10d
shl r9d, 8
or r9d, eax
movzx eax, byte [r8 + 2]
shl r9d, 8
or r9d, eax
movzx eax, byte [r8 + 1]
shl r9d, 8
or r9d, eax
cmp dword [rsp + 0x48], r14d
je 0x140011cfb
lea edx, [r11 + r9]
add edx, edi
jmp 0x140011d03
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x140011c6a
movzx eax, byte [r10 + r12 + 0x10a598]
mov rcx, r8
sub rcx, rax
mov al, byte [rcx + 4]
cmp byte [r10 + r12 + 0x10a590], r14b
je 0x140011ce5
cmp al, r14b
je 0x140011ce5
cmp al, 0xff
jne 0x140011c6a
mov rbx, r11
and r10d, 3
add r10d, r10d
or r10d, 1
inc r11
jmp 0x140011c35
mov edx, r9d
sub edx, r11d
sub edx, edi
cmp r10d, r14d
je 0x140011d41
movzx r9d, byte [r13 + r12 + 0x10a598]
mov eax, edx
shl r9d, 3
neg r9d
lea ecx, [r9 + 0x18]
shr eax, cl
cmp al, r14b
je 0x140011d29
cmp al, 0xff
jne 0x140011d41
lea ecx, [r9 + 0x20]
mov r9d, 1
shl r9d, cl
dec r9d
xor r9d, edx
jmp 0x140011ca5
mov eax, edx
mov byte [r8 + 1], dl
shr eax, 0x18
and al, 1
dec al
not al
mov byte [r8 + 4], al
mov eax, edx
shr eax, 0x10
mov byte [r8 + 3], al
mov eax, edx
shr eax, 8
add r11, 5
mov byte [r8 + 2], al
jmp 0x140011c35
mov r12, qword [rsp + 0x40]
mov rdx, r11
sub rdx, rbx
lea ecx, [rdx - 1]
shl r10d, cl
and r10d, 7
cmp rdx, 3
cmova r10d, r14d
mov dword [r12], r10d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140013b88
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
lea rdx, [0x1401380f0]
mov r9d, 0x100
mov r10, r8
mov r11d, 8
mov rcx, r10
movabs rax, 0xc96c5795d7870f42
and ecx, 1
dec rcx
not rcx
and rcx, rax
mov rax, r10
shr rax, 1
mov r10, rcx
xor r10, rax
sub r11, 1
jne 0x140013ba1
mov qword [rdx], r10
inc r8
add rdx, 8
sub r9, 1
jne 0x140013b98
repz ret

Function at 0x140013be0
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
test r8, r8
je 0x140013c10
movzx eax, byte [rdx]
lea r10, [0x1401380f0]
inc rdx
xor rax, rcx
movzx r8d, al
mov rax, rcx
mov rcx, qword [r10 + r8*8]
shr rax, 8
xor rcx, rax
sub r9, 1
jne 0x140013be8
mov rax, rcx
ret
Function at 0x14001ce98
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
lea r10, [rcx + 0x1aa8]
mov r9d, r8d
mov r11d, 8
shl r9d, 8
lea eax, [r9 + r9]
mov ecx, r9d
mov edx, eax
mov r9d, eax
xor edx, 0x1021
bt ecx, 0xf
cmovb r9d, edx
sub r11, 1
jne 0x14001ceaf
inc r8d
mov dword [r10], r9d
add r10, 4
cmp r8d, 0x100
jb 0x14001cea2
repz ret

Function at 0x14001cee4
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r11, rcx
test r8, r8
je 0x14001cf1a
movzx eax, byte [rdx]
mov r9d, r10d
mov ecx, r10d
shr r9, 8
shl ecx, 8
inc rdx
xor r9, rax
movzx eax, r9b
mov r10d, dword [r11 + rax*4 + 0x1aa8]
xor r10d, ecx
sub r8, 1
jne 0x14001ceef
movzx eax, r10w
ret

Function at 0x1400323f0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1401541e8], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x14003244c
movaps xmm0, xmmword [0x14010c610]
movaps xmm1, xmmword [0x14010c620]
movdqa xmmword [0x140141090], xmm0
movaps xmm0, xmmword [0x14010c630]
movdqa xmmword [0x140141080], xmm1
movaps xmm1, xmmword [0x14010c640]
movdqa xmmword [0x140141070], xmm0
movdqa xmmword [0x140141060], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.1400ea880
xor r11d, r11d
mov qword [rbx + 0x110], r11
mov byte [rbx + 0x118], r11b
mov rcx, qword [rbx + 0xf8]
lea rax, [0x14010c550]
mov eax, dword [r11 + rax]
mov dword [r11 + rcx], eax
add r11, 4
cmp r11, 0x20
jl 0x14003246a
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
shl edi, 0x10
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140038494
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor r13d, r13d
mov sil, dl
mov rdi, rcx
mov word [rcx + 0xa41a], r13w
mov byte [rcx + 0xa411], r13b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov bpl, 1
jmp 0x1400384fb
cmp bpl, r13b
jne 0x1400384eb
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
cmp sil, r13b
je 0x1400384e6
call fcn.140038380
jmp 0x1400384eb
call fcn.140038064
mov rcx, qword [rsp + 0x40]
call fcn.1400e9aa4
mov bpl, r13b
mov rcx, r12
lea rdx, [rsp + 0x40]
call fcn.14003629c
mov r12, rax
cmp rax, r13
jne 0x1400384cd
cmp sil, r13b
jne 0x14003851a
mov rcx, rdi
call fcn.140036740
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x140038530
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rsi, rcx
lea rcx, [0x14010caa8]
call fcn.1400ee384
mov rbx, rax
test rax, rax
je 0x1400385c4
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
and qword [rsp + 0x28], rax
and qword [rsp + 0x30], rax
and qword [rsp + 0x38], rax
and qword [rsp + 0x40], rax
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1400190c4
nop
mov r8, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
mov rdx, rdi
mov rcx, rbx
call fcn.1400688b0
mov rdx, rdi
mov rcx, rsi
call fcn.14003842c
mov byte [rsi + 0xa419], 0
test rdi, rdi
je 0x1400385c4
mov rcx, rdi
call fcn.1400e9aa4
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1400385d4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x14003861b
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x1400385e9
inc r9d
mov dword [r8], r10d
add r8, 4
cmp r9d, 0x100
jb 0x1400385e0
repz ret
Function at 0x140038694
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10, r8
mov rbx, rdx
mov r11d, ecx
lea rsi, [0x1401456c0]
test r8, r8
je 0x1400386dd
test bl, 7
je 0x1400386dd
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x1400386b8
cmp r10, 8
jb 0x14003878a
mov rdi, r10
shr rdi, 3
mov rax, rdi
imul rax, rax, 0xfffffffffffffff8
add r10, rax
xor r11d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
shr eax, 0x10
movzx edx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr eax, 0x18
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4]
shr eax, 8
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr eax, 0x18
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1000]
shr eax, 0x10
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1400]
shr eax, 8
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r11b
mov r11d, r8d
xor r11d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x1400386f8
test r10, r10
je 0x1400387af
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x14003878f
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, r11d
ret

Function at 0x1400387e4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r8, rcx
xor r9d, r9d
mov r10d, 0x100
mov r11, r9
mov ebx, 8
mov rdx, r11
mov cl, r11b
movabs r11, 0xc96c5795d7870f42
shr rdx, 1
mov rax, rdx
xor rax, r11
and cl, 1
mov r11, rdx
cmovne r11, rax
sub rbx, 1
jne 0x1400387fd
mov qword [r8], r11
inc r9
add r8, 8
sub r10, 1
jne 0x1400387f5
mov rbx, qword [rsp + 8]
ret
Function at 0x1400388b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r10, r8
mov r11, rdx
mov r9, rcx
lea rdi, [0x1401416c0]
test r8, r8
je 0x1400388f7
test r11b, 7
je 0x1400388f7
movzx ecx, byte [r11]
movzx eax, r9b
inc r11
xor rcx, rax
mov rax, r9
mov r9, qword [rdi + rcx*8]
shr rax, 8
xor r9, rax
sub r10, 1
jne 0x1400388cf
mov rax, r10
shr rax, 3
lea rbx, [r11 + rax*8]
jmp 0x140038994
mov r8, qword [r11]
xor r8, r9
mov rax, r8
shr rax, 0x30
movzx edx, al
mov rax, r8
mov r9, qword [rdi + rdx*8 + 0x800]
shr rax, 0x38
xor r9, qword [rdi + rax*8]
mov rax, r8
shr rax, 0x28
movzx ecx, al
mov rax, r8
xor r9, qword [rdi + rcx*8 + 0x1000]
shr rax, 0x20
movzx ecx, al
mov rax, r8
xor r9, qword [rdi + rcx*8 + 0x1800]
shr rax, 0x18
movzx ecx, al
mov rax, r8
xor r9, qword [rdi + rcx*8 + 0x2000]
shr rax, 0x10
movzx ecx, al
mov rax, r8
xor r9, qword [rdi + rcx*8 + 0x2800]
shr rax, 8
movzx ecx, al
movzx eax, r8b
xor r9, qword [rdi + rcx*8 + 0x3000]
xor r9, qword [rdi + rax*8 + 0x3800]
add r11, 8
cmp r11, rbx
jb 0x140038907
and r10d, 7
jbe 0x1400389c5
movzx ecx, byte [r11]
movzx eax, r9b
inc r11
xor rcx, rax
mov rax, r9
mov r9, qword [rdi + rcx*8]
shr rax, 8
xor r9, rax
sub r10, 1
jne 0x1400389a3
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov rax, r9
ret

Function at 0x140038b10
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdx
mov r9, rcx
test r8, r8
je 0x140038bc2
mov eax, 0x1234
add word [r9 + 0x10b8], ax
mov dx, word [r9 + 0x10b8]
mov rax, rdx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0xba4]
mov rax, rdx
xor word [r9 + 0x10ba], cx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0xba6]
sub word [r9 + 0x10bc], cx
movzx eax, word [r9 + 0x10bc]
mov ecx, 1
xor ax, dx
mov word [r9 + 0x10b8], ax
movzx eax, word [r9 + 0x10be]
ror ax, cl
xor ax, word [r9 + 0x10ba]
ror ax, cl
xor word [r9 + 0x10b8], ax
mov word [r9 + 0x10be], ax
movzx eax, word [r9 + 0x10b8]
shr ax, 8
xor byte [r10], al
inc r10
sub r8, 1
jne 0x140038b1f
repz ret

Function at 0x140038bc4
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov r8, rcx
lea r9, [rdx + 1]
mov r10d, 4
movzx eax, byte [r9 - 1]
mov edx, dword [r8 + rax*4 + 0xba4]
xor dword [r8 + 0x10a4], edx
movzx eax, byte [r9]
add r9, 4
mov ecx, dword [r8 + rax*4 + 0xba4]
xor dword [r8 + 0x10a8], ecx
movzx eax, byte [r9 - 3]
mov ecx, dword [r8 + rax*4 + 0xba4]
xor dword [r8 + 0x10ac], ecx
movzx eax, byte [r9 - 2]
mov ecx, dword [r8 + rax*4 + 0xba4]
xor dword [r8 + 0x10b0], ecx
sub r10, 1
jne 0x140038bd1
repz ret
Function at 0x140038f4c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x200
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbp, qword [rsp + 0x260]
mov r14d, 0x40
mov r13, r9
mov r12, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, r14
jbe 0x140038fd0
lea rcx, [rsp + 0x100]
call fcn.1400651e8
lea rcx, [rsp + 0x100]
mov r8, rbx
mov rdx, rsi
call fcn.140065474
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x100]
call fcn.140065538
lea rsi, [rsp + 0x1b0]
lea ebx, [r14 - 0x20]
xor edi, edi
mov dl, 0x36
mov r8, rdi
cmp rbx, rdi
jbe 0x140039002
lea rax, [rsp + 0x170]
mov r9, rsi
sub r9, rax
lea rcx, [rsp + r8 + 0x170]
inc r8
mov al, byte [r9 + rcx]
xor al, dl
mov byte [rcx], al
cmp r8, rbx
jb 0x140038fea
cmp rbx, r14
jae 0x14003901a
mov r8, r14
lea rcx, [rsp + rbx + 0x170]
sub r8, rbx
call fcn.1400ea880
lea rcx, [rsp + 0x20]
call fcn.1400651e8
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x20]
mov r8, r14
call fcn.140065474
lea rcx, [rsp + 0x20]
mov r8, r13
mov rdx, r12
call fcn.140065474
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x20]
call fcn.140065538
lea rcx, [rsp + 0x90]
call fcn.1400651e8
mov dl, 0x5c
cmp rbx, rdi
jbe 0x140039091
lea rax, [rsp + 0x170]
sub rsi, rax
lea rcx, [rsp + rdi + 0x170]
inc rdi
mov al, byte [rsi + rcx]
xor al, dl
mov byte [rcx], al
cmp rdi, rbx
jb 0x14003907a
cmp rbx, r14
jae 0x1400390a9
mov r8, r14
lea rcx, [rsp + rbx + 0x170]
sub r8, rbx
call fcn.1400ea880
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x90]
mov r8, r14
call fcn.140065474
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x90]
mov r8d, 0x20
call fcn.140065474
lea rcx, [rsp + 0x90]
mov rdx, rbp
call fcn.140065538
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400e9d00
add rsp, 0x200
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140039110
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x120
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rdi, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x188]
mov rbp, qword [rsp + 0x190]
mov rax, r8
mov r8d, 0x40
mov r12, rcx
cmp r9, r8
mov r13, rdx
lea rcx, [rsp + 0xa0]
cmovb r8, r9
mov rdx, rax
mov rbx, r9
call fcn.1400ea530
lea rax, [rsp + 0x58]
lea r9, [rbx + 4]
lea r8, [rsp + 0xa0]
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x20], rax
mov byte [rsp + rbx + 0xa0], 0
mov byte [rsp + rbx + 0xa1], 0
mov byte [rsp + rbx + 0xa2], 0
mov byte [rsp + rbx + 0xa3], 1
call fcn.140038f4c
mov r14d, 0x20
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x58]
mov r8, r14
call fcn.1400ea530
mov r11d, dword [rsp + 0x198]
lea eax, [r14 - 0x10]
dec r11d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r11d
lea rsi, [rsp + 0x40]
lea rdi, [rsp + 0x30]
lea ebp, [rax - 0xd]
cmp dword [rdi], 0
jbe 0x140039261
mov ebx, dword [rdi]
lea rax, [rsp + 0xf0]
lea r8, [rsp + 0x58]
mov r9, r14
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.140038f4c
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0xf0]
mov r8, r14
call fcn.1400ea530
xor r11d, r11d
mov rcx, r14
mov al, byte [rsp + r11 + 0x58]
inc r11
xor byte [rsp + r11 + 0x77], al
sub rcx, 1
jne 0x140039248
sub rbx, 1
jne 0x14003920d
mov rcx, qword [rsi]
lea rdx, [rsp + 0x78]
mov r8, r14
call fcn.1400ea530
add rdi, 4
add rsi, 8
sub rbp, 1
jne 0x140039206
lea edx, [rbp + 0x44]
lea rcx, [rsp + 0xa0]
call fcn.1400632d0
lea rcx, [rsp + 0x78]
mov rdx, r14
call fcn.1400632d0
lea rcx, [rsp + 0x58]
mov rdx, r14
call fcn.1400632d0
lea rcx, [rsp + 0xf0]
mov rdx, r14
call fcn.1400632d0
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400e9d00
add rsp, 0x120
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400396f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

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 r12
push r13
push r14
sub rsp, 0x20
mov ebx, dword [rcx + 0x10a4]
mov r11d, dword [rcx + 0x10a8]
mov esi, dword [rdx + 8]
mov ebp, dword [rdx + 0xc]
xor r11d, dword [rdx + 4]
xor esi, dword [rcx + 0x10ac]
xor ebp, dword [rcx + 0x10b0]
mov edi, ebx
mov r9, rdx
xor edi, dword [rdx]
xor r13d, r13d
mov r10, rcx
lea r14d, [r13 + 0x20]
mov rax, r13
mov edx, ebp
inc r13
and eax, 3
rol edx, 0xb
mov r8d, dword [r10 + rax*4 + 0x10a4]
add edx, esi
xor edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r12d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
shl ecx, 8
movzx eax, al
or r12d, ecx
movzx ecx, dl
movzx eax, byte [rax + r10 + 0xfa4]
shl r12d, 8
mov edx, esi
or r12d, eax
movzx eax, byte [rcx + r10 + 0xfa4]
shl r12d, 8
or r12d, eax
xor r12d, edi
ror edx, 0xf
mov edi, esi
xor edx, ebp
mov esi, r12d
add edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r8d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
shl ecx, 8
or r8d, ecx
movzx eax, al
movzx ecx, dl
movzx eax, byte [rax + r10 + 0xfa4]
shl r8d, 8
or r8d, eax
movzx eax, byte [rcx + r10 + 0xfa4]
shl r8d, 8
or r8d, eax
xor r8d, r11d
sub r14, 1
mov r11d, ebp
mov ebp, r8d
jne 0x140039741
xor ebx, r12d
mov rdx, r9
mov rcx, r10
mov dword [r9], ebx
mov eax, dword [r10 + 0x10a8]
xor eax, r8d
mov dword [r9 + 4], eax
mov eax, dword [r10 + 0x10ac]
xor eax, edi
mov dword [r9 + 8], eax
xor r11d, dword [r10 + 0x10b0]
mov dword [r9 + 0xc], r11d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
jmp fcn.140038bc4