joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b1e0
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.14001aee0
cmp qword [0x140296048], 0
mov rbx, rax
je 0x14001b2f8
test rax, rax
je 0x14001b2f8
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
mov dword [rbx + 0x70], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14001e4a0
cmp eax, 1
je 0x14001b306
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
lea r9, [rbx + 0x28]
mov rcx, rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je fcn.14002dc4c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1402869f8]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14001b30c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.14001acb0
nop
jmp fcn.14002dc4c

Function at 0x14001b320
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001b340
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001b1e0
Function at 0x14001bab0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [rcx]
test rdx, rdx
mov rbx, rcx
mov rsi, rdx
je 0x14001bbd8
cmp eax, 1
je 0x14001bb0b
call fcn.14001aa30
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call fcn.14001a3b0
mov r12d, dword [rbx]
test r12d, r12d
je 0x14001bb20
cmp r12d, 1
jne 0x14001bbb0
mov rcx, rbp
call fcn.14001a6a0
test rdi, rdi
je 0x14001bb0b
mov rcx, rdi
call fcn.14001add0
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [0x14001aeb0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14001b130
mov ecx, dword [0x1402869f8]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x14001bc18
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call r12
test rax, rax
je 0x14001bc00
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call r12
test rax, rax
je 0x14001bbf0
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x14001baf6
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call fcn.140019e10
jmp 0x14001baf6
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001b1e0
test rax, rax
jne 0x14001bb99
jmp 0x14002dc65
call fcn.14001b1e0
test rax, rax
jne 0x14001bb75
jmp 0x14002dc7e
call fcn.14001b1e0
test rax, rax
jne 0x14001bb4f
jmp 0x14002dc74
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2

Function at 0x14001bea0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001bf18
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.14001e4b0
cmp esi, dword [rbx + 0x48]
jae 0x14001bef3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14001bef3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.14001e4f0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001b1e0
mov rbx, rax
jmp 0x14001becd
Function at 0x14001bf30
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c040
lea r14, [rbx + 0x68]
mov rcx, r14
call fcn.14001e4b0
cmp esi, dword [rbx + 0x48]
jae 0x14001bfc0
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r14
mov byte [rax + rsi], 1
call fcn.14001e4f0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rbx + 0x50]
lea r15d, [rsi + 1]
movsxd r13, r15d
lea rdx, [r13*8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test rax, rax
mov rdi, rax
je 0x14001c04d
mov rcx, qword [rbx + 0x58]
mov rdx, r13
movq xmm6, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
movq xmm0, rax
test rax, rax
mov r13, rax
punpcklqdq xmm6, xmm0
je 0x14001c04d
mov eax, dword [rbx + 0x48]
mov edx, r15d
lea rcx, [rdi + rax*8]
sub edx, eax
lea r8, [rdx*8]
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, dword [rbx + 0x48]
mov r8d, r15d
lea rcx, [r13 + rdx]
sub r8d, edx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movaps xmmword [rbx + 0x50], xmm6
mov dword [rbx + 0x48], r15d
jmp 0x14001bf84
call fcn.14001b1e0
mov rbx, rax
jmp 0x14001bf6f
mov rcx, r14
call fcn.14001e4f0
mov eax, 0xc
jmp 0x14001bfa2

Function at 0x14001c0d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c0f8
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14001b1e0
test rax, rax
jne 0x14001c0ea
add rsp, 0x28
ret

Function at 0x14001c160
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c188
add rax, 0x18
add rsp, 0x28
ret
call fcn.14001b1e0
test rax, rax
jne 0x14001c17a
jmp 0x14001c17e

Function at 0x14001c2a0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140293c78]
test eax, eax
jne 0x14001c2b8
xor eax, eax
add rsp, 0x28
ret
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c2e8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001c2ae
test byte [rax + 0x40], 3
je 0x14001c2ae
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14001c2b0
call fcn.14001b1e0
test rax, rax
jne 0x14001c2ce
jmp 0x14001c2ae
Function at 0x14001c300
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c340
test ebx, ebx
jle 0x14001c330
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.14001b1e0
test rax, rax
jne 0x14001c31d
add rsp, 0x20
pop rbx
ret

Function at 0x14001c430
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c4a8
test byte [rbx + 0x40], 0xc
jne 0x14001c45f
mov eax, dword [0x140293c78]
test eax, eax
jne 0x14001c470
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001a3b0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c493
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c493
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c4bc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001a6a0
call fcn.14001b1e0
test rax, rax
mov rbx, rax
jne 0x14001c44f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c4da
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001a6a0
call fcn.14001c350
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c560
call fcn.14001d640
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001c598
call fcn.14001b130
mov ecx, dword [0x1402869f8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c5f0
test esi, esi
je 0x14001c576
call fcn.14001c430
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c5d0
mov edx, edi
call fcn.14001d6f0
call fcn.14001c430
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c5e0
call fcn.14001c430
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c430
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b130
mov ecx, dword [0x1402869f8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x14001c535
call fcn.14001b1e0
mov rbx, rax
jmp 0x14001c535
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c54e
call fcn.14001b1e0
jmp 0x14001c576
call fcn.14001b1e0
mov rbx, rax
jmp 0x14001c531
Function at 0x14001c4f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c4a8
test byte [rbx + 0x40], 0xc
jne 0x14001c45f
mov eax, dword [0x140293c78]
test eax, eax
jne 0x14001c470
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001a3b0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c493
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c493
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c4bc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001a6a0
call fcn.14001b1e0
test rax, rax
mov rbx, rax
jne 0x14001c44f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c4da
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001a6a0
call fcn.14001c350
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c560
call fcn.14001d640
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001c598
call fcn.14001b130
mov ecx, dword [0x1402869f8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c5f0
test esi, esi
je 0x14001c576
call fcn.14001c430
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c5d0
mov edx, edi
call fcn.14001d6f0
call fcn.14001c430
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c5e0
call fcn.14001c430
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c430
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b130
mov ecx, dword [0x1402869f8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x14001c535
call fcn.14001b1e0
mov rbx, rax
jmp 0x14001c535
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c54e
call fcn.14001b1e0
jmp 0x14001c576
call fcn.14001b1e0
mov rbx, rax
jmp 0x14001c531

Function at 0x14001c600
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001b130
mov ecx, dword [0x1402869f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c670
test esi, esi
je 0x14001c650
call fcn.14001c430
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c680
mov edx, esi
call fcn.14001d6f0
call fcn.14001c430
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001c430
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c430
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001b1e0
mov rbx, rax
jmp 0x14001c621
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c63a
Function at 0x140004e18
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov r15, rdx
mov rdi, rcx
test r8, r8
jne 0x140004e4b
mov al, 1
jmp 0x140004fe1
lea r14, [rcx + 8]
cmp dword [rcx + 0x14], 1
jne 0x140004e63
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [r14], rax
mov r13d, 0x4000
xor bpl, bpl
and dword [rsp + 0x30], 0
cmp dword [rdi + 0x14], 0
je 0x140004ebe
xor ebx, ebx
test rsi, rsi
je 0x140004ee7
mov rcx, rsi
sub rcx, rbx
mov eax, esi
sub eax, ebx
mov r8d, r13d
cmp rcx, r13
cmovb r8d, eax
lea rdx, [r15 + rbx]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bpl
test eax, eax
je 0x140004ede
add rbx, r13
cmp rbx, rsi
jb 0x140004e7e
jmp 0x140004ede
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, esi
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bpl
test bpl, bpl
jne 0x140004fda
cmp byte [rdi + 0x22], 0
je 0x140004fda
cmp dword [rdi + 0x14], 0
jne 0x140004fda
xor r8d, r8d
lea rdx, [rdi + 0x40]
lea rcx, [0x14006acf0]
call fcn.140003a18
test al, al
je 0x140004f56
mov ecx, dword [rsp + 0x30]
cmp rcx, rsi
jae 0x140004e69
test ecx, ecx
je 0x140004e69
mov rbx, qword [rdi]
mov rcx, rdi
mov rax, qword [rbx + 0x28]
call qword [0x14003b4b0]
mov ecx, dword [rsp + 0x30]
sub rax, rcx
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
mov rax, qword [rbx + 0x20]
call qword [0x14003b4b0]
jmp 0x140004e69
and qword [rsp + 0x38], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rcx, [0x14003b944]
call fcn.14002ae3c
mov r8, rax
lea rdx, [0x14003b944]
lea rcx, [rsp + 0x38]
call fcn.1400012bc
nop
lea r8, [rdi + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [0x14006acf0]
call fcn.140004190
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140004fda
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004fd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004ffd
call fcn.140025a4c
mov byte [rdi + 0x10], 1
mov al, bpl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140025b60
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14002adc4
int3
Function at 0x14000b768
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov r11, r8
mov r10, rdx
movdqu xmm1, xmmword [rcx + 8]
test r8, r8
je 0x14000b7da
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x14000b78d
pxor xmm0, xmm1
movdqu xmm1, xmmword [rcx + 0x18]
movsxd rax, dword [rcx + 4]
pxor xmm1, xmm0
cmp rax, 1
jle 0x14000b7bb
lea rdx, [rcx + 0x28]
lea r8, [rax - 1]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
aesenc xmm1, xmm0
sub r8, 1
jne 0x14000b7a8
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x18]
mov rax, r9
add r9, 0x10
aesenclast xmm1, xmm0
movdqu xmmword [rax], xmm1
sub r11, 1
jne 0x14000b778
movdqu xmmword [rcx + 8], xmm1
ret

Function at 0x14000b7e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10b, r10b
mov r11b, dl
mov bl, cl
test dl, dl
je 0x14000b828
mov al, r10b
xor al, bl
movzx r8d, al
test r11b, 1
movzx eax, r10b
cmove r8d, eax
mov al, bl
add al, al
mov r10b, r8b
mov r8b, bl
movzx edx, al
mov cl, dl
mov ebx, edx
xor cl, 0x1b
test r8b, r8b
movzx ecx, cl
cmovs ebx, ecx
shr r11b, 1
jne 0x14000b7f1
mov rbx, qword [rsp + 8]
mov al, r10b
ret

Function at 0x14000b834
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov esi, 1
mov rdi, rcx
cmp dword [rcx + 4], esi
jle 0x14000b91b
lea rbx, [r11 - 0x38]
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 + 0x595f0]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r15 + 0x58df0]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r15 + 0x589f0]
lea rcx, [r9 + rax*4]
xor r8b, byte [rcx + r15 + 0x591f0]
mov byte [r14 + r10], r8b
lea r10, [r10 + 4]
sub r11, 1
jne 0x14000b892
inc r9
cmp r9, 4
jl 0x14000b885
movsxd rcx, esi
lea r8d, [r11 + 0x10]
shl rcx, 4
lea rdx, [rsp + 0x20]
add rcx, 0x18
add rcx, rdi
call fcn.140026d40
inc esi
add rbp, 0x10
sub rbx, 0x10
cmp esi, dword [rdi + 4]
jl 0x14000b882
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140025b60
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140015048
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x14006a0a8], 0
je 0x140015063
or eax, 0xffffffff
jmp 0x14001516b
mov rax, qword [0x140059f58]
test rax, rax
jg 0x140015083
dec rax
mov qword [0x140059f58], rax
and qword [0x140069fb8], 0
jmp 0x14001505b
mov rbx, qword [0x140069fb8]
test rbx, rbx
jg 0x1400150d7
mov rcx, qword [0x140069fa8]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400152e8
movsxd rcx, eax
mov qword [0x140069fb8], rcx
test eax, eax
je 0x140015079
cmp rcx, 0xffffffffffffffff
je 0x14001510d
mov rax, qword [0x140069fa8]
add qword [0x140069ff8], rbx
mov qword [0x140069fb0], rax
call fcn.140014964
mov rbx, qword [0x140069fb8]
mov rax, qword [0x140059f90]
test byte [rax + 0x90], 1
je 0x140015150
cmp byte [0x14006a1ec], 0
je 0x140015125
test rbx, rbx
je 0x140015150
mov rdx, qword [0x140069fb0]
lea rcx, [0x14006a1f8]
mov r8, rbx
call fcn.140018c9c
jmp 0x140015149
lea rdx, [0x14006a780]
lea rcx, [0x14006acf0]
call fcn.140003df0
jmp 0x140015079
mov rdi, qword [0x140069fb0]
test rbx, rbx
je 0x140015150
call fcn.1400189f0
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.140018b64
inc rdi
sub rbx, 1
jne 0x140015131
mov rbx, qword [0x140069fb8]
mov rax, qword [0x140069fb0]
dec rbx
mov qword [0x140069fb8], rbx
movzx eax, byte [rax]
inc qword [0x140069fb0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140018a5c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov dil, r8b
mov rcx, rdx
call fcn.140018a10
mov r8d, 0xc
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140026d40
xor ebx, ebx
mov ecx, dword [0x14006a130]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.140018b64
inc rbx
cmp rbx, 0xc
jl 0x140018a98
mov rax, qword [0x140059f90]
movzx ecx, byte [0x14006a027]
test byte [rax + 0x90], 2
movzx eax, byte [0x14006a01f]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x140018af6
or eax, 0xffffffff
jmp 0x140018b4b
test dil, dil
je 0x140018b49
mov rbx, qword [0x140069fb8]
mov rax, qword [0x140059f58]
mov rdi, qword [0x140069fb0]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x140018b49
mov ecx, dword [0x14006a130]
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.140018b64
inc rdi
sub ebx, 1
jne 0x140018b1d
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140025b60
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140018b64
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov r8, qword [0x14006a128]
mov eax, ecx
mov r9d, ecx
mov rdx, r8
mov rcx, qword [0x14006a130]
xor rdx, rax
movzx eax, dl
lea rdx, [0x140059b30]
shr r8d, 8
xor r8d, dword [rdx + rax*4]
movzx eax, r8b
add eax, dword [0x14006a12c]
imul eax, eax, 0x8088405
mov dword [0x14006a128], r8d
inc eax
mov dword [0x14006a12c], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, r9d
mov dword [0x14006a130], ecx
ret

Function at 0x140018e34
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0xa0]
mov r12, rdx
lea rdx, [rsp + 0x20]
mov rsi, r9
mov r15, r8
mov rbx, rcx
call fcn.140019334
xor edi, edi
test rsi, rsi
je 0x140018eac
cmp byte [r14], dil
je 0x140018eac
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x140018ee0
lea rax, [rbx + 0x60]
mov ecx, 0x40
xor byte [rax], 0x6a
inc rax
sub rcx, 1
jne 0x140018eb5
mov rcx, rbx
call fcn.14000c820
mov r8d, 0x40
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.14000c848
test rsi, rsi
je 0x140018f17
cmp byte [r14], dil
jne 0x140018f17
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000c848
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140019334
test r15, r15
je 0x140018f50
mov rcx, rdi
mov al, byte [rsp + rcx + 0x20]
inc edi
mov byte [rcx + r12], al
mov ecx, edi
cmp rcx, r15
jb 0x140018f3f
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140025b60
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret