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

Disassembly:
mov rax, qword [0x3a3c64220]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x3a3c623df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x3a3c623e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x3a3c62400
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x3a3c64220]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x3a3c62420
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x3a3c62428
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3a3c62420
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x3a3c62420
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x3a3c62474
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x3a3c62480
add rdx, 0x28
cmp r9, rdx
jne 0x3a3c62460
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x3a3c62490
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x3a3c64220]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x3a3c624b2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x3a3c624c0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3a3c624b2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x3a3c624b2
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x3a3c624b2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x3a3c62515
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x3a3c62528
add rdx, 0x28
cmp rdx, r10
jne 0x3a3c62500
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x3a3c62537
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x3a3c62547
mov edx, dword [rax + 0xc]
test edx, edx
je 0x3a3c6251e
test ecx, ecx
jg 0x3a3c62530
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140003260
Capabilities:
Suspend thread

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x38]
mov qword [rax], 0
mov rax, qword [rsp + 0x38]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x38]
call fcn.140003ef0
cmp eax, 0
jne 0x1400032be
mov dword [rsp + 0x34], 9
jmp 0x14000335d
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140003358
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
cmp eax, dword [rcx + 0xc]
jae 0x140003353
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x30]
mov r8d, dword [rax + rcx*4]
mov ecx, 0x5a
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000333e
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call fcn.140004160
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003343
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
jmp 0x1400032d5
jmp 0x140003358
jmp 0x14000335d
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret
Function at 0x140003370
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140379880]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x64], edx
mov dword [rsp + 0x60], ecx
mov rax, qword [0x140379930]
mov ecx, dword [rsp + 0x60]
imul rcx, rcx, 0x38
add rax, rcx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 5
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov al, byte [rax + 0x20]
and al, 1
cmp al, 0
je 0x1400033e6
mov rax, qword [rsp + 0x48]
add rax, 0xfffffffffffffffb
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov r8d, 0x40
lea r9, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, 0
jne 0x140003417
mov dword [rsp + 0x68], 0xa
jmp 0x14000355c
cmp dword [rsp + 0x64], 0
je 0x140003488
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x48]
add rcx, 5
sub rax, rcx
mov ecx, eax
mov rax, qword [rsp + 0x40]
mov dword [rax + 1], ecx
mov rax, qword [rsp + 0x58]
mov al, byte [rax + 0x20]
and al, 1
cmp al, 0
je 0x140003483
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x38]
mov byte [rax + 1], 0xf9
jmp 0x1400034d6
mov rax, qword [rsp + 0x58]
mov al, byte [rax + 0x20]
and al, 1
cmp al, 0
je 0x1400034bc
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov edx, dword [rcx + 0x18]
mov dword [rax], edx
mov dx, word [rcx + 0x1c]
mov word [rax + 4], dx
mov cl, byte [rcx + 0x1e]
mov byte [rax + 6], cl
jmp 0x1400034d1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov edx, dword [rcx + 0x18]
mov dword [rax], edx
mov cl, byte [rcx + 0x1c]
mov byte [rax + 4], cl
jmp 0x1400034d6
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [rsp + 0x64]
mov dl, al
mov rax, qword [rsp + 0x58]
mov cl, byte [rax + 0x20]
and dl, 1
shl dl, 1
and cl, 0xfd
or cl, dl
mov byte [rax + 0x20], cl
mov eax, dword [rsp + 0x64]
mov dl, al
mov rax, qword [rsp + 0x58]
mov cl, byte [rax + 0x20]
and dl, 1
shl dl, 2
and cl, 0xfb
or cl, dl
mov byte [rax + 0x20], cl
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14003c1f0
mov eax, dword [rsp + 0x24]
add rsp, 0x78
ret
Function at 0x140003580
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140003622
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x30]
cmp eax, dword [rcx + 0xc]
jae 0x14000360b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x2c]
mov r8d, dword [rax + rcx*4]
mov ecx, 0x5a
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400035f6
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400035fb
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
jmp 0x1400035a0
mov rax, qword [rsp + 0x30]
mov r8, qword [rax]
mov rcx, qword [0x140379928]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0x38
ret
Function at 0x140003ef0
Capabilities:
Enumerate threads

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140379880]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x44], 0
mov ecx, 4
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x38], rax
mov rax, 0xffffffffffffffff
cmp qword [rsp + 0x38], rax
je 0x140004133
mov dword [rsp + 0x54], 0x1c
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x54]
call sub.KERNEL32.dll_Thread32First
cmp eax, 0
je 0x140004128
mov dword [rsp + 0x44], 1
mov eax, dword [rsp + 0x54]
cmp rax, 0x10
jb 0x1400040a4
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov eax, dword [rsp + 0x2c]
cmp eax, ecx
jne 0x1400040a4
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x28], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov eax, dword [rsp + 0x28]
cmp eax, ecx
je 0x1400040a4
mov rax, qword [rsp + 0x48]
cmp qword [rax], 0
jne 0x140004006
mov rax, qword [rsp + 0x48]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov r8d, eax
shl r8, 2
mov rcx, qword [0x140379928]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rax
mov rax, qword [rsp + 0x48]
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
cmp qword [rax], 0
jne 0x140004001
mov dword [rsp + 0x44], 0
jmp 0x1400040c4
jmp 0x14000407f
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 8]
jb 0x14000407a
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 8]
shl ecx, 1
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov r9d, eax
shl r9, 2
mov rax, qword [rsp + 0x48]
mov r8, qword [rax]
mov rcx, qword [0x140379928]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000406d
mov dword [rsp + 0x44], 0
jmp 0x1400040c4
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
mov qword [rax], rcx
jmp 0x14000407f
mov edx, dword [rsp + 0x5c]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov r8, qword [rsp + 0x48]
mov ecx, dword [r8 + 0xc]
mov r9d, ecx
add r9d, 1
mov dword [r8 + 0xc], r9d
mov ecx, ecx
mov dword [rax + rcx*4], edx
mov dword [rsp + 0x54], 0x1c
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x54]
call sub.KERNEL32.dll_Thread32Next
cmp eax, 0
jne 0x140003f5b
cmp dword [rsp + 0x44], 0
je 0x1400040e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1400040e6
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x44], 0
jne 0x140004123
mov rax, qword [rsp + 0x48]
cmp qword [rax], 0
je 0x140004123
mov rax, qword [rsp + 0x48]
mov r8, qword [rax]
mov rcx, qword [0x140379928]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x48]
mov qword [rax], 0
jmp 0x140004128
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14003c1f0
mov eax, dword [rsp + 0x24]
add rsp, 0x78
ret
Function at 0x140004df0
Capabilities:
Check for software breakpoints

Disassembly:
sub rsp, 0x18
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
cmp eax, 0
je 0x140004e41
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
cmp eax, 0x90
je 0x140004e41
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
cmp eax, 0xcc
je 0x140004e41
mov dword [rsp + 0x14], 0
jmp 0x140004e9e
mov dword [rsp + 4], 1
mov eax, dword [rsp + 4]
cmp eax, dword [rsp + 0x10]
jae 0x140004e96
mov rax, qword [rsp + 8]
mov ecx, dword [rsp + 4]
movzx eax, byte [rax + rcx]
mov rcx, qword [rsp + 8]
movzx ecx, byte [rcx]
cmp eax, ecx
je 0x140004e81
mov dword [rsp + 0x14], 0
jmp 0x140004e9e
jmp 0x140004e86
mov eax, dword [rsp + 4]
add eax, 1
mov dword [rsp + 4], eax
jmp 0x140004e49
mov dword [rsp + 0x14], 1
mov eax, dword [rsp + 0x14]
add rsp, 0x18
ret
Function at 0x140030720
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rax + 0x68], 0
je 0x140030767
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
call qword [sym.imp.MSVCP140D.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 qword [rsp + 0x60], rax
jmp 0x140030879
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x38], rax
xor eax, eax
cmp rax, qword [rsp + 0x58]
jge 0x140030819
xor eax, eax
cmp rax, qword [rsp + 0x38]
jge 0x140030819
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x38]
jge 0x1400307b5
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov rcx, rax
call fcn.140009f50
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
sub rax, rdx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov edx, eax
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
xor eax, eax
cmp rax, qword [rsp + 0x58]
jge 0x14003086a
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x80], 0
je 0x14003086a
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov edx, 1
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, rax
mov rax, qword [rsp + 0x58]
sub rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x1400313d0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x98
mov rax, qword [0x140379880]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x58], rcx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
cmp qword [rax + 0x68], 0
je 0x140031412
mov rax, qword [rsp + 0x40]
test byte [rax + 0x71], 1
jne 0x14003141c
mov byte [rsp + 0x67], 1
jmp 0x140031563
call fcn.14002b340
mov rcx, qword [rsp + 0x40]
mov edx, eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rsp + 0x3c], eax
call fcn.14002b340
mov edx, dword [rsp + 0x3c]
mov ecx, eax
call fcn.14002b350
test al, 1
jne 0x14003144f
jmp 0x140031459
mov byte [rsp + 0x67], 0
jmp 0x140031563
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x50], 0x20
mov rcx, qword [rdx + 0x68]
lea r9, [rsp + 0x90]
add rdx, 0x74
mov rax, rsp
lea r8, [rsp + 0x68]
mov qword [rax + 0x20], r8
mov rax, qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
lea r8, [rsp + 0x70]
call rax
mov ecx, eax
mov dword [rsp + 0x38], ecx
test eax, eax
je 0x1400314c8
jmp 0x1400314a4
mov eax, dword [rsp + 0x38]
sub eax, 1
je 0x1400314d1
jmp 0x1400314b6
mov eax, dword [rsp + 0x38]
sub eax, 3
je 0x14003154b
jmp 0x14003155e
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x71], 0
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0x70]
sub rax, rcx
mov qword [rsp + 0x48], rax
xor eax, eax
cmp rax, qword [rsp + 0x48]
jae 0x140031536
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rcx
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
mov edx, 1
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, rax
mov rax, qword [rsp + 0x30]
cmp rax, rcx
je 0x140031536
mov byte [rsp + 0x67], 0
jmp 0x140031563
mov rax, qword [rsp + 0x40]
mov al, byte [rax + 0x71]
xor al, 0xff
and al, 1
mov byte [rsp + 0x67], al
jmp 0x140031563
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x71], 0
mov byte [rsp + 0x67], 1
jmp 0x140031563
mov byte [rsp + 0x67], 0
mov al, byte [rsp + 0x67]
and al, 1
movzx eax, al
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14003c1f0
mov eax, dword [rsp + 0x2c]
add rsp, 0x98
ret
Function at 0x140038660
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x37], 0
cmp qword [rsp + 0x38], 0
jne 0x14003869a
mov rdx, qword [rsp + 0x38]
lea rcx, str.Bad_process_handle:_
call fcn.140006800
mov al, byte [rsp + 0x37]
and al, 1
mov byte [rsp + 0x47], al
jmp 0x14003875e
mov rdx, qword [0x140087218]
mov rcx, qword [rsp + 0x38]
mov r8d, 0x2f2000
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400386ec
lea rcx, str.Failed_to_alloc_memory_for_cheat
call fcn.140006c90
mov al, byte [rsp + 0x37]
and al, 1
mov byte [rsp + 0x47], al
jmp 0x14003875e
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
lea r8, [0x140087850]
mov r9d, 0x2f2000
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x140038738
lea rcx, str.Failed_to_write_cheat_binary
call fcn.140006c90
mov al, byte [rsp + 0x37]
and al, 1
mov byte [rsp + 0x47], al
jmp 0x14003875e
mov rdx, qword [rsp + 0x28]
lea rcx, str.Successfully_written_cheat_binary_at__size:_
mov r8d, 0x2f2000
call fcn.140038940
mov byte [rsp + 0x37], 1
mov al, byte [rsp + 0x37]
and al, 1
mov byte [rsp + 0x47], al
mov al, byte [rsp + 0x47]
and al, 1
movzx eax, al
add rsp, 0x48
ret

Function at 0x140038770
Capabilities:
Create process on windows
Execute command
Set console window title

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140379880]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x54], 0
lea rcx, [0x140379978]
call fcn.140007a50
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
lea rdx, [0x14005dd30]
call fcn.140006b50
mov rcx, qword [rsp + 0x40]
xor edx, edx
lea r8, [rsp + 0x58]
call fcn.14003a2b0
lea rcx, [0x14005f57a]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov dword [rsp + 0x50], 0
xor eax, eax
mov r9d, eax
lea rdx, str.open
lea r8, str.steam:__rungameid_730
mov rcx, r9
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, str.Waiting_game...
call fcn.1400389a0
cmp dword [rsp + 0x50], 0
jne 0x14003883d
lea rcx, str.cs2.exe
call fcn.1400389d0
mov dword [rsp + 0x50], eax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140038812
mov r8d, dword [rsp + 0x50]
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140038660
test al, 1
jne 0x14003888c
lea rcx, str.Failed_to_load_binary_into_game_:_
call fcn.140006c90
lea rcx, str.pause
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rsp + 0x54], 0
jmp 0x1400388a4
mov ecx, 0x190
mov edx, 0x258
call qword [sym.imp.KERNEL32.dll_Beep]
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14003c1f0
mov eax, dword [rsp + 0x3c]
add rsp, 0x88
ret
Function at 0x1400389d0
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x288
mov rax, qword [0x140379880]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x48], 0x238
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x48]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x140038a7b
jmp 0x140038a24
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x48]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x140038a76
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x48]
add rcx, 0x2c
call qword [sym.imp.ucrtbased.dll__wcsicmp]
cmp eax, 0
jne 0x140038a71
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x44], eax
jmp 0x140038a8e
jmp 0x140038a24
jmp 0x140038a7b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14003c1f0
mov eax, dword [rsp + 0x2c]
add rsp, 0x288
ret
Function at 0x140056de0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14003c460
movzx eax, al
test eax, eax
jne 0x140056e00
mov ecx, 7
call fcn.140056620
nop
mov byte [rsp + 0x20], 0
call fcn.14003c3c0
mov byte [rsp + 0x21], al
cmp dword [0x140379a10], 1
jne 0x140056e24
mov ecx, 7
call fcn.140056620
nop
jmp 0x140056e7c
cmp dword [0x140379a10], 0
jne 0x140056e77
mov dword [0x140379a10], 1
lea rdx, [0x14007cf28]
lea rcx, [0x14007cf10]
call sub.ucrtbased.dll__initterm_e
test eax, eax
je 0x140056e58
mov eax, 0xff
jmp 0x140056f81
lea rdx, [0x14007cf08]
lea rcx, [0x14007cec8]
call sub.ucrtbased.dll__initterm
mov dword [0x140379a10], 2
jmp 0x140056e7c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14003c430
call fcn.140057260
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140056ed9
mov rcx, qword [rsp + 0x30]
call fcn.14003c330
movzx eax, al
test eax, eax
je 0x140056ed9
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 [0x140381008]
nop
call fcn.140057270
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140056f0d
mov rcx, qword [rsp + 0x38]
call fcn.14003c330
movzx eax, al
test eax, eax
je 0x140056f0d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call sub.ucrtbased.dll__register_thread_local_exe_atexit_callback
nop
call fcn.140056da0
mov dword [rsp + 0x28], eax
call fcn.140056530
movzx eax, al
test eax, eax
jne 0x140056f2c
mov ecx, dword [rsp + 0x28]
call sub.ucrtbased.dll_exit
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140056f3b
call sub.ucrtbased.dll__cexit
nop
xor edx, edx
mov cl, 1
call fcn.14003c4b0
mov eax, dword [rsp + 0x28]
jmp 0x140056f81
add rsp, 0x68
ret