joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d4a0
Capabilities:
Hijack thread execution

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x4f8
mov rsi, rcx
call sym.__pth_gpointer_locked
mov rbx, rax
test rax, rax
je 0x41d57c
mov rcx, qword [rax + 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x41d57c
lea r12, [rsp + 0x20]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x41d57c
lea r13, [rbx + 0x38]
mov rcx, r13
call sym.pthread_mutex_lock
call sym.__pthread_self_lite
test rax, rax
je 0x41d610
mov rdx, qword [rax + 0x1d8]
movzx eax, byte [rbx + 0x40]
cmp rsi, rdx
je 0x41d590
mov edx, dword [rbx + 0x44]
and edx, 3
cmp edx, 3
je 0x41d570
test al, 3
jne 0x41d5f0
and eax, 0xfffffffc
or eax, 1
mov byte [rbx + 0x40], al
mov rax, qword [0x004e4420]
test rax, rax
je 0x41d6c0
lock add dword [rax], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x41d552
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, r13
call sym.pthread_mutex_unlock
xor eax, eax
add rsp, 0x4f8
pop rbx
pop rsi
pop r12
pop r13
ret
test al, 0xc
jne 0x41d5f0
test al, 0xf
je 0x41d620
mov eax, 3
add rsp, 0x4f8
pop rbx
pop rsi
pop r12
pop r13
ret
test al, 3
jne 0x41d5f0
and eax, 0xfffffffc
or eax, 1
mov byte [rbx + 0x40], al
mov rax, qword [0x004e4420]
test rax, rax
je 0x41d6e0
lock add dword [rax], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x41d5c0
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [rbx + 0x44]
mov edx, eax
and edx, 3
cmp edx, 3
jne 0x41d552
and eax, 0xfffffffe
mov rcx, r13
mov dword [rbx + 0x44], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xfffffff3
or eax, 4
mov byte [rbx + 0x40], al
call sym.pthread_mutex_unlock
call sym._pthread_invoke_cancel
nop dword [rax]
mov rcx, r13
call sym.pthread_mutex_unlock
test byte [rbx + 0x40], 0xc
jne 0x41d57c
xor eax, eax
jmp 0x41d55c
xor edx, edx
jmp 0x41d50a
mov rcx, qword [rbx + 0x28]
mov dword [rsp + 0x50], 0x100001
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41d552
mov rcx, qword [rbx + 0x28]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
lea rax, [sym._pthread_invoke_cancel]
mov rcx, qword [rbx + 0x28]
mov rdx, r12
mov qword [rsp + 0x118], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
movzx eax, byte [rbx + 0x40]
and dword [rbx + 0x44], 0xfffffffe
and eax, 0xfffffff0
or eax, 5
mov byte [rbx + 0x40], al
mov rax, qword [0x004e4420]
test rax, rax
je 0x41d700
lock add dword [rax], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x41d6a2
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, r13
call sym.pthread_mutex_unlock
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41d552
xor r8d, r8d
mov edx, 4
lea rcx, str._pthread_cancelling_shmem
call sym.__shmem_winpthreads_grab
mov qword [0x004e4420], rax
jmp 0x41d53f
xor r8d, r8d
mov edx, 4
lea rcx, str._pthread_cancelling_shmem
call sym.__shmem_winpthreads_grab
mov qword [0x004e4420], rax
jmp 0x41d5ad
xor r8d, r8d
mov edx, 4
lea rcx, str._pthread_cancelling_shmem
call sym.__shmem_winpthreads_grab
mov qword [0x004e4420], rax
jmp 0x41d68f
Function at 0x41d720
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
mov rcx, qword [0x004e43d8]
mov ebx, edx
test rcx, rcx
je 0x41d7d8
call sym.pthread_mutex_lock
mov rcx, r12
call sym.__pthread_get_pointer
mov rcx, qword [0x004e43d8]
test rax, rax
je 0x41d7b0
cmp qword [rax + 0x1d8], r12
jne 0x41d7b0
test byte [rax + 0x40], 0xc
jne 0x41d7b0
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x41d7b0
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x41d7b0
test rcx, rcx
je 0x41d830
call sym.pthread_mutex_unlock
test ebx, ebx
je 0x41d7d0
lea edx, [rbx - 2]
cmp edx, 0x15
ja 0x41d828
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
jmp sym.pthread_cancel
test rcx, rcx
je 0x41d800
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x28
pop rbx
pop r12
ret
xor eax, eax
jmp 0x41d7bf
lea rcx, str.mtx_pthr_locked_shmem
lea r8, [sym.__shmem_winpthreads_init_mtx_pthr_locked_shmem]
mov edx, 8
call sym.__shmem_winpthreads_grab
mov qword [0x004e43d8], rax
mov rcx, rax
jmp 0x41d73c
lea rcx, str.mtx_pthr_locked_shmem
lea r8, [sym.__shmem_winpthreads_init_mtx_pthr_locked_shmem]
mov edx, 8
call sym.__shmem_winpthreads_grab
mov qword [0x004e43d8], rax
mov rcx, rax
jmp 0x41d7b5
mov eax, 0x16
jmp 0x41d7bf
lea rcx, str.mtx_pthr_locked_shmem
lea r8, [sym.__shmem_winpthreads_init_mtx_pthr_locked_shmem]
mov edx, 8
call sym.__shmem_winpthreads_grab
mov qword [0x004e43d8], rax
mov rcx, rax
jmp 0x41d785
Function at 0x41dad0
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov rbp, r9
call sym.pop_pthread_mem
mov r12, rax
test rax, rax
je 0x41dd0b
test rdi, rdi
je 0x41db0a
mov rax, qword [rax + 0x1d8]
mov qword [rdi], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [r12 + 8], rbp
mov dword [r12 + 0x44], 1
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [r12 + 0xbc], 0
mov r14, r13
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [r12 + 0x10], rbx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call rbp
mov qword [r12 + 0x30], rax
test rax, rax
jne 0x41db80
test ebx, ebx
je 0x41db78
mov ecx, 0x14
call r14
cmp ebx, 4
je 0x41db80
add ebx, 1
jmp 0x41db45
xor ecx, ecx
call r13
jmp 0x41db6f
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call sym.replace_spin_keys.constprop.0
cmp qword [r12 + 0x30], 0
mov dword [r12], 0xbab1f00d
mov dword [r12 + 0xc0], 0
mov dword [r12 + 0xb8], 0
je 0x41dcec
xor edx, edx
test rsi, rsi
je 0x41dbe6
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x41dd20
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [sym.pthread_create_wrapper]
mov r9, r12
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov r13, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x41dcb8
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x41dc90
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [r12 + 0x44], 4
jne 0x41dc70
mov qword [r12 + 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov qword [r12 + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41dc56
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x41dc2c
mov edx, 0xf
cmp eax, 0xe
jg 0x41dc2c
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x41dc2c
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x41dcc8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call sym.pthread_mutex_destroy
mov rcx, r14
call sym.replace_spin_keys.constprop.0
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
test rdi, rdi
je 0x41dcf8
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
jne 0x41dd0b
mov rcx, r12
call sym.push_pthread_mem.part.0
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [rsp + 0x3c], edx
call sym.__pthread_self_lite
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x41dbe6

Function at 0x41e350
Capabilities:
Check mutex on windows

Disassembly:
xor r8d, r8d
mov edx, 4
lea rcx, str.dummy_concurrency_level_shmem
jmp sym.__shmem_winpthreads_grab
Function at 0x41ea40
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x80]
mov rsi, r8
mov r12, rcx
movsxd rbx, edx
call sym.strlen
mov r8, rax
lea eax, [rax + 0xf]
mov dword [rbp - 0x54], eax
lea eax, [r8 + 0x51]
lea edi, [r8 + 0x10]
cdqe
lea r15d, [r8 + 0x50]
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0040d310
movabs rcx, 0x656d68732d636367
sub rsp, rax
movsxd r13, r8d
mov rdx, r12
mov eax, 0x326d
mov r8, r13
mov qword [rsp + 0x20], rcx
lea r14, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
mov byte [rsp + 0x2e], 0x2d
call sym.memcpy
lea rax, [r14 + r13 + 0x10]
movsxd r12, dword [rbp - 0x54]
mov r8, r14
movabs rdx, 0x6161616161616161
movabs rcx, 0x6161616161616161
mov qword [rax], rdx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rdx
xor edx, edx
mov qword [rax + 0x38], rcx
movsxd rax, r15d
xor ecx, ecx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + r12 + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + r12 + 0x20], 0x2d
mov edx, 0xffffffff
mov r13, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41eb3e
int3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
je 0x41eb90
mov rdx, r14
movzx ecx, ax
mov r9d, edi
mov r8d, r15d
call sym.get_ptr_from_atom_1
mov r14, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r14
lea rsp, [rbp - 0x48]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rbx
call sym.malloc
mov r12, rax
mov eax, 0x40
bt r12, rax
jae 0x41ebb3
mov edx, r15d
sub edx, eax
movsxd rdx, edx
mov byte [r14 + rdx], 0x41
sub eax, 1
jne 0x41eba0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
jne 0x41ebc7
int3
mov rdx, r14
movzx ecx, ax
mov r9d, edi
mov r8d, r15d
call sym.get_ptr_from_atom_1
mov r14, rax
cmp r12, rax
je 0x41ebed
mov rcx, r12
call sym.free
jmp 0x41eb60
xor edx, edx
mov r8, rbx
mov rcx, rax
call sym.memset
test rsi, rsi
je 0x41eb60
mov rcx, r14
call rsi
jmp 0x41eb60

Function at 0x41f010
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_rwl_global_shmem]
mov edx, 8
lea rcx, str.rwl_global_shmem
jmp sym.__shmem_winpthreads_grab

Function at 0x41f0e0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_cond_locked_shmem_rwlock]
mov edx, 8
lea rcx, str.cond_locked_shmem_rwlock
jmp sym.__shmem_winpthreads_grab

Function at 0x41feb0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init_init]
mov edx, 8
lea rcx, str.init
jmp dbg.__shmem_grab

Function at 0x41fed0
Capabilities:
Check mutex on windows

Disassembly:
xor r8d, r8d
mov edx, 0x10
lea rcx, str.eh_globals
jmp dbg.__shmem_grab
Function at 0x420560
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___terminate_handler_sh]
mov edx, 8
lea rcx, str.__terminate_handler_sh
jmp dbg.__shmem_grab

Function at 0x420580
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___unexpected_handler_sh]
mov edx, 8
lea rcx, str.__unexpected_handler_sh
jmp dbg.__shmem_grab

Function at 0x421d90
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x421dbc
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x422a20
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x30
cmp byte [0x004b6e30], 0
jne 0x422b2a
mov byte [0x004b6e30], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x422b00
mov r12, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [r12], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add r12, rax
mov rcx, r12
call sym.__cxa_demangle
mov ecx, 2
mov rbx, qword [dbg.__acrt_iob_func]
mov r13, rax
call rbx
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x422af1
call rbx
mov rcx, r12
mov rdx, rax
call sym.fputs
mov ecx, 2
call rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x004b8f71]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x422aec
mov rcx, r13
call sym.free
call sym.__cxa_rethrow
call rbx
mov rcx, r13
mov rdx, rax
call sym.fputs
jmp 0x422abb
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x422bbf
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov r12, rax
call rbx
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rbx
mov rdx, rax
mov rcx, r12
call sym.fputs
mov ecx, 2
call rbx
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x422b25
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x422b25

Function at 0x47c190
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x47c1b7
call rbp
cmp dword [rax], 4
jne 0x47c1d4
mov rcx, rdi
call method.std::__basic_file_char_.fd__
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sym.read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x47c1b0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1119c10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1119c1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1119c2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1119c15
lea eax, [rcx + 1]
jmp 0x1119c3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1119c4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1119c34
sub eax, 3
jb 0x1119c6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1119cbd
sar eax, 1
movsxd rbp, eax
jb 0x1119ca4
jmp 0x1119c7c
add ebx, ebx
jne 0x1119c7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1119ca4
inc ecx
add ebx, ebx
jne 0x1119c8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1119ca4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1119c9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1119c8c
add ecx, 2
jmp 0x1119ca9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01119bd2
jmp 0x1119c1d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x12d000
mov dl, 0x36
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1119d09
cmp rsi, rcx
jae 0x1119d11
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1119cf0
cmp al, 0x8f
ja 0x1119cf0
cmp byte [rsi - 2], 0xf
je 0x1119cf6
sub al, 0xe8
cmp al, 1
ja 0x1119cda
cmp rsi, rcx
jae 0x1119d11
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1119ce0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1119d11
lodsb al, byte [rsi]
jmp 0x1119cf0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xd17000]
mov eax, dword [rdi]
or eax, eax
je 0x1119d6e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xd19000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1119d1e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1119d68
mov qword [rbx], rax
add rbx, 8
jmp 0x1119d3e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1119dc6
sub rsp, 0xffffffffffffff80
jmp 0x49fce0
Function at 0x14001fd70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400fe210]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xorps xmm0, xmm0
mov qword [rsp + 0x68], rdx
xor r12d, r12d
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], r12
mov eax, 0x18
mov dword [rbp + 0x88], 0x64005c
mov rsi, rdx
mov dword [rbp + 0x8c], 0x760065
mov r15, rcx
mov dword [rbp + 0x90], 0x630069
mov edi, r12d
mov dword [rbp + 0x94], 0x5c0065
mov r14d, r12d
mov dword [rbp + 0x98], 0x73006e
mov dword [rbp + 0x9c], 0x69
mov word [rbp - 0x80], ax
mov dword [rbp - 0x7c], 1
mov dword [rbp - 0x78], 0xeb004a03
mov dword [rbp - 0x74], 0x11d49b1a
mov dword [rbp - 0x70], 0x50002391
mov dword [rbp - 0x6c], 0xbc597704
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
test rcx, rcx
je 0x14002029a
test rdx, rdx
je 0x14002029a
mov qword [rdx], r12
lea rax, [rbp - 0x80]
mov qword [rcx], r12
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x28]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 3
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x3c], 1
mov qword [rsp + 0x60], r12
push rax
call 0x1401867a7
mov dword [rsp + 0x50], r12d
lea rax, [rbp + 0x28]
mov qword [rsp + 0x48], r12
lea r9, [rbp + 0x78]
mov dword [rsp + 0x40], r12d
lea r8, [rbp + 0x48]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x30], 1
xorps xmm0, xmm0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov edx, 0xc0100000
mov qword [rsp + 0x20], r12
mov dword [rbp + 0x48], 0x30
mov qword [rbp + 0x50], r12
mov dword [rbp + 0x60], 0x240
mov qword [rbp + 0x58], rax
movdqu xmmword [rbp + 0x68], xmm0
push rbx
call 0x14020f2bb
test eax, eax
jns 0x14001ff00
mov ebx, 0xc0000001
jmp 0x14002025e
mov r8, qword [0x14004b6f8]
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], r12
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8, qword [r8]
push rdi
call 0x1401df217
mov r14, qword [rsp + 0x60]
mov ebx, eax
mov qword [rsp + 0x60], r14
test eax, eax
js 0x14002025e
mov rcx, qword [rsp + 0x70]
call 0x1401a8f69
int3
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002026e
push rsi
call 0x1401a8215
test r14, r14
je 0x14002027c
mov rcx, r14
call 0x1401ebaa0
int3
test ebx, ebx
jns 0x140020296
test rdi, rdi
je 0x140020290
xor edx, edx
mov rcx, rdi
push rbx
call 0x1401d8ec7
mov qword [r15], r12
mov qword [rsi], r12
mov eax, ebx
jmp 0x14002029f
mov eax, 0xc0000001
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400478a0
add rsp, 0x1b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140029a50
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x30
mov r15, r8
mov rsi, rdx
mov rdi, rcx
call fcn.1400056e0
test al, al
je 0x140029a96
mov r9, rdi
mov qword [rsp + 0x20], rsi
lea r8, [0x14004a4b0]
mov ecx, pe_nt_image_headers64
lea rdx, [0x140047e00]
call fcn.140003050
xor eax, eax
add rsp, 0x30
pop r15
pop rdi
pop rsi
ret
mov qword [rsp + 0x50], rbx
lea rcx, [r15 + 8]
mov rbx, rsi
mov qword [rsp + 0x68], r14
shr rbx, 0xc
test rsi, 0xfff
lea eax, [rbx + 1]
cmovne ebx, eax
xor r8d, r8d
mov edx, ebx
push rsi
call fcn.1401a3a70
mov r14d, eax
cmp eax, 0xffffffff
jne 0x140029af2
mov r9, rdi
mov qword [rsp + 0x20], rsi
lea r8, [0x14004a500]
mov ecx, pe_nt_image_headers64
lea rdx, [0x140047e00]
call fcn.140003050
xor eax, eax
jmp 0x140029b76
mov r15, qword [r15]
mov rax, r14
mov qword [rsp + 0x58], rbp
lea ebp, [rbx + r14]
cmp r14, rbp
jae 0x140029b5e
mov rsi, rax
mov qword [rsp + 0x60], r12
shl rsi, 0xc
movabs r12, 0xfffffffff000
add rsi, r15
sub rbp, rax
mov rcx, rsi
call fcn.1400056c0
mov rcx, rdi
mov rbx, rax
or qword [rax], 0x103
call fcn.140005400
shl rax, 0xc
xor rax, qword [rbx]
and rax, r12
xor qword [rbx], rax
invlpg byte [rsi]
add rsi, 0x1000
sub rbp, 1
jne 0x140029b22
mov r12, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
and edi, 0xfff
shl r14d, 0xc
mov eax, r14d
add rax, r15
add rax, rdi
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop rdi
pop rsi
ret
Function at 0x14002ed1c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400fe210]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x20], rdx
mov r14, r8
mov qword [rsp + 0x28], rcx
sub r14d, dword [0x14010a66c]
lea r13, [0x14010a698]
shr r14d, 3
mov ebp, eax
dec r14d
mov r12d, eax
nop dword [rax]
mov r15d, dword [0x14010a66c]
mov ebx, eax
add r15, rdx
test r14d, r14d
je 0x14002edba
mov edi, 1
mov rsi, r15
nop dword [rax]
mov eax, edi
mov ecx, edi
mov rbp, qword [r15 + rax*8]
xor rbp, qword [r13 + 8]
mov rax, rbp
ror rax, cl
mov rdx, rax
mov rcx, rax
call fcn.1400020f8
xor rax, qword [rsi]
cmp rax, qword [r13]
je 0x14002edc6
inc ebx
inc edi
add rsi, 8
cmp ebx, r14d
jb 0x14002ed80
mov rdx, qword [rsp + 0x20]
xor eax, eax
inc r12d
inc r13
cmp r12d, 8
jb 0x14002ed60
cmp ebx, r14d
je 0x14002eebd
mov r13, qword [rsp + 0x28]
lea rsi, [rsp + 0x30]
mov eax, 0
test r12b, 7
mov r8, rbp
setne al
sub ebx, eax
lea edi, [rax + 2]
mov eax, dword [0x14010a66c]
lea edx, [rbx*8]
mov r14d, edi
add rdx, rax
lea rsi, [rsi + rdi*8]
mov rax, qword [rsp + 0x20]
add r13, rdx
mov r15, rsi
movups xmm0, xmmword [rdx + rax]
movups xmm1, xmmword [rdx + rax + 0x10]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm1
xor qword [r15 - 8], r8
lea r15, [r15 - 8]
dec r14d
mov ecx, r14d
and ecx, 0x3f
add ecx, ebx
ror r8, cl
mov rdx, r8
mov rcx, r8
call fcn.1400020f8
mov r8, rax
test r14d, r14d
jne 0x14002ee22
mov eax, r12d
lea rcx, [rsp + 0x38]
sub rcx, rax
movabs rax, 0xccccccc330c48348
mov qword [rcx], rax
nop dword [rax]
nop word [rax + rax]
xor qword [rsi - 8], rbp
lea rsi, [rsi - 8]
dec edi
mov ecx, edi
and ecx, 0x3f
add ecx, ebx
ror rbp, cl
mov rdx, rbp
mov rcx, rbp
call fcn.1400020f8
mov rbp, rax
test edi, edi
jne 0x14002ee70
mov rcx, r13
call 0x14023961a
int3
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400478a0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret