joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003b20
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
mov eax, 0x1020
call fcn.140016560
sub rsp, rax
xor r15d, r15d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
cmp word [rcx], r15w
je 0x140003cd5
call fcn.140003cf4
mov rcx, rbx
call fcn.14001a310
mov rcx, rbx
mov r14, rax
call fcn.140003d28
test al, al
je 0x140003c06
mov rcx, rbx
call fcn.140003cf4
test al, al
je 0x140003bb7
lea rax, [r14 + 4]
cmp rdi, rax
jbe 0x140003cd5
mov r8, rdi
lea rdx, [0x14002a900]
mov rcx, rbp
call fcn.140007668
mov rdx, rbx
mov r8, rdi
mov rcx, rbp
call fcn.140007624
mov al, 1
jmp 0x140003cd7
mov esi, 0x5c
cmp word [rbx], si
jne 0x140003cd5
cmp word [rbx + 2], si
jne 0x140003cd5
lea rax, [r14 + 6]
cmp rdi, rax
jbe 0x140003cd5
mov r8, rdi
lea rdx, [0x14002a900]
mov rcx, rbp
call fcn.140007668
mov r8, rdi
lea rdx, [0x14002a910]
mov rcx, rbp
call fcn.140007624
lea rdx, [rbx + 2]
jmp 0x140003ba5
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x140003cd5
movzx eax, word [rbx]
mov esi, 0x5c
cmp eax, esi
je 0x140003c9f
cmp eax, 0x2f
je 0x140003c9f
mov edx, 0x800
lea rcx, [rsp + 0x20]
call fcn.14000365c
lea rcx, [rsp + 0x20]
call fcn.14001a310
lea rcx, [rax + 4]
add rcx, r14
cmp rdi, rcx
jbe 0x140003cd5
mov r8, rdi
lea rdx, [0x14002a900]
mov rcx, rbp
call fcn.140007668
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140007624
cmp word [rbx], 0x2e
jne 0x140003ba2
movzx eax, word [rbx + 2]
cmp eax, esi
je 0x140003c96
cmp eax, 0x2f
jne 0x140003ba2
add rbx, 4
jmp 0x140003ba2
lea rax, [r14 + 6]
cmp rdi, rax
jbe 0x140003cd5
mov r8, rdi
lea rdx, [0x14002a900]
mov rcx, rbp
call fcn.140007668
mov r8, rdi
mov word [rsp + 0x24], r15w
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140007624
jmp 0x140003ba2
xor al, al
lea r11, [rsp + 0x1020]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140006090
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov rdi, r9
mov rbx, r8
mov r10, rdx
movdqu xmm1, xmmword [rcx + 8]
test r8, r8
je 0x140006112
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x1400060c2
pxor xmm0, xmm1
movdqu xmm1, xmmword [rcx + 0x18]
movsxd r8, dword [rcx + 4]
pxor xmm1, xmm0
cmp r8d, 1
jle 0x1400060f0
lea rdx, [rcx + 0x28]
lea r9d, [r8 - 1]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
aesenc xmm1, xmm0
sub r9, 1
jne 0x1400060dd
mov rax, r8
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x18]
mov rax, rdi
add rdi, 0x10
aesenclast xmm1, xmm0
movdqu xmmword [rax], xmm1
sub rbx, 1
jne 0x1400060ad
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
movdqu xmmword [rcx + 8], xmm1
ret

Function at 0x140006124
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov esi, 1
mov rdi, rcx
cmp dword [rcx + 4], esi
jle 0x1400061fc
lea rbx, [rax - 0x28]
sub rbx, rcx
lea rbp, [rcx + 0x2a]
sub rbx, 0x2a
lea r15, [0x140000000]
xor r9d, r9d
mov r10, rbp
lea r14, [rbx + r9]
mov r11d, 4
movzx eax, byte [r10 + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [r10 - 1]
mov r8b, byte [rdx + r15 + 0x42fd0]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r15 + 0x427d0]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r15 + 0x423d0]
lea rcx, [r9 + rax*4]
xor r8b, byte [rcx + r15 + 0x42bd0]
mov byte [r14 + r10], r8b
lea r10, [r10 + 4]
sub r11, 1
jne 0x140006173
inc r9
cmp r9, 4
jl 0x140006166
movsxd rax, esi
lea rcx, [rdi + 0x18]
shl rax, 4
lea r8d, [r11 + 0x10]
add rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140017e00
inc esi
add rbp, 0x10
sub rbx, 0x10
cmp esi, dword [rdi + 4]
jl 0x140006163
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140006218
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r14d, dword [rcx + 4]
mov rsi, rcx
lea rcx, [rbp - 0x20]
mov r8d, 0x20
sub r14d, 6
call fcn.140017e00
xor r10d, r10d
movsxd rdx, r14d
xor r11d, r11d
lea r12d, [r10 + 4]
lea r15d, [r10 + 1]
test r14d, r14d
jle 0x1400062bc
xor r8d, r8d
xor r9d, r9d
xor ebx, ebx
cmp r10d, dword [rsi + 4]
jg 0x140006407
cmp r9, rdx
jge 0x1400062a6
lea rdi, [rbp - 0x20]
lea rdi, [rdi + r9*4]
cmp r8, r12
jge 0x1400062a9
mov eax, dword [rdi]
lea rcx, [r8 + rbx]
add rdi, r12
mov dword [rsi + rcx*4 + 0x18], eax
add r8, r15
add r9, r15
add r11d, r15d
cmp r9, rdx
jl 0x140006286
cmp r8, r12
jne 0x1400062b7
add r10d, r15d
add rbx, r12
xor r11d, r11d
xor r8d, r8d
cmp r9, rdx
jl 0x14000626f
cmp r10d, dword [rsi + 4]
jg 0x140006407
movsxd rbx, r10d
lea rdi, [0x1400403b0]
movsxd r11, r11d
lea r13, [0x1400401b0]
movzx ecx, byte [rbp + rdx*4 - 0x23]
mov al, byte [rbp - 0x20]
xor al, byte [rcx + r13]
mov byte [rbp - 0x20], al
movzx eax, byte [rbp + rdx*4 - 0x22]
mov al, byte [rax + r13]
xor byte [rbp - 0x1f], al
movzx eax, byte [rbp + rdx*4 - 0x21]
mov al, byte [rax + r13]
xor byte [rbp - 0x1e], al
movzx eax, byte [rbp + rdx*4 - 0x24]
mov al, byte [rax + r13]
xor byte [rbp - 0x1d], al
mov al, byte [rdi]
add rdi, r15
xor byte [rbp - 0x20], al
cmp r14d, 8
je 0x140006343
cmp rdx, r15
jle 0x1400063b1
lea rcx, [rbp - 0x1c]
lea r9, [rdx - 1]
mov r8, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub r8, r15
jne 0x14000632f
sub r9, r15
jne 0x14000632c
jmp 0x1400063b1
lea rcx, [rbp - 0x1c]
mov r9d, 3
mov r8, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub r8, r15
jne 0x140006350
sub r9, r15
jne 0x14000634d
movzx eax, byte [rbp - 0x14]
mov al, byte [rax + r13]
xor byte [rbp - 0x10], al
movzx eax, byte [rbp - 0x13]
mov al, byte [rax + r13]
xor byte [rbp - 0xf], al
movzx eax, byte [rbp - 0x12]
mov al, byte [rax + r13]
xor byte [rbp - 0xe], al
movzx eax, byte [rbp - 0x11]
mov al, byte [rax + r13]
xor byte [rbp - 0xd], al
cmp rdx, 5
jle 0x1400063b1
lea rcx, [rbp - 0xc]
lea r9, [rdx - 5]
mov r8, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub r8, r15
jne 0x14000639f
sub r9, r15
jne 0x14000639c
xor r8d, r8d
test r14d, r14d
jle 0x1400063fd
cmp r10d, dword [rsi + 4]
jg 0x140006407
cmp r8, rdx
jge 0x1400063ea
lea r9, [rbp - 0x20]
lea r9, [r9 + r8*4]
cmp r11, r12
jge 0x1400063ed
mov eax, dword [r9]
lea rcx, [r11 + rbx*4]
add r9, r12
mov dword [rsi + rcx*4 + 0x18], eax
add r11, r15
add r8, r15
cmp r8, rdx
jl 0x1400063cc
cmp r11, r12
jne 0x1400063f8
add r10d, r15d
add rbx, r15
xor r11d, r11d
cmp r8, rdx
jl 0x1400063b9
cmp r10d, dword [rsi + 4]
jle 0x1400062da
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140006520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rsp + 0x50]
mov rax, r8
cmp rax, rbx
mov rdi, rcx
mov r8, rbx
mov rcx, r9
cmovb r8, rax
mov rsi, r9
add r8, r8
call fcn.140017e00
mov r9b, byte [rdi + 0x101]
lea rdx, [rbx + rbx]
mov r8b, byte [rsp + 0x58]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140006520
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov byte [rax + 0x18], r8b
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, qword [0x1400433e0]
xor ebx, ebx
mov r13b, r9b
mov al, r8b
mov r15, rdx
mov rbp, rcx
test rsi, rsi
jne 0x1400065cc
cmp byte [0x1400433d8], bl
jne 0x1400065cc
lea rcx, str.Crypt32.dll
call fcn.14000799c
mov qword [0x1400433d0], rax
test rax, rax
je 0x1400065b1
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400433d0]
lea rdx, str.CryptUnprotectMemory
mov qword [0x1400433e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x1400433e8], rax
jmp 0x1400065b8
mov rdi, qword [0x1400433e8]
mov rsi, qword [0x1400433e0]
mov al, byte [rsp + 0x60]
mov byte [0x1400433d8], 1
jmp 0x1400065d3
mov rdi, qword [0x1400433e8]
mov r14, r15
mov r12d, ebx
and r14, 0xfffffffffffffff0
test r13b, r13b
setne r12b
test al, al
je 0x140006632
test rsi, rsi
je 0x140006658
mov rcx, rsi
call qword [fcn.14001a2b0]
mov r8d, r12d
mov edx, r14d
mov rcx, rbp
call rsi
test eax, eax
jne 0x140006673
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x140059040]
mov rcx, rbx
call fcn.140001a0c
mov rcx, rbx
call fcn.14001a2b0
mov edx, 2
mov rcx, rbx
call fcn.140001a04
jmp 0x140006673
test rdi, rdi
je 0x140006658
mov rcx, rdi
call qword [fcn.14001a2b0]
mov r8d, r12d
mov edx, r14d
mov rcx, rbp
call rdi
test eax, eax
jne 0x140006673
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x14000660c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test r15, r15
je 0x140006673
add al, 0x4b
lea ecx, [rbx + rax]
xor byte [rbx + rbp], cl
inc rbx
cmp rbx, r15
jb 0x140006665
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140006f0c
Capabilities:
Hash data using sha1

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, 0x60
mov edi, dword [rcx + 0x18]
mov ebp, 0x38
mov r14, qword [rcx + 0x18]
and edi, 0x3f
shl r14, 3
mov rsi, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x20], 0x80
inc edi
cmp edi, ebp
je 0x140006f96
jbe 0x140006f69
lea edx, [rbp + 8]
cmp edi, edx
jae 0x140006f67
sub edx, edi
mov eax, edi
add rcx, 0x20
mov r8d, edx
xor edx, edx
add rcx, rax
call fcn.1400172f0
xor edi, edi
test edi, edi
jne 0x140006f81
lea r8, [rbx + 0x20]
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140006718
mov eax, edi
lea rcx, [rbx + 0x20]
sub ebp, edi
add rcx, rax
mov r8d, ebp
xor edx, edx
call fcn.1400172f0
mov rcx, r14
shr rcx, 0x20
call fcn.14001d2d4
mov ecx, r14d
mov dword [rbx + 0x58], eax
call fcn.14001d2d4
lea r8, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140006718
mov rdx, rbx
mov ecx, 5
sub rdx, rsi
mov eax, dword [rdx + rsi]
mov dword [rsi], eax
lea rsi, [rsi + 4]
sub rcx, 1
jne 0x140006fcf
and qword [rbx + 0x18], rcx
lea r11, [rsp + 0x60]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
mov rbx, qword [r11 + 0x10]
mov rsp, r11
pop r14
ret

Function at 0x140007020
Capabilities:
Hash data using sha1

Disassembly:
and qword [rcx + 0x18], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x14000799c
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1020
call fcn.140016560
sub rsp, rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400079c6
xor eax, eax
jmp 0x1400079e9
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140003dcc
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
add rsp, 0x1020
pop rbx
ret
Function at 0x14000b758
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140053ad8], 0
je 0x14000b773
or eax, 0xffffffff
jmp 0x14000b877
mov rax, qword [0x140043988]
test rax, rax
jg 0x14000b793
dec rax
mov qword [0x140043988], rax
and qword [0x1400539e8], 0
jmp 0x14000b76b
mov rbx, qword [0x1400539e8]
test rbx, rbx
jg 0x14000b7e7
mov rcx, qword [0x1400539d8]
mov ebx, 0x2000
mov edx, ebx
call fcn.14000ba2c
movsxd rcx, eax
mov qword [0x1400539e8], rcx
test eax, eax
je 0x14000b789
cmp rcx, 0xffffffffffffffff
je 0x14000b819
mov rax, qword [0x1400539d8]
add qword [0x140053a28], rbx
mov qword [0x1400539e0], rax
call fcn.14000b18c
mov rbx, qword [0x1400539e8]
mov rax, qword [0x1400439c0]
test byte [rax + 0x40], 1
je 0x14000b85c
cmp byte [0x140054cd1], 0
je 0x14000b831
test rbx, rbx
je 0x14000b85c
mov rcx, qword [0x1400539e0]
lea r8, [0x140054cd8]
mov edx, ebx
call fcn.14000ec24
jmp 0x14000b855
lea rdx, [0x140062452]
lea rcx, [0x140059040]
call fcn.140001be8
jmp 0x14000b789
mov rdi, qword [0x1400539e0]
test rbx, rbx
je 0x14000b85c
call fcn.14000e7e0
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.14000e934
inc rdi
sub rbx, 1
jne 0x14000b83d
mov rbx, qword [0x1400539e8]
mov rax, qword [0x1400539e0]
dec rbx
mov qword [0x1400539e8], rbx
movzx eax, byte [rax]
inc qword [0x1400539e0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000d184
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov rdi, qword [0x140053a08]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.14001a2b0]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call rbx
mov rdi, qword [0x140053a08]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.14001a2b0]
mov r8d, 0x40
lea rdx, [rsp + 0x20]
mov rcx, rdi
call rbx
cmp eax, 0x40
jne 0x14000d29f
cmp byte [rsp + 0x20], 0x4d
jne 0x14000d29f
cmp byte [rsp + 0x21], 0x5a
jne 0x14000d29f
mov rsi, qword [0x140053a08]
mov ebx, dword [rsp + 0x5c]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [fcn.14001a2b0]
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call rdi
mov rdi, qword [0x140053a08]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.14001a2b0]
mov esi, 0x108
lea rdx, [rsp + 0x20]
mov r8d, esi
mov rcx, rdi
call rbx
cmp eax, esi
jne 0x14000d29f
cmp byte [rsp + 0x20], 0x50
jne 0x14000d29f
cmp byte [rsp + 0x21], 0x45
jne 0x14000d29f
cmp byte [rsp + 0x22], 0
jne 0x14000d29f
cmp byte [rsp + 0x23], 0
jne 0x14000d29f
cmp byte [rsp + 0x38], 0xb
jne 0x14000d29f
cmp byte [rsp + 0x39], 1
jne 0x14000d28d
cmp dword [rbp - 0x6c], 4
jbe 0x14000d29f
mov eax, dword [rbp - 0x48]
jmp 0x14000d2a1
cmp byte [rsp + 0x39], 2
jne 0x14000d29f
cmp dword [rbp - 0x5c], 4
jbe 0x14000d29f
mov eax, dword [rbp - 0x38]
jmp 0x14000d2a1
xor eax, eax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000e84c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, rdx
call fcn.14000e800
mov r8d, 0xc
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140017e00
xor ebx, ebx
mov ecx, dword [0x140054b38]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
movzx ecx, al
movzx eax, byte [rsp + rbx + 0x20]
xor ecx, eax
mov byte [rsp + rbx + 0x20], cl
movzx ecx, cl
call fcn.14000e934
inc rbx
cmp rbx, 0xc
jl 0x14000e876
mov rax, qword [0x1400439c0]
movzx ecx, byte [0x140053a57]
test byte [rax + 0x40], 2
movzx eax, byte [0x140053a4f]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x14000e8d9
or eax, 0xffffffff
jmp 0x14000e929
mov rbx, qword [0x1400539e8]
mov rax, qword [0x140043988]
mov rdi, qword [0x1400539e0]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x14000e927
mov ecx, dword [0x140054b38]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.14000e934
inc rdi
sub ebx, 1
jne 0x14000e8fb
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000e934
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov rdx, qword [0x140054b30]
lea r10, [0x140043560]
mov eax, ecx
mov r9d, ecx
xor rdx, rax
mov eax, dword [0x140054b30]
shr eax, 8
movzx r8d, dl
mov edx, dword [r10 + r8*4]
xor edx, eax
movzx eax, dl
add eax, dword [0x140054b34]
imul ecx, eax, 0x8088405
mov dword [0x140054b30], edx
inc ecx
mov eax, ecx
mov dword [0x140054b34], ecx
mov ecx, dword [0x140054b38]
shr rax, 0x18
xor rax, qword [0x140054b38]
movzx eax, al
shr ecx, 8
mov eax, dword [r10 + rax*4]
xor eax, ecx
mov dword [0x140054b38], eax
mov eax, r9d
ret
Function at 0x14000e9a4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x340
mov r14, r8
mov ebx, edx
mov rdi, rcx
mov r15d, 0xa8
mov r8d, r15d
lea rcx, [rsp + 0x70]
xor edx, edx
mov esi, r9d
call fcn.1400172f0
lea r8, [rsp + 0x70]
mov edx, ebx
mov rcx, rdi
call fcn.14000f130
mov r8d, r15d
mov byte [rsp + 0x30], 0
lea rdx, [rsp + 0x70]
mov byte [rsp + 0x31], 0
lea rcx, [rbp + 0x130]
call fcn.140017e00
lea rax, [rsp + 0x30]
mov edx, esi
lea r9, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x130]
mov rcx, r14
call fcn.14000edc4
mov esi, dword [rbp + 0x2a0]
mov eax, 0xcccccccd
lea ecx, [rsi - 1]
mul ecx
mov r13d, edx
shr r13d, 4
add r13d, 1
je 0x14000eb7d
mov r12, qword [rbp + 0x298]
xor edi, edi
mov r14d, dword [rbp + 0x290]
lea ebx, [rdi + 1]
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x14]
call fcn.1400172f0
mov r8, r15
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x20]
call fcn.140017e00
mov eax, ebx
mov byte [rsp + 0x3b], bl
shr eax, 0x18
mov r15d, 4
mov byte [rsp + 0x38], al
mov eax, ebx
shr eax, 0x10
mov byte [rsp + 0x39], al
mov eax, ebx
shr eax, 8
mov byte [rsp + 0x3a], al
test r14d, r14d
je 0x14000eb41
mov rsi, r14
lea rax, [rsp + 0x30]
mov edx, r15d
lea r9, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14000edc4
lea rax, [rsp + 0x31]
mov r15d, 0x14
mov edx, r15d
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e0]
lea r8, [rbp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14000ef64
xor ecx, ecx
mov edx, r15d
mov al, byte [rsp + rcx + 0x38]
xor byte [rsp + rcx + 0x50], al
inc rcx
sub rdx, 1
jne 0x14000eb10
mov r8d, 0xa8
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x20]
call fcn.140017e00
sub rsi, 1
jne 0x14000eac1
mov esi, dword [rbp + 0x2a0]
mov edx, edi
lea r9, [rsp + 0x50]
xor r8d, r8d
cmp edx, esi
jae 0x14000eb66
mov al, byte [r9]
inc r8d
mov ecx, edx
inc r9
inc edx
mov byte [rcx + r12], al
cmp r8d, 0x14
jb 0x14000eb4b
inc ebx
add edi, 0x14
mov r15d, 0xa8
lea eax, [rbx - 1]
cmp eax, r13d
jb 0x14000ea6d
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000edc4
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov eax, dword [r8 + 0xa0]
mov rdi, r9
mov ebp, edx
mov rsi, r8
mov r15, rcx
cmp eax, 0xffffffff
je 0x14000ef35
cmp eax, 0x40
jbe 0x14000ee4e
lea rcx, [r8 + 0x40]
lea rdx, [r11 - 0x38]
call fcn.140006f0c
mov ecx, dword [rsp + 0x20]
call fcn.14001d2d4
mov ecx, dword [rsp + 0x24]
mov dword [rsi], eax
call fcn.14001d2d4
mov ecx, dword [rsp + 0x28]
mov dword [rsi + 4], eax
call fcn.14001d2d4
mov ecx, dword [rsp + 0x2c]
mov dword [rsi + 8], eax
call fcn.14001d2d4
mov ecx, dword [rsp + 0x30]
mov dword [rsi + 0xc], eax
call fcn.14001d2d4
mov dword [rsi + 0x10], eax
mov dword [rsi + 0xa0], 0x14
mov r14, qword [rsp + 0x80]
test rdi, rdi
je 0x14000ee95
cmp byte [r14], 0
je 0x14000ee95
movups xmm0, xmmword [rdi]
lea rbx, [rsi + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x14000eef1
mov ecx, dword [rsi + 0xa0]
mov r8d, 0x40
sub r8d, ecx
xor edx, edx
add rcx, rsi
call fcn.1400172f0
mov rax, rsi
mov ecx, 4
movdqa xmm1, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj_]
movdqu xmm0, xmmword [rax]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14000eeb6
lea rbx, [rsi + 0x40]
mov rcx, rbx
call fcn.140007020
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call fcn.140007048
test rdi, rdi
je 0x14000ef2e
cmp byte [r14], 0
jne 0x14000ef2e
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rdi + 0x50], xmm1
mov byte [r14], 1
or dword [rsi + 0xa0], 0xffffffff
test ebp, ebp
je 0x14000ef48
mov r8, rbp
lea rcx, [rsi + 0x40]
mov rdx, r15
call fcn.140007048
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14000ef64
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
cmp dword [r8 + 0xa0], 0xffffffff
mov rdi, r9
mov rsi, r8
mov r15d, edx
mov r12, rcx
je 0x14000efaa
and qword [rax - 0x58], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call fcn.14000edc4
lea rbx, [rsi + 0x40]
mov rcx, rbx
lea rdx, [rbp - 0x18]
call fcn.140006f0c
mov ecx, dword [rbp - 0x18]
call fcn.14001d2d4
mov ecx, dword [rbp - 0x14]
mov dword [rbp - 0x30], eax
call fcn.14001d2d4
mov ecx, dword [rbp - 0x10]
mov dword [rbp - 0x2c], eax
call fcn.14001d2d4
mov ecx, dword [rbp - 0xc]
mov dword [rbp - 0x28], eax
call fcn.14001d2d4
mov ecx, dword [rbp - 8]
mov dword [rbp - 0x24], eax
call fcn.14001d2d4
mov r14, qword [rbp + 0x40]
mov dword [rbp - 0x20], eax
test rdi, rdi
je 0x14000f030
cmp byte [r14], 0
je 0x14000f030
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x14000f06b
mov rax, rsi
mov ecx, 4
movdqu xmm0, xmmword [rax]
pxor xmm0, xmmword [0x14002b680]
movdqu xmmword [rax], xmm0
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14000f038
mov rcx, rbx
call fcn.140007020
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call fcn.140007048
test rdi, rdi
je 0x14000f0a8
cmp byte [r14], 0
jne 0x14000f0a8
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rdi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140007048
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.140006f0c
mov ecx, dword [rbp - 0x18]
call fcn.14001d2d4
mov ecx, dword [rbp - 0x14]
mov dword [rbp - 0x30], eax
call fcn.14001d2d4
mov ecx, dword [rbp - 0x10]
mov dword [rbp - 0x2c], eax
call fcn.14001d2d4
mov ecx, dword [rbp - 0xc]
mov dword [rbp - 0x28], eax
call fcn.14001d2d4
mov ecx, dword [rbp - 8]
mov dword [rbp - 0x24], eax
call fcn.14001d2d4
mov dword [rbp - 0x20], eax
test r15d, r15d
je 0x14000f111
mov r8, r15
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.140017e00
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret