joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007ee0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1407bb58b], 1
jne 0x140007efc
cmp byte [0x1407bb58a], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x1407bb58a]
mov byte [0x1407bb58b], 1
add rsp, 0x28
ret

Function at 0x140007f30
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
cmp byte [0x1407bb58b], 1
jne 0x140007f55
cmp byte [0x1407bb58a], 0
jne 0x140007f74
jmp 0x140007fad
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x1407bb58b], 1
test rax, rax
setne byte [0x1407bb58a]
je 0x140007fad
mov r14, qword [fcn.140006c60]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:___unw_get_reg_cursor_p__regNum_d__value_p__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.140004f40
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov rcx, rbx
mov edx, edi
call qword [0x1407c1008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x140007fe1
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov edx, edi
call qword [0x1407c1008]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140007ff0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rbx, r8
mov edi, edx
mov rsi, rcx
cmp byte [0x1407bb58b], 1
jne 0x140008016
cmp byte [0x1407bb58a], 0
jne 0x140008035
jmp 0x14000806e
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x1407bb58b], 1
test rax, rax
setne byte [0x1407bb58a]
je 0x14000806e
mov r14, qword [fcn.140006c60]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rbx
lea rdx, str.libunwind:___unw_set_reg_cursor_p__regNum_d__value0x_llx__n
mov rcx, rax
mov r8, rsi
mov r9d, edi
call fcn.140004f40
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
mov rcx, rsi
mov edx, edi
call qword [0x1407c1008]
mov ebp, 0xffffe672
test al, al
je 0x14000810f
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
mov rcx, rsi
mov edx, edi
mov r8, rbx
call qword [0x1407c1008]
xor ebp, ebp
cmp edi, 0xffffffff
jne 0x14000810f
mov rax, qword [rsi]
mov rax, qword [rax + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [0x1407c1008]
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
xor ebp, ebp
mov rcx, rsi
xor edx, edx
call qword [0x1407c1008]
cmp qword [rsp + 0x48], 0
je 0x14000810f
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xfffffffe
call qword [0x1407c1008]
add rax, qword [rsp + 0x48]
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x20]
mov rcx, rsi
mov edx, 0xfffffffe
mov r8, rax
mov rax, r9
call qword [0x1407c1008]
mov eax, ebp
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140008120
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1407bb58b], 1
jne 0x14000813d
cmp byte [0x1407bb58a], 0
jne 0x14000815c
jmp 0x14000818b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x1407bb58b], 1
test rax, rax
setne byte [0x1407bb58a]
je 0x14000818b
mov rdi, qword [fcn.140006c60]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_step_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140004f40
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x40]
mov r8, qword [0x1407c1008]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp r8

Function at 0x1400081b0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp byte [0x1407bb58b], 1
jne 0x1400081d1
cmp byte [0x1407bb58a], 0
jne 0x1400081f0
jmp 0x140008222
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x1407bb58b], 1
test rax, rax
setne byte [0x1407bb58a]
je 0x140008222
mov rbx, qword [fcn.140006c60]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.140004f40
mov ecx, 2
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [0x1407c1008]
xor ecx, ecx
cmp qword [rsi + 8], 0
mov eax, 0xffffe66b
cmovne eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140008250
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1407bb58b], 1
jne 0x14000826d
cmp byte [0x1407bb58a], 0
jne 0x14000828c
jmp 0x1400082bb
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x1407bb58b], 1
test rax, rax
setne byte [0x1407bb58a]
je 0x1400082bb
mov rdi, qword [fcn.140006c60]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_resume_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140004f40
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x50]
mov rcx, rsi
call qword [0x1407c1008]
mov eax, 0xffffe674
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1400082e0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp byte [0x1407bb58b], 1
jne 0x14000830b
cmp byte [0x1407bb58a], 0
jne 0x14000832a
jmp 0x140008362
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x1407bb58b], 1
test rax, rax
setne byte [0x1407bb58a]
je 0x140008362
mov r15, qword [fcn.140006c60]
mov ecx, 2
call r15
mov dword [rsp + 0x20], edi
lea rdx, str.libunwind:___unw_get_proc_name_cursor_p__buf_p__bufLen_lu__n
mov rcx, rax
mov r8, r14
mov r9, rbx
call fcn.140004f40
mov ecx, 2
call r15
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [r14]
mov rax, qword [rax + 0x60]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [0x1407c1008]
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400083a0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1407bb589], 1
jne 0x1400083bc
cmp byte [0x1407bb588], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_UNWINDING
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x1407bb588]
mov byte [0x1407bb589], 1
add rsp, 0x28
ret
Function at 0x14002be30
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x2c], 0x20
mov word [rcx], 0
mov dword [rsp + 0x20], 0xf0000000
lea rcx, [rsp + 0x50]
xor edx, edx
xor r8d, r8d
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14002c07a
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov edx, 0x800c
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14002bebb
test byte [rdi], 1
jne 0x14002becd
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x40], rax
movzx r14d, byte [rsp + 0x30]
jmp 0x14002bf29
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x14002c07a
mov rbx, qword [rdi + 8]
mov rdi, qword [rdi + 0x10]
cmp rbx, 0x16
ja 0x14002beeb
lea rcx, [rsp + 0x31]
lea r14d, [rbx + rbx]
mov byte [rsp + 0x30], r14b
jmp 0x14002bf1b
cmp rbx, 0xfffffffffffffff0
jae 0x14002c08c
mov r14, rbx
or r14, 0xf
lea rcx, [r14 + 1]
call fcn.140001610
mov rcx, rax
mov qword [rsp + 0x40], rax
add r14, 2
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rbx
inc rbx
mov rdx, rdi
mov r8, rbx
call sub.msvcrt.dll_memmove
mov eax, r14d
shr al, 1
and r14b, 1
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
lea rdi, [rsp + 0x31]
mov rbx, rdx
cmove rbx, rdi
movzx eax, al
mov r15, r8
cmove r15, rax
test r15, r15
je 0x14002bf9c
xor r14d, r14d
mov r12, qword [sym.imp.msvcrt.dll_tolower]
nop word cs:[rax + rax]
movsx ecx, byte [rbx + r14]
call r12
mov byte [rbx + r14], al
inc r14
cmp r15, r14
jne 0x14002bf70
movzx eax, byte [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov r14d, eax
and r14b, 1
shr eax, 1
mov rcx, qword [rsp + 0x48]
test r14b, r14b
cmove rdx, rdi
cmove r8d, eax
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14002c056
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x70]
lea r9, [rsp + 0x2c]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14002c051
cmp dword [rsp + 0x2c], 0
je 0x14002c051
lea rbx, [rsp + 0x59]
xor r14d, r14d
lea rdi, [rsp + 0x58]
jmp 0x14002c00c
inc r14
mov eax, dword [rsp + 0x2c]
cmp r14, rax
jae 0x14002c051
movzx edx, byte [rsp + r14 + 0x70]
mov rcx, rdi
call fcn.140001880
movzx eax, byte [rsp + 0x58]
mov r8d, eax
shr r8d, 1
test al, 1
mov rdx, qword [rsp + 0x68]
cmove rdx, rbx
cmovne r8, qword [rsp + 0x60]
mov rcx, rsi
call fcn.1400016b0
test byte [rsp + 0x58], 1
je 0x14002c000
mov rcx, qword [rsp + 0x68]
call fcn.140001680
jmp 0x14002c000
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test byte [rsp + 0x30], 1
je 0x14002c07a
mov rcx, qword [rsp + 0x40]
call fcn.140001680
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.14002c0a0
int3
Function at 0x140990011
Capabilities:
Encode data using xor

Disassembly:
jnp 0x140990082
push qword [rsp + 0x18]
popfq
lea rsp, [rsp + 0x28]
call fcn.140b340fe
add byte [rax], al
push rbp
outsb dx, byte [rsi]
push 0x6c646e61
js 0x140990091
jo 0x1409900a5
imul ebp, dword [rdi + 0x6e], 0x746c6946
jb 0x14099003b
outsd dx, dword [rsi]
outsb dx, byte [rsi]
imul r13d, dword [rsp + r14*2 + 0x65], 0xfae90072
cmp eax, 0x4d
cmp dword [r8 - 0x6aeb855], esp
jrcxz 0x14099000f
jmp 0x18e91843a
sal byte [rcx + rdi*4], cl
cdq
pushfq
jae 0x1409900ad
invalid
mov ch, 0x80
pushfq
movabs byte [0x2080cbf58a2482fd], al
cmovs esi, dword [rdi + 0x7c]
invalid
jl 0x1409900f5
in al, 0x7b
je 0x140990032
and eax, edx
or byte [rsi + 0x185e3100], dl
invalid
add ch, ah
jmp 0x11b86b459
enter 0xfffffffffffffd61, 0xffffffffffffffb0
jbe 0x140990124
or dword [rax], eax
add byte [rax], al
scasd eax, dword [rdi]
and esi, ecx
xor eax, 0xa9ef5533
invalid
xor dword [rbp + 4], edi
mov esp, 0x878a1846
xchg byte [rdx - 0x61], bl
ficomp dword [0x1a9563648]
jbe 0x140990181
pushfq
mov cs, word [rcx]
mov ah, 0x86
cmpsb byte [rsi], byte [rdi]
neg byte [rsi + 0x263f7941]
invalid
pop rax
jns 0x140990194
or byte [rdx], r8b
mov esp, 0x70c5f58
mov esp, 0xb7fb166c
xchg byte [rax], al
add byte [rax], al
push rdx
insd dword [rdi], dx
outsd dx, dword [rsi]
jbe 0x1409901a3
push rax
jb 0x1409901b0
jo 0x14099019a
add byte [rsi + 0x23f883fb], dl
mov ah, 0x38
movabs al, byte [0xf325c6e3f886f0ab]
mov eax, 0xaad49c99
invalid
xor al, 0xb9
stosd dword [rdi], eax
pop rsi
hlt
push rsp
and dword [rax], 0x7d48960f
invalid
jge 0x1409901fe
in al, 4
imul ebx, dword [rdx + 0x59b7d021], 0xffffff81
push rdi
sbb eax, 0x83615c3
add byte [rax], al
add byte [rbx], cl
lodsb al, byte [rsi]
mov bl, 0x7d
retf 0xb0ea
pop rcx
or dword [rsi + 0x57], 0x3615c31d
or byte [rax], al
add byte [rax], al
add byte [r11 + r14*4 - 0x4f153583], bpl
add byte [rbx + rsi*4 - 0x4f153583], ch
invalid
xor al, dl
add eax, 0xb0fba1ff
invalid
cmp dl, bh
xlatb
jne 0x14099023f
sahf
mov ebx, 0xa8a6a48d
push rcx
mov ch, byte [rdi]
jp 0x140990265
call [rbp - 0x572793af]
jbe 0x1409901e2
loope 0x1409901e2
movsd dword [rdi], dword [rsi]
wait
push rax
push 0xfffffffffffffff5
push rcx
xchg byte [rcx], al
jno 0x1409901ff
div byte [rsi - 0x75731e3f]
sbb byte [rbx + 0x6f], bl
vunpckhpd ymm12, ymm15, ymmword [rsi + 0x1eb6a14e]
clc
invalid
or dword [rbx - 1], esp
test dword [rdx + rax - 0x8a], 0xb585e9ff
mov bl, 0xdd
invalid
mov eax, dword [0xf8ab2d03]
invalid
Function at 0x140001070
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rbx
lea rcx, str.killswitch.com
mov edx, 1
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
call qword [sym.imp.DNSAPI.dll_DnsQuery_A]
mov rcx, qword [rsp + 0x30]
mov edi, eax
test rcx, rcx
je 0x1400010ce
mov edx, 1
call qword [sym.imp.DNSAPI.dll_DnsFree]
test edi, edi
je 0x14000112e
lea rcx, str.____Killswitch_not_registered_n
call fcn.140001010
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetGetJoinInformation]
mov rcx, qword [rsp + 0x38]
mov edi, eax
test rcx, rcx
je 0x140001107
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
test edi, edi
jne 0x14000111e
cmp dword [rsp + 0x30], 3
lea rcx, str.___Host_domain_joined_n
sete bl
test ebx, ebx
jne 0x140001125
lea rcx, str.____Host_not_domain_joined_n
call fcn.140001010
xor eax, eax
jmp 0x14000114b
lea rcx, str.___Killswitch_registered_n
call fcn.140001010
lea rcx, str.____Failed_host_checks_n
call fcn.140001010
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001180
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140001a40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a8a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a8a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a8a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a8a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a8a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a8c
xor al, al
add rsp, 0x28
ret
Function at 0x140002724
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140057038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x48]
call fcn.1400026bc
nop
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdx, eax
inc rdx
lea rcx, [rsp + 0x28]
call fcn.140001da4
nop
lea rcx, [rsp + 0x28]
call fcn.140001aec
mov r8, rax
lea rcx, [rsp + 0x28]
call fcn.140001adc
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x28]
call fcn.140001adc
mov rdx, rax
mov rcx, rdi
call fcn.1400020b4
nop
lea rcx, [rsp + 0x28]
call fcn.140001af8
nop
lea rcx, [rsp + 0x48]
call fcn.140002254
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400292f0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret

Function at 0x140008b58
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140059354], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x140008b7d
call fcn.140007710
call fcn.1400091b0
xor r9d, r9d
mov rcx, qword [rbx + 0xf8]
lea rax, [0x14004d330]
mov eax, dword [r9 + rax]
mov dword [r9 + rcx], eax
add r9, 4
cmp r9, 0x20
jl 0x140008b85
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret
Function at 0x14000a1a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x14005a274], 0
jne 0x14000a19e
xor r8d, r8d
lea r9, [0x14005a270]
mov r10d, r8d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
test cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x14000a16c
mov dword [r9], r10d
inc r8d
add r9, 4
cmp r8d, 0x100
jb 0x14000a163
ret
jmp 0x14000a150

Function at 0x14000a1c0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14000a1e6
movzx r9d, byte [rdx]
inc rdx
movzx eax, cl
xor r9, rax
shr ecx, 8
lea rax, [0x14005a270]
xor ecx, dword [rax + r9*4]
sub r8, 1
jne 0x14000a1c5
mov eax, ecx
ret
Function at 0x14000a858
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140057038]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rbx, qword [rbp + 0x190]
mov rax, r8
mov rdi, qword [rbp + 0x198]
mov r12, rdx
mov rsi, qword [rbp + 0x1a0]
mov r15, rcx
mov rdx, rax
lea rcx, [rbp + 0xb0]
mov r8d, 0x10
call fcn.14002b4d0
xor r14d, r14d
mov dword [rbp + 0xc0], 0x1000000
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], r14
lea r8, [rbp + 0xb0]
mov qword [rsp + 0x30], r14
mov rdx, r12
mov qword [rsp + 0x28], r14
lea r9d, [r14 + 0x14]
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14000a53c
lea r13d, [r14 + 0x20]
mov r8d, r13d
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x88]
call fcn.14002b4d0
mov eax, dword [rbp + 0x1a8]
dec eax
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], rsi
lea rdi, [rbp + 0x40]
mov byte [rsp + 0x51], r14b
lea rsi, [rbp + 0x50]
mov byte [rsp + 0x50], r14b
lea r14d, [r13 - 0x1d]
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x44], 0x10
mov dword [rbp + 0x48], 0x10
mov qword [rbp + 0x50], rbx
cmp dword [rdi], 0
jbe 0x14000a9e2
mov ebx, dword [rdi]
lea rax, [rsp + 0x50]
mov r9, r13
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x68]
lea rax, [rsp + 0x60]
mov rdx, r12
mov qword [rsp + 0x38], rax
mov rcx, r15
lea rax, [rsp + 0x51]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
call fcn.14000a53c
mov r8, r13
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x68]
call fcn.14002b4d0
xor eax, eax
lea ecx, [rax + 2]
movdqu xmm0, xmmword [rbp + rax + 0x88]
movdqu xmm1, xmmword [rbp + rax + 0x68]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax + 0x78], xmm1
sub rcx, 1
jne 0x14000a9b5
sub rbx, 1
jne 0x14000a958
mov rcx, qword [rsi]
lea rdx, [rbp + 0x88]
mov r8, r13
call fcn.14002b4d0
add rdi, 4
add rsi, 8
sub r14, 1
jne 0x14000a94d
lea edx, [r14 + 0x44]
lea rcx, [rbp + 0xb0]
call fcn.1400186bc
lea rcx, [rbp + 0x88]
mov rdx, r13
call fcn.1400186bc
lea rcx, [rbp + 0x68]
call fcn.1400186bc
lea rcx, [rbp + 0x100]
call fcn.1400186bc
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1400292f0
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000aa64
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x140057038]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rax, qword [rbp + 0x830]
mov r15, rcx
mov esi, dword [rbp + 0x840]
mov r13, qword [rbp + 0x838]
mov r12, qword [rbp + 0x848]
mov r14, qword [rbp + 0x850]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r8
mov byte [rsp + 0x40], dl
cmp esi, 0x18
jbe 0x14000aad8
xor al, al
jmp 0x14000ace9
xor edi, edi
lea rbx, [rcx + 0x148]
mov rdx, r8
mov rcx, rbx
call fcn.1400187dc
test al, al
je 0x14000ab0d
lea rcx, [rbx + 0x20]
cmp dword [rcx + 0x30], esi
jne 0x14000ab0d
mov rdx, qword [rsp + 0x48]
mov r8d, 0x10
call fcn.14002bf20
test eax, eax
je 0x14000ab22
inc edi
add rbx, 0x98
cmp edi, 4
jae 0x14000ab6f
mov r8, qword [rsp + 0x50]
jmp 0x14000aae1
mov esi, 0x20
lea rdx, [rbx + 0x30]
mov r8d, esi
lea rcx, [rsp + 0x60]
call fcn.14002b4d0
xor r9d, r9d
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov edx, esi
call fcn.140018864
lea rdx, [rbx + 0x54]
mov r8d, esi
lea rcx, [rbp - 0x80]
call fcn.14002b4d0
lea rdx, [rbx + 0x74]
mov r8d, esi
lea rcx, [rbp - 0x60]
call fcn.14002b4d0
jmp 0x14000ac60
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x40]
call fcn.14001c72c
mov ecx, esi
mov ebx, 1
shl ebx, cl
lea rcx, [rbp - 0x40]
call fcn.140030240
mov r8, qword [rsp + 0x48]
lea rcx, [rbp - 0x40]
mov rdx, rax
mov dword [rsp + 0x38], ebx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14000a858
mov edx, 0x800
lea rcx, [rbp - 0x40]
call fcn.1400186bc
mov ecx, dword [r15 + 0x3a8]
mov eax, ecx
mov rdx, qword [rsp + 0x50]
and eax, 3
imul rdi, rax, 0x98
lea eax, [rcx + 1]
mov dword [r15 + 0x3a8], eax
add rdi, 0x148
add rdi, r15
mov rcx, rdi
mov dword [rdi + 0x50], esi
call fcn.14000b300
mov rdx, qword [rsp + 0x48]
lea rcx, [rdi + 0x20]
mov r8d, 0x10
call fcn.14002b4d0
mov esi, 0x20
lea rdx, [rsp + 0x60]
mov r8d, esi
lea rcx, [rdi + 0x30]
call fcn.14002b4d0
lea rcx, [rdi + 0x54]
mov r8d, esi
lea rdx, [rbp - 0x80]
call fcn.14002b4d0
lea rcx, [rdi + 0x74]
mov r8d, esi
lea rdx, [rbp - 0x60]
call fcn.14002b4d0
xor r9d, r9d
lea rcx, [rdi + 0x30]
mov r8b, 1
mov edx, esi
call fcn.140018864
test r12, r12
je 0x14000ac74
mov r8, rsi
lea rdx, [rbp - 0x60]
mov rcx, r12
call fcn.14002b4d0
test r14, r14
je 0x14000acb5
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 8]
call fcn.14002bb80
lea rdx, [rbp - 0x80]
xor r8d, r8d
mov r9, rsi
mov al, byte [rdx]
mov rcx, r8
and ecx, 7
inc r8
inc rdx
xor byte [rcx + r14], al
sub r9, 1
jne 0x14000ac91
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.1400186bc
test r13, r13
je 0x14000acda
mov dl, byte [rsp + 0x40]
lea rcx, [r15 + 0x3b0]
mov r9d, 0x100
mov qword [rsp + 0x20], r13
lea r8, [rsp + 0x60]
call fcn.140017944
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1400186bc
mov al, 1
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.1400292f0
mov rbx, qword [rsp + 0x918]
add rsp, 0x8d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ad14
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140057038]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp dword [rcx], 2
lea rbx, [rcx + 4]
mov rsi, rdx
mov rdi, rcx
mov r14d, 0x20
jne 0x14000adb2
mov ecx, dword [rbx]
lea rdx, [rsp + 0x50]
call fcn.1400091a8
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
lea r9d, [r14 - 0x1c]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
and qword [rsp + 0x28], 0
mov edx, r14d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14000a53c
xor r8d, r8d
lea r9, [rsp + 0x58]
xor edx, edx
movzx eax, byte [r9]
mov ecx, edx
and ecx, 3
inc edx
shl ecx, 3
inc r9
shl eax, cl
xor r8d, eax
cmp edx, r14d
jb 0x14000ad94
mov dword [rbx], r8d
cmp dword [rdi], 3
jne 0x14000adfa
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
mov r9, r14
and qword [rsp + 0x30], 0
mov r8, rbx
and qword [rsp + 0x28], 0
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14000a53c
mov r8, r14
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14002b4d0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400292f0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret