joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d3e0
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 0x41d4bc
mov rcx, qword [rax + 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x41d4bc
lea r12, [rsp + 0x20]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x41d4bc
lea r13, [rbx + 0x38]
mov rcx, r13
call sym.pthread_mutex_lock
call sym.__pthread_self_lite
test rax, rax
je 0x41d550
mov rdx, qword [rax + 0x1d8]
movzx eax, byte [rbx + 0x40]
cmp rsi, rdx
je 0x41d4d0
mov edx, dword [rbx + 0x44]
and edx, 3
cmp edx, 3
je 0x41d4b0
test al, 3
jne 0x41d530
and eax, 0xfffffffc
or eax, 1
mov byte [rbx + 0x40], al
mov rax, qword [0x005f6420]
test rax, rax
je 0x41d600
lock add dword [rax], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x41d492
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 0x41d530
test al, 0xf
je 0x41d560
mov eax, 3
add rsp, 0x4f8
pop rbx
pop rsi
pop r12
pop r13
ret
test al, 3
jne 0x41d530
and eax, 0xfffffffc
or eax, 1
mov byte [rbx + 0x40], al
mov rax, qword [0x005f6420]
test rax, rax
je 0x41d620
lock add dword [rax], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x41d500
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [rbx + 0x44]
mov edx, eax
and edx, 3
cmp edx, 3
jne 0x41d492
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 0x41d4bc
xor eax, eax
jmp 0x41d49c
xor edx, edx
jmp 0x41d44a
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 0x41d492
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 [0x005f6420]
test rax, rax
je 0x41d640
lock add dword [rax], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x41d5e2
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 0x41d492
xor r8d, r8d
mov edx, 4
lea rcx, str._pthread_cancelling_shmem
call sym.__shmem_winpthreads_grab
mov qword [0x005f6420], rax
jmp 0x41d47f
xor r8d, r8d
mov edx, 4
lea rcx, str._pthread_cancelling_shmem
call sym.__shmem_winpthreads_grab
mov qword [0x005f6420], rax
jmp 0x41d4ed
xor r8d, r8d
mov edx, 4
lea rcx, str._pthread_cancelling_shmem
call sym.__shmem_winpthreads_grab
mov qword [0x005f6420], rax
jmp 0x41d5cf
Function at 0x41d660
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
mov rcx, qword [0x005f63d8]
mov ebx, edx
test rcx, rcx
je 0x41d718
call sym.pthread_mutex_lock
mov rcx, r12
call sym.__pthread_get_pointer
mov rcx, qword [0x005f63d8]
test rax, rax
je 0x41d6f0
cmp qword [rax + 0x1d8], r12
jne 0x41d6f0
test byte [rax + 0x40], 0xc
jne 0x41d6f0
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x41d6f0
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x41d6f0
test rcx, rcx
je 0x41d770
call sym.pthread_mutex_unlock
test ebx, ebx
je 0x41d710
lea edx, [rbx - 2]
cmp edx, 0x15
ja 0x41d768
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
jmp sym.pthread_cancel
test rcx, rcx
je 0x41d740
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x28
pop rbx
pop r12
ret
xor eax, eax
jmp 0x41d6ff
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 [0x005f63d8], rax
mov rcx, rax
jmp 0x41d67c
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 [0x005f63d8], rax
mov rcx, rax
jmp 0x41d6f5
mov eax, 0x16
jmp 0x41d6ff
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 [0x005f63d8], rax
mov rcx, rax
jmp 0x41d6c5
Function at 0x41da10
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 0x41dc4b
test rdi, rdi
je 0x41da4a
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 0x41dac0
test ebx, ebx
je 0x41dab8
mov ecx, 0x14
call r14
cmp ebx, 4
je 0x41dac0
add ebx, 1
jmp 0x41da85
xor ecx, ecx
call r13
jmp 0x41daaf
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 0x41dc2c
xor edx, edx
test rsi, rsi
je 0x41db26
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x41dc60
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 0x41dbf8
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x41dbd0
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 0x41dbb0
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 0x41db96
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x41db6c
mov edx, 0xf
cmp eax, 0xe
jg 0x41db6c
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x41db6c
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x41dc08
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 0x41dc38
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
jne 0x41dc4b
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 0x41db26

Function at 0x41e290
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 0x41e980
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.0040d250
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 0x41ea7e
int3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
je 0x41ead0
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 0x41eaf3
mov edx, r15d
sub edx, eax
movsxd rdx, edx
mov byte [r14 + rdx], 0x41
sub eax, 1
jne 0x41eae0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
jne 0x41eb07
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 0x41eb2d
mov rcx, r12
call sym.free
jmp 0x41eaa0
xor edx, edx
mov r8, rbx
mov rcx, rax
call sym.memset
test rsi, rsi
je 0x41eaa0
mov rcx, r14
call rsi
jmp 0x41eaa0

Function at 0x41ef50
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 0x41f020
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 0x41fdf0
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 0x41fe10
Capabilities:
Check mutex on windows

Disassembly:
xor r8d, r8d
mov edx, 0x10
lea rcx, str.eh_globals
jmp dbg.__shmem_grab
Function at 0x4204a0
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 0x4204c0
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 0x421cd0
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 0x421cfc
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x422960
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x30
cmp byte [0x005c8030], 0
jne 0x422a6a
mov byte [0x005c8030], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x422a40
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 0x422a31
call rbx
mov rcx, r12
mov rdx, rax
call sym.fputs
mov ecx, 2
call rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x005caee1]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x422a2c
mov rcx, r13
call sym.free
call sym.__cxa_rethrow
call rbx
mov rcx, r13
mov rdx, rax
call sym.fputs
jmp 0x4229fb
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 0x422aff
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 0x422a65
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x422a65

Function at 0x47c0d0
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 0x47c0f7
call rbp
cmp dword [rax], 4
jne 0x47c114
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 0x47c0f0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1407f48f0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407f4a77
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407f4921
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407f4907
add dl, dl
jne 0x1407f492e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407f498e
xor eax, eax
add dl, dl
jne 0x1407f493d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407f4a45
add dl, dl
jne 0x1407f494e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f495b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f4968
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f4975
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407f4982
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407f4916
mov eax, 1
add dl, dl
jne 0x1407f499e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f49ab
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407f4993
sub eax, ebx
mov ebx, 1
jne 0x1407f49e4
mov ecx, 1
add dl, dl
jne 0x1407f49c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407f49d3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407f49bb
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407f4916
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407f4a00
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407f4a0d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407f49f5
cmp eax, 0x7d00
jae 0x1407f4a33
cmp eax, 0x500
jb 0x1407f4a2e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407f4916
cmp eax, 0x7f
ja 0x1407f4a36
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407f4916
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407f4a6a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407f4916
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x7c006990
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov eax, 0x6590
mov byte [rbp + 0xdf], 0
mov dword [rbp + 0xd8], 0xb88
mov qword [rbp + 0xd0], 0x52b6
mov r8, qword [rbp + 0xb8]
mov r9, r8
xor r9, 0xffffffffffffffff
mov qword [rbp + 0xb8], r9
mov r10d, dword [rbp + 0xd8]
xor r10d, 0x784d
mov dword [rbp], r10d
mov r9, qword [rbp + 0xd0]
add r9, 0xffffffffffffffdc
mov qword [rbp + 0xc8], r9
sub eax, dword [rbp + 0xd8]
mov dword [rbp + 0x44], eax
mov qword [rbp + 0xb0], 0x72a2
mov dword [rbp - 8], 0x2e68
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x48], rdx
mov eax, dword [rbp + 0x30]
mov rcx, qword [rbp + 0x58]
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x28], r8
mov dword [rbp - 0x2c], eax
call fcn.7c002690
mov qword [rbp + 8], rax
mov r10d, dword [rbp + 0xd8]
xor r10d, 0x6423
mov dword [rbp + 0x30], r10d
cmp qword [rbp + 8], 0
je 0x7c006e59
jmp 0x7c0072ac

Function at 0x7c013e5c
Capabilities:
Encode data using xor

Disassembly:
xchg dword [rbx + 0x3975fb65], ebp
jns 0x7c013ec8
cmp dword [rcx + 0x69], edi
xor dword [rsi], ebp
xor dword [rbx + 0x29abb7fa], 0x60
mov esp, 0x9300c66d
in al, dx
mov al, 0x11
lea ebp, [rax - 5]
xor dl, byte [rdi]
out dx, eax
movabs byte [0x4d548a2ae0dd701a], al
or eax, 0xb63795b9
rcr byte [rdi + rsi*2], 0x58
jge 0x7c013e57
sub dword [rbx], 0x3668adbf
xchg byte [rcx - 0x3e91cfca], dh
jb 0x7c013ede
jle 0x7c013ed4
shr dword [esi], 0xe
invalid
loop 0x7c013f1a
invalid
sub edi, ebp
sub al, 0xb7
rol dword [rdx + 0x74012c06], 0x57
push rdi
fisub word [rdx + 0x62b4bca5]
mov esi, 0x6266d3ea
or dword [rbx - 3], 0xa68c1c83
shl ebx, 1
in al, 0x1e
rdmsr
invalid
fidivr word [rdx + 0x82a13fe]
lodsd eax, dword [rsi]
and eax, 0x46b7986f
or byte [rcx], bh
sub ah, al
cmp dl, bh
sub esi, ecx
invalid
Function at 0x14000df90
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 7
mov rbx, rcx
mov rdx, rcx
jbe 0x14000dfa6
mov rdx, qword [rcx]
lea rcx, str.SteamAppId
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x14000dfc0
mov rdx, qword [rbx]
lea rcx, str.SteamGameId
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp qword [rbx + 0x18], 7
jbe case.default.0x14000dfe6
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str.SteamOverlayGameId
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp ebp, dword [rdi + 0x61352668]
push 0xffffffffd9613526
invalid
invalid
add dh, ch
enter 0x7cb3, 0x1b
fimul word [rbx + 0x63]
movsxd rbp, r14d
wait
test byte [rax - 0x68], bh
jne 0x14008567f
loop 0x1400855f6
imul esp, dword [rbx + rbx*2], 0xffffffdb
mov dword [rcx - 0x44], ebp
imul ebp, dword [rax], 0x57
sahf
int1
and esp, ebp
cmp al, byte [rcx + 0x5ce4c05f]
jno 0x14008566c
jnp str.DQ_a
xor ah, byte [rbx]
pop rdi
movsd dword [rdi], dword [rsi]
test byte [rdx - 0x7ea4279a], ah
leave
jns 0x140085693
scasb al, byte [rdi]
mov ecx, 0x22525b3d
mov byte [rbx], ah
invalid
jge 0x140085689
and dword [rcx + 0x10134a48], edx
sub ah, cl
sal byte [rsi + 0x4c], cl
push rbp
popfq
invalid
sahf
mov dl, 0x32
mov esp, 0x99c17f7b
invalid
cdq
cmp bl, al
mov ah, 0x4b
stosb byte [rdi], al
shr word [rdx + r15*4 + 0x44d4ac94], cl
push rcx
invalid
push rcx
invalid
enter 0x74bf, 9
mov cl, 0xbe
invalid
mov bh, 0x25
mov edi, 0xcc8bf9f9
sahf
pop r13
invalid
sub al, 0x75
and rax, 0xffffffffc3366205
out dx, eax
insb byte [rdi], dx
mov al, 0x50
adc dword [rbp + 0x7d], ebp
cli
jl 0x140085830
invalid
int 0xea
xor eax, 0x1f0323c9
invalid
invalid
fisubr dword [rbx]
mov al, 0xc6
adc ah, byte [rdi + rax + 0x231b91ad]
invalid
lodsd eax, dword [rsi]
xchg ecx, eax
sbb esp, dword [rbx]
invalid
invalid
sub eax, 0x29e2b61b
mov bh, 0x9e
invalid
push rbx
mov ch, 0x9e
ja 0x1400858e3
int3
cmp ecx, ebx
sar byte [rdi + rcx*4 + 0x120a5964], 1
add cl, byte [rsi + 0x75ea3c40]
mov byte [rbp + 0x28446b2], ch
push rbp
adc al, 0x41
mov dl, 0x61
imul edx, dword [rsp + riz*4 + 0x79], 0xffffff9a
rcl ebx, 0xdc
loopne 0x1400858f1
sbb dword [rdi - 0x5e1b4439], ecx
in eax, 0xd9
loop 0x140085875
cmpsd dword [rsi], dword [rdi]
sub ah, dh
movabs al, byte [0xd6c5d25928bbb8a9]
and ebp, dword [rcx]
test al, 1
movabs eax, dword [0x4208100d28969102]
xor byte [rdi - 0x7712a4d3], dh
jg 0x140085917
and eax, 0x3e09c0c
xor dword [rdi - 0x1d], esp
stosb byte [rdi], al
movabs byte [0xef8d342793d39ad5], al
out dx, eax
push rax
int1
movabs eax, dword [0xab152500d9665be3]
invalid
Function at 0x140001b60
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140001b81
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140001bae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001bb0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001c09
test ecx, ecx
jle 0x140001be9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001c09
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001c09
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al