joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b3f2
Capabilities:
Create process on windows

Disassembly:
jmp 0x14003af40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x140067040]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1400704c9]
call fcn.14001c0a4
nop
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14001bc67
nop
mov dword [rbp + 0x10], 0x68
mov dword [rbp + 0x4c], 1
xor eax, eax
mov word [rbp + 0x50], ax
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x98]
call fcn.14001bc67
nop
mov rcx, qword [rbp + 0x1a0]
call fcn.14001b587
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14003b04c
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x14005d2c0]
call fcn.14001bdb1
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.14001b811
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14001b645
Capabilities:
Create process on windows

Disassembly:
jmp 0x14002c970
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2a8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2c8]
mov rax, qword [0x140067040]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x14007016c]
call fcn.14001c0a4
nop
mov dword [rbp + 0x10], 0x68
lea rax, [rbp + 0x18]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov dword [rbp + 0x4c], 1
xor eax, eax
mov word [rbp + 0x50], ax
lea rax, [rbp + 0x1f4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x214]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x1f4]
movzx r8d, byte [rbp + 0x214]
movzx edx, byte [rbp + 0x234]
lea rcx, [rbp + 0x1d0]
call fcn.14001fb90
mov rcx, rax
call fcn.14001bb77
mov r8, qword [rbp + 0x270]
mov rdx, rax
lea rcx, [rbp + 0xc8]
call fcn.14001b0af
nop
lea rcx, [rbp + 0xc8]
call fcn.14001b19a
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14002caad
lea rcx, [rbp + 0xc8]
call fcn.14001b30c
nop
jmp 0x14002cae9
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0xc8]
call fcn.14001b30c
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x14005a870]
call fcn.14001bdb1
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.14001b811
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0x14001b68b
Capabilities:
Create process on windows

Disassembly:
jmp 0x14002c800
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x140067040]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x14007016c]
call fcn.14001c0a4
nop
mov dword [rbp + 0x10], 0x68
lea rax, [rbp + 0x18]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov dword [rbp + 0x4c], 1
xor eax, eax
mov word [rbp + 0x50], ax
mov rcx, qword [rbp + 0x1a0]
call fcn.14001b587
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14002c8c8
jmp 0x14002c8f7
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x14005a770]
call fcn.14001bdb1
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.14001b811
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x14001b866
Capabilities:
Check internet connectivity via wininet
Terminate process

Disassembly:
jmp 0x140037af0
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14007031c]
call fcn.14001c0a4
nop
lea rcx, [0x140067660]
call fcn.14001b587
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x140037b36
mov byte [rbp + 0xd4], 1
jmp 0x140037b3d
mov byte [rbp + 0xd4], 0
movzx eax, byte [rbp + 0xd4]
mov byte [rbp + 4], al
movzx eax, byte [rbp + 4]
test eax, eax
jne 0x140037b5b
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
movzx eax, byte [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14001b951
Capabilities:
Terminate process

Disassembly:
jmp 0x14004f130
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001bad2
Capabilities:
Get geographical location

Disassembly:
jmp 0x140049250
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14004928d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14001c095
add rsp, 0x58
ret

Function at 0x14001bb0e
Capabilities:
Get disk size
Get memory capacity
Get system information on windows

Disassembly:
jmp 0x140048e30
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140067040]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x140070677]
call fcn.14001c0a4
nop
mov dword [rbp + 0x10], 0x40
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
xor edx, edx
mov rax, qword [rbp + 0x18]
mov ecx, 0x40000000
div rcx
mov qword [rbp + 0x68], rax
lea rcx, [0x1400676e0]
call fcn.14001b587
xor r9d, r9d
lea r8, [rbp + 0x88]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop
xor edx, edx
mov rax, qword [rbp + 0x88]
mov ecx, 0x40000000
div rcx
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
mov eax, dword [rbp + 0xe8]
mov dword [rbp + 0x114], eax
cmp qword [rbp + 0x68], 2
jbe 0x140048f0c
cmp qword [rbp + 0xa8], 0x32
jbe 0x140048f0c
cmp dword [rbp + 0x114], 1
jbe 0x140048f0c
mov dword [rbp + 0x1e4], 0
jmp 0x140048f16
mov dword [rbp + 0x1e4], 1
movzx eax, byte [rbp + 0x1e4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005e070]
call fcn.14001bdb1
mov eax, edi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.14001b811
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret

Function at 0x14001bb81
Capabilities:
Parse pe header

Disassembly:
jmp 0x14004ffb0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14004ffd0
xor al, al
jmp 0x140050051
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14004ffe3
xor al, al
jmp 0x140050051
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14005000d
xor al, al
jmp 0x140050051
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140050021
xor al, al
jmp 0x140050051
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140050033
xor al, al
jmp 0x140050051
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14005004f
xor al, al
jmp 0x140050051
mov al, 1
add rsp, 0x38
ret
Function at 0x14001c211
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x14004b8c0
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rdx, qword [rsp + 0x70]
mov ecx, 0x105
call fcn.14001b71c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14004b8ff
mov dword [rsp + 0x2c], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
jmp 0x14004b9a1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
je 0x14004b920
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
jne 0x14004b937
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], 0xffffffff
mov rax, qword [rsp + 0x34]
jmp 0x14004b9a1
mov eax, dword [rsp + 0x24]
and eax, 0x400
test eax, eax
je 0x14004b98c
mov r9d, 0x2000000
mov r8d, 0x80
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14001b852
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x50]
call fcn.14001b262
nop
cmp dword [rsp + 0x28], 0
je 0x14004b98c
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], 0xffffffff
mov rax, qword [rsp + 0x3c]
jmp 0x14004b9a1
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x44]
add rsp, 0x68
ret

Function at 0x14004dde0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001c153
movzx eax, al
test eax, eax
jne 0x14004de00
mov ecx, 7
call fcn.14001bdd9
nop
mov byte [rsp + 0x20], 0
call fcn.14001be42
mov byte [rsp + 0x21], al
cmp dword [0x1400677b8], 1
jne 0x14004de24
mov ecx, 7
call fcn.14001bdd9
nop
jmp 0x14004de7c
cmp dword [0x1400677b8], 0
jne 0x14004de77
mov dword [0x1400677b8], 1
lea rdx, [0x1400587b0]
lea rcx, [0x140058480]
call fcn.14001b7e9
test eax, eax
je 0x14004de58
mov eax, 0xff
jmp 0x14004df81
lea rdx, [0x140058370]
lea rcx, [section..rdata]
call fcn.14001be29
mov dword [0x1400677b8], 2
jmp 0x14004de7c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001bd98
call fcn.14001bbe0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14004ded9
mov rcx, qword [rsp + 0x30]
call fcn.14001b668
movzx eax, al
test eax, eax
je 0x14004ded9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140071020]
nop
call fcn.14001bc8f
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14004df0d
mov rcx, qword [rsp + 0x38]
call fcn.14001b668
movzx eax, al
test eax, eax
je 0x14004df0d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001c03b
nop
call fcn.14004dff0
mov dword [rsp + 0x28], eax
call fcn.14001bb81
movzx eax, al
test eax, eax
jne 0x14004df2c
mov ecx, dword [rsp + 0x28]
call fcn.14001b159
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14004df3b
call fcn.14001c06d
nop
xor edx, edx
mov cl, 1
call fcn.14001b5fa
mov eax, dword [rsp + 0x28]
jmp 0x14004df81
add rsp, 0x68
ret
Function at 0x140001000
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x170
mov rdi, rsp
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140009028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r8d, 0x114
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 5
jne 0x14000105d
mov byte [0x140009128], 1
movzx eax, byte [0x140009128]
mov edi, eax
mov rcx, rsp
lea rdx, [0x140005d50]
call fcn.140002e8c
mov eax, edi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002f90
add rsp, 0x170
pop rdi
ret
Function at 0x140001b10
Capabilities:
Get file version info

Disassembly:
push rdi
sub rsp, 0x3f0
mov rdi, rsp
mov ecx, 0xfc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140009028]
xor rax, rsp
mov qword [rsp + 0x3e8], rax
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140001b62
lea rcx, str.Unable_to_get_executable_file_name._n
call fcn.140002af0
jmp 0x140001cde
lea rdx, [rsp + 0x264]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x274], eax
cmp dword [rsp + 0x274], 0
jne 0x140001b96
lea rcx, str.Unable_to_get_version_info_size._n
call fcn.140002af0
jmp 0x140001cde
mov eax, dword [rsp + 0x274]
mov ecx, eax
call fcn.140002be8
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0x278], rax
mov r9, qword [rsp + 0x278]
mov r8d, dword [rsp + 0x274]
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140001bed
lea rcx, str.Unable_to_get_version_info._n
call fcn.140002af0
jmp 0x140001cde
lea r9, [rsp + 0x2a4]
lea r8, [rsp + 0x288]
lea rdx, [0x1400056d4]
mov rcx, qword [rsp + 0x278]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140001c26
lea rcx, str.Unable_to_query_version_value._n
call fcn.140002af0
jmp 0x140001cde
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
mov eax, dword [rax + 0x14]
and eax, 0xffff
mov rcx, qword [rsp + 0x2b8]
mov ecx, dword [rcx + 0x14]
shr ecx, 0x10
mov rdx, qword [rsp + 0x2b8]
mov edx, dword [rdx + 0x10]
and edx, 0xffff
mov r8, qword [rsp + 0x2b8]
mov r8d, dword [r8 + 0x10]
shr r8d, 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
lea rdx, str.version__i._i._i._i
lea rcx, [rsp + 0x2d0]
call fcn.140002740
lea rdx, [0x140005be8]
lea rcx, [rsp + 0x360]
call fcn.1400028b0
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x360]
call fcn.140002830
lea rdx, str._njabswitch_enables_or_disables_the_Java_Access_Bridge._n
lea rcx, [rsp + 0x360]
call fcn.140002830
lea rcx, [rsp + 0x360]
call fcn.140002af0
mov rcx, rsp
lea rdx, [0x140006450]
call fcn.140002e8c
mov rcx, qword [rsp + 0x3e8]
xor rcx, rsp
call fcn.140002f90
add rsp, 0x3f0
pop rdi
ret
Function at 0x1400012b0
Capabilities:
Encode data using xor

Disassembly:
endbr64
xor rax, rax
xor r10, r10
cmp r8, 0
je 0x14000130d
cmp r8, 0x10
jne 0x1400012f0
mov r10, qword [rcx]
mov r11, qword [rcx + 8]
mov r8d, 1
xor r10, qword [rdx]
xor r11, qword [rdx + 8]
or r10, r11
cmovne rax, r8
repz ret
mov r10b, byte [rcx]
lea rcx, [rcx + 1]
xor r10b, byte [rdx]
lea rdx, [rdx + 1]
or al, r10b
dec r8
jne 0x1400012f0
neg rax
shr rax, 0x3f
repz ret
Function at 0x140001e80
Capabilities:
Encode data using xor

Disassembly:
xor eax, dword [r15]
xor ebx, dword [r15 + 4]
xor ecx, dword [r15 + 8]
xor edx, dword [r15 + 0xc]
mov r13d, dword [r15 + 0xf0]
sub r13d, 1
jmp 0x140001ea0
movzx esi, al
movzx edi, bl
movzx ebp, cl
mov r10d, dword [r14 + rsi*8]
mov r11d, dword [r14 + rdi*8]
mov r12d, dword [r14 + rbp*8]
movzx esi, bh
movzx edi, ch
movzx ebp, dl
xor r10d, dword [r14 + rsi*8 + 3]
xor r11d, dword [r14 + rdi*8 + 3]
mov r8d, dword [r14 + rbp*8]
movzx esi, dh
shr ecx, 0x10
movzx ebp, ah
xor r12d, dword [r14 + rsi*8 + 3]
shr edx, 0x10
xor r8d, dword [r14 + rbp*8 + 3]
shr ebx, 0x10
lea r15, [r15 + 0x10]
shr eax, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
xor r10d, dword [r14 + rsi*8 + 2]
xor r11d, dword [r14 + rdi*8 + 2]
xor r12d, dword [r14 + rbp*8 + 2]
movzx esi, dh
movzx edi, ah
movzx ebp, bl
xor r10d, dword [r14 + rsi*8 + 1]
xor r11d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 2]
mov edx, dword [r15 + 0xc]
movzx edi, bh
movzx ebp, ch
mov eax, dword [r15]
xor r12d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 1]
mov ebx, dword [r15 + 4]
mov ecx, dword [r15 + 8]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
sub r13d, 1
jne 0x140001ea0
movzx esi, al
movzx edi, bl
movzx ebp, cl
movzx r10d, byte [r14 + rsi*8 + 2]
movzx r11d, byte [r14 + rdi*8 + 2]
movzx r12d, byte [r14 + rbp*8 + 2]
movzx esi, dl
movzx edi, bh
movzx ebp, ch
movzx r8d, byte [r14 + rsi*8 + 2]
mov edi, dword [r14 + rdi*8]
mov ebp, dword [r14 + rbp*8]
and edi, 0xff00
and ebp, 0xff00
xor r10d, edi
xor r11d, ebp
shr ecx, 0x10
movzx esi, dh
movzx edi, ah
shr edx, 0x10
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8]
and esi, 0xff00
and edi, 0xff00
shr ebx, 0x10
xor r12d, esi
xor r8d, edi
shr eax, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8]
mov ebp, dword [r14 + rbp*8]
and esi, 0xff0000
and edi, 0xff0000
and ebp, 0xff0000
xor r10d, esi
xor r11d, edi
xor r12d, ebp
movzx esi, bl
movzx edi, dh
movzx ebp, ah
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8 + 2]
mov ebp, dword [r14 + rbp*8 + 2]
and esi, 0xff0000
and edi, 0xff000000
and ebp, 0xff000000
xor r8d, esi
xor r10d, edi
xor r11d, ebp
movzx esi, bh
movzx edi, ch
mov edx, dword [r15 + 0x1c]
mov esi, dword [r14 + rsi*8 + 2]
mov edi, dword [r14 + rdi*8 + 2]
mov eax, dword [r15 + 0x10]
and esi, 0xff000000
and edi, 0xff000000
xor r12d, esi
xor r8d, edi
mov ebx, dword [r15 + 0x14]
mov ecx, dword [r15 + 0x18]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
repz ret
Function at 0x1400022e0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
endbr64
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x140003c80]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.140002070
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret

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

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
endbr64
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x140003c80]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.140002070
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x1400023c0
Capabilities:
Encode data using xor

Disassembly:
xor eax, dword [r15]
xor ebx, dword [r15 + 4]
xor ecx, dword [r15 + 8]
xor edx, dword [r15 + 0xc]
mov r13d, dword [r15 + 0xf0]
sub r13d, 1
jmp 0x1400023e0
movzx esi, al
movzx edi, bl
movzx ebp, cl
mov r10d, dword [r14 + rsi*8]
mov r11d, dword [r14 + rdi*8]
mov r12d, dword [r14 + rbp*8]
movzx esi, dh
movzx edi, ah
movzx ebp, dl
xor r10d, dword [r14 + rsi*8 + 3]
xor r11d, dword [r14 + rdi*8 + 3]
mov r8d, dword [r14 + rbp*8]
movzx esi, bh
shr eax, 0x10
movzx ebp, ch
xor r12d, dword [r14 + rsi*8 + 3]
shr edx, 0x10
xor r8d, dword [r14 + rbp*8 + 3]
shr ebx, 0x10
lea r15, [r15 + 0x10]
shr ecx, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
xor r10d, dword [r14 + rsi*8 + 2]
xor r11d, dword [r14 + rdi*8 + 2]
xor r12d, dword [r14 + rbp*8 + 2]
movzx esi, bh
movzx edi, ch
movzx ebp, bl
xor r10d, dword [r14 + rsi*8 + 1]
xor r11d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 2]
movzx esi, dh
mov edx, dword [r15 + 0xc]
movzx ebp, ah
xor r12d, dword [r14 + rsi*8 + 1]
mov eax, dword [r15]
xor r8d, dword [r14 + rbp*8 + 1]
xor eax, r10d
mov ebx, dword [r15 + 4]
mov ecx, dword [r15 + 8]
xor ecx, r12d
xor ebx, r11d
xor edx, r8d
sub r13d, 1
jne 0x1400023e0
lea r14, [r14 + 0x800]
movzx esi, al
movzx edi, bl
movzx ebp, cl
movzx r10d, byte [r14 + rsi]
movzx r11d, byte [r14 + rdi]
movzx r12d, byte [r14 + rbp]
movzx esi, dl
movzx edi, dh
movzx ebp, ah
movzx r8d, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl edi, 8
shl ebp, 8
xor r10d, edi
xor r11d, ebp
shr edx, 0x10
movzx esi, bh
movzx edi, ch
shr eax, 0x10
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
shl esi, 8
shl edi, 8
shr ebx, 0x10
xor r12d, esi
xor r8d, edi
shr ecx, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl esi, 0x10
shl edi, 0x10
shl ebp, 0x10
xor r10d, esi
xor r11d, edi
xor r12d, ebp
movzx esi, bl
movzx edi, bh
movzx ebp, ch
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl esi, 0x10
shl edi, 0x18
shl ebp, 0x18
xor r8d, esi
xor r10d, edi
xor r11d, ebp
movzx esi, dh
movzx edi, ah
mov edx, dword [r15 + 0x1c]
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
mov eax, dword [r15 + 0x10]
shl esi, 0x18
shl edi, 0x18
xor r12d, esi
xor r8d, edi
mov ebx, dword [r15 + 0x14]
mov ecx, dword [r15 + 0x18]
lea r14, [r14 - 0x800]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
repz ret