joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003a60
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003a94
cmp word [rcx], 0x5a4d
jne 0x140003a94
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003a94
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a94
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1400039a0
test eax, eax
jne 0x140003ab0
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003a10
test rax, rax
je 0x140003aa5
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004265
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004160
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004100
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400045c4
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1409871d8]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1409871d4]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140004612
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000460a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400046f9
inc ebx
add rax, 0x28
jmp 0x1400045ea
mov rcx, r12
call fcn.140004df1
mov rbp, rax
test rax, rax
jne 0x140004631
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140004560
movsxd rbx, ebx
mov rax, qword [0x1409871d8]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140004e9f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1409871d8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004693
mov rax, qword [0x1409871d8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140004560
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400046f3
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400046f3
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1409871d8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400046f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140004560
inc dword [0x1409871d4]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004b20
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140987240]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140987220]
test rbx, rbx
je 0x140004b6c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004b66
test eax, eax
jne 0x140004b66
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004b3e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004d20
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004d43
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004d43
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004d44
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140004d7e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140004d75
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140004d80
inc r8d
add rax, 0x28
jmp 0x140004d5c
xor eax, eax
ret

Function at 0x140004df1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409832b0]
mov r8, rcx
mov rcx, r9
call fcn.140004d20
test eax, eax
je 0x140004e1d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004d44
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002440
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140002474
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140002460
ret
Function at 0x140006d60
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140006e2c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140006e2c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140006e45
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140006e1c
cmp byte [rax], 0x5c
jne 0x140006e16
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140006e16
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140006e02
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140006e13
test r8b, 0x10
jne 0x140006e16
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140006e16
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400032e0
test edi, edi
jne 0x140006d80
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400032d0
int3

Function at 0x14000b4d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b51e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b51e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b51e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b51e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b51e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000b520
xor al, al
add rsp, 0x28
ret

Function at 0x140010ee0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140010d4b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140010d4b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140010d4b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140010d4b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140010d4b
cmp dword [rcx + 0x84], 0xe
jbe 0x140010d4b
cmp dword [rcx + 0xf8], 0
je 0x140010d4b
mov ecx, ebx
call fcn.140010dfc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140010bd8
nop
cmp dword [rbp + 0x20], 0
je 0x140010d99
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140010da4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140010cdc
Function at 0x14001a9a4
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001a9d4
xor eax, eax
jmp 0x14001aa97
mov rbp, rbx
cmp word [rax], si
je 0x14001a9f9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001a9e0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001a9dc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140018fa4
movsxd r14, eax
test eax, eax
jne 0x14001aa37
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001a9cd
mov rcx, r14
call fcn.14001771c
mov rdi, rax
test rax, rax
jne 0x14001aa50
xor ecx, ecx
call fcn.140015bcc
jmp 0x14001aa2c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140018fa4
test eax, eax
jne 0x14001aa81
mov rcx, rdi
call fcn.140015bcc
jmp 0x14001aa8b
xor ecx, ecx
call fcn.140015bcc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14001d6fc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140015f80
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14001d79d
cmp ebx, dword [rsp + 0x30]
je 0x14001d796
test esi, esi
je 0x14001d796
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14001d771
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14001d77e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14001d75b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14001d782
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14001d79f
mov eax, 1
jmp 0x14001d79f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f2f4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140012220
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001f37e
cmp byte [rbp - 0x21], r15b
je 0x14001f379
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001f3b4
call fcn.140016f98
test eax, eax
jne 0x14001f3a0
cmp byte [rbp - 0x21], r15b
je 0x14001f398
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001f3b4
cmp byte [rbp - 0x21], r15b
je 0x14001f3b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140012390
test eax, eax
jne 0x14001f454
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140012220
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001f3f3
cmp byte [rbp - 0x21], r15b
je 0x14001f428
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001f428
call fcn.140016f98
test eax, eax
jne 0x14001f414
cmp byte [rbp - 0x21], r15b
je 0x14001f40d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001f428
cmp byte [rbp - 0x21], r15b
je 0x14001f425
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140012390
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001f454
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001f457
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001f465
mov rcx, rdi
call fcn.140015bcc
cmp byte [rbp + 0x3f], r15b
je 0x14001f474
mov rcx, qword [rbp + 0x27]
call fcn.140015bcc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140001570
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x150
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x38], rcx
lea r8, [rsp + 0x40]
xor r14d, r14d
mov dword [rsp + 0x38], 0x100
mov rsi, rcx
mov dword [rsp + 0x28], r14d
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], r14
mov r9d, ebx
xor edx, edx
mov ecx, 0x4e3
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [rbx + 0x41]
mov edi, eax
lea edx, [rax + 1]
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r9d, ebx
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0x4e3
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140001625
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x140001729
mov qword [rsi + 0x18], 0xf
cmp rbx, 0x10
jae 0x14000166c
mov r8, rbx
mov qword [rsi + 0x10], rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], r14b
jmp 0x1400016fc
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x1400016a1
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002840
test rax, rax
je 0x1400016c8
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400016dc
mov ecx, 0x16
mov rdi, rax
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400016cf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000172f
jmp 0x140001686
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400016dc
call fcn.140002840
mov r14, rax
mov r8, rbx
mov qword [rsi], r14
lea rdx, [rsp + 0x40]
mov qword [rsi + 0x10], rbx
mov rcx, r14
mov qword [rsi + 0x18], rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
mov rax, rsi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140002820
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.1400011b0
int3
call fcn.140001110
int3
Function at 0x1400031b4
Capabilities:
Parse pe header

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

Disassembly:
add byte [rax], dh
add byte [rax + 1], al
adc byte [rax], dh
add byte [rax + 1], al
and al, 0x30
add byte [rax + 1], al
cmp byte [rax], dh
add byte [rax + 1], al
xor byte [rax], r8b
add byte [rcx], 0
add byte [rax], al
invalid

Function at 0x18000163f
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov dword [rsp + 0x18], r8d
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rdi, qword [rbp + 0x10]
mov rcx, rdi
mov edx, dword [rbp + 0x20]
mov r8, 0x40
lea r9, [rbp - 8]
call sub.kernel32.dll_VirtualProtect
mov ecx, dword [rbp + 0x20]
mov rsi, qword [rbp + 0x18]
rep movsb byte [rdi], byte [rsi]
mov rcx, rdi
mov edx, dword [rbp + 0x20]
mov r8, qword [rbp - 8]
lea r9, [rbp - 8]
call sub.kernel32.dll_VirtualProtect
lea rsp, [rbp]
pop rbp
ret

Function at 0x18000d5a0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x18000d5cd
xor al, al
jmp 0x18000d72f
mov rax, qword [0x18002d6b0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x18002d6b8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x18002d6c0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x18002d6c8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x18002d6d0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x18002d6d8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x18002d6e0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x18002d6e8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x18002d6f0]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x18000d721
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x18000d679
mov r11d, 2
jmp 0x18000d69d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x18000d693
mov r11d, 1
jmp 0x18000d69d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x18000d745
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x18000d6e2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x18000d6fa
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x18000d70a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x18000d718
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x18000d660
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x18000d72a
Function at 0x140003dc0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x40
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 8], 0
je 0x140003e14
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x140003e0a
mov rax, qword [rcx]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14000da76.0]
and qword [rbx + 0x38], 0
mov eax, 0x80070005
jmp 0x140003eaa
add rcx, 0x10
call fcn.140003ebc
and qword [rdi + 0x50], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x1400040d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
jne 0x140003e83
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140003e7f
mov r8, qword [rcx]
cmp rcx, rbx
setne dl
mov rax, qword [r8 + 0x20]
call qword [case.0x14000da76.0]
and qword [rbx + 0x38], 0
mov eax, edi
jmp 0x140003eaa
mov qword [rdi + 8], rax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140003ea8
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14000da76.0]
and qword [rbx + 0x38], 0
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140006230
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea r9, [rdx + 8]
movabs rax, 0xcbf29ce484222325
cmp r9, rdx
mov rbx, rcx
mov r8, rax
mov r11, rdx
sbb r10, r10
movabs rdi, 0x100000001b3
not r10
and r10d, 8
cmp rdx, r9
ja 0x140006286
movzx ecx, byte [r11]
inc r11
xor r8, rcx
mov rcx, r11
sub rcx, rdx
imul r8, rdi
cmp rcx, r10
jne 0x14000626d
lea rcx, [r9 + 8]
mov r10, r9
cmp rcx, r9
sbb rdx, rdx
not rdx
and edx, 8
cmp r9, rcx
ja 0x1400062b7
movzx ecx, byte [r10]
inc r10
xor rax, rcx
mov rcx, r10
sub rcx, r9
imul rax, rdi
cmp rcx, rdx
jne 0x14000629e
mov rdi, qword [rsp + 0x10]
xor rax, r8
and rax, qword [rbx + 0x30]
mov rbx, qword [rsp + 8]
ret
Function at 0x140006608
Capabilities:
Encode data using xor
Hash data using fnv

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, 0x20
mov rbx, qword [rdx]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
xor r9d, r9d
mov r8, rbx
movabs rbp, 0xcbf29ce484222325
movabs r14, 0x100000001b3
lea edx, [rsi + rsi]
shr rdx, 3
lea rdi, [rbx + rdx*8]
cmp rbx, rdi
je 0x140006698
lea r10, [r8 + 8]
mov rax, rbp
cmp r10, r8
mov r11, r8
sbb rdx, rdx
not rdx
and edx, 8
cmp r8, r10
ja 0x14000668d
movzx ecx, byte [r11]
inc r11
xor rax, rcx
mov rcx, r11
sub rcx, r8
imul rax, r14
cmp rcx, rdx
jne 0x140006674
xor r9, rax
mov r8, r10
cmp r10, rdi
jne 0x140006659
lea rbx, [rbx + rsi*2]
cmp r8, rbx
je 0x1400066db
xor r11d, r11d
lea r10, [r8 + 2]
cmp r10, r8
mov rax, rbp
sbb rdx, rdx
not rdx
and edx, 2
cmp r8, r10
ja 0x1400066d0
movzx ecx, byte [r11 + r8]
inc r11
xor rax, rcx
imul rax, r14
cmp r11, rdx
jne 0x1400066bc
xor r9, rax
mov r8, r10
cmp r10, rbx
jne 0x1400066a1
mov rbx, qword [rsp + 0x30]
mov rax, r9
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400088ec
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
lea r8, [rdx + 4]
mov r10, rdx
cmp r8, rdx
mov r9, rdx
mov rbx, rcx
movabs rax, 0xcbf29ce484222325
sbb rdx, rdx
not rdx
and edx, 4
cmp r10, r8
ja 0x140008946
movzx ecx, byte [r10]
movabs r8, 0x100000001b3
xor rax, rcx
inc r10
mov rcx, r10
sub rcx, r9
imul rax, r8
cmp rcx, rdx
jne 0x140008923
mov rcx, qword [rbx + 0x30]
mov r8, qword [rbx + 0x18]
and rcx, rax
mov rdx, qword [rbx + 8]
mov rax, rcx
add rax, rax
lea r10, [rcx + rcx]
mov rax, qword [r8 + rax*8]
cmp qword [r8 + r10*8], rdx
jne 0x14000896e
mov rcx, rdx
jmp 0x140008976
mov rcx, qword [r8 + r10*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14000898d
mov ecx, dword [r9]
cmp dword [rax + 0x10], ecx
je 0x140008988
mov rax, qword [rax]
jmp 0x140008963
mov rcx, rax
jmp 0x140008993
mov rax, rdx
mov rcx, rdx
cmp rcx, rdx
jne 0x140008a0c
mov rdi, qword [rdx]
lea rax, [rsp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x20], rax
mov rsi, qword [rdi + 8]
mov r8, rsi
call fcn.140009df8
mov rdx, rax
movabs rcx, 0x492492492492491
mov rax, qword [rbx + 0x10]
sub rcx, rax
cmp rcx, 1
jae 0x1400089e1
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rax
mov rcx, rbx
mov qword [rbx + 0x10], rax
mov qword [rdi + 8], rdx
mov qword [rsi], rdx
lea rdx, [rsp + 0x30]
mov r9, qword [rbx + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.140009b94
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
add rax, 0x18
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret