joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c21f0
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r14, r9
mov ebp, r8d
mov ebx, edx
mov r15, rcx
test edx, edx
jne 0x1400c2229
cmp dword [sym.KuramaCHEAT01.exe_WindowsVersion], 0x64
mov ebx, 0x3b
mov eax, 0x1ff
cmovae ebx, eax
mov edi, dword [0x140155c48]
mov eax, 3
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
test r8d, r8d
mov r8d, edi
cmove ebp, eax
lea edx, [rax + 1]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r12d, r12d
mov r9d, ebp
mov qword [rsp + 0x48], r12
mov rsi, rax
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov r8d, ebx
lea rax, [rsp + 0x88]
xor edx, edx
mov qword [rsp + 0x30], rax
mov rcx, r15
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x1400c232f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1400c2319
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add edi, dword [rsp + 0x88]
lea edx, [r12 + 4]
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
mov r8d, edi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x48], r12
mov r9d, ebp
mov rsi, rax
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x90]
mov r8d, ebx
mov qword [rsp + 0x38], rax
xor edx, edx
lea rax, [rsp + 0x88]
mov rcx, r15
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x1400c232f
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
jmp 0x1400c2351
mov eax, dword [0x140155c48]
cmp edi, 0x20000
cmovbe eax, edi
mov dword [0x140155c48], eax
mov eax, dword [rsp + 0x90]
mov dword [r14], eax
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x1400c2640
Capabilities:
Modify service

Disassembly:
sub rsp, 0x28
movzx eax, dl
lea r8, [rsp + 0x38]
mov edx, 3
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400c35a0
Capabilities:
Map section object

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
mov dword [rsp + 0x48], 2
lea rax, [r11 + 0x20]
mov rbx, rdx
mov qword [r11 + 0x20], 1
xor edx, edx
lea r8, [r11 + 0x18]
mov dword [rsp + 0x40], edx
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], rdx
mov qword [r11 - 0x38], rdx
mov qword [r11 + 0x18], rdx
or rdx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
js 0x1400c3616
mov rdx, qword [rsp + 0x70]
mov r8, rbx
or rcx, 0xffffffffffffffff
call sym.KuramaCHEAT01.exe_PhGetProcessMappedFileName
mov rdx, qword [rsp + 0x70]
or rcx, 0xffffffffffffffff
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x1400c5e70
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x60
mov rsi, r8
mov ebx, edx
mov r14, rcx
test dl, 1
je 0x1400c5f5d
test dl, 2
je 0x1400c5eb7
mov r8d, 0x20
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov edi, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
mov rbx, qword [0x14015e0c8]
mov edx, 0x212
mov rcx, rbx
call fcn.1400ae820
lock inc dword [rbx + 4]
mov dword [rax + 8], 1
movzx ecx, byte [rbx + 2]
lea rbx, [rax + 0x10]
mov word [rax], cx
lea rax, [rbx + 0x10]
xor ecx, ecx
mov qword [rbx + 8], rax
mov qword [rbx], 0x200
mov word [rax + 0x200], cx
mov rcx, r14
mov r8d, dword [rbx]
mov rdx, qword [rbx + 8]
shr r8d, 1
inc r8d
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov edi, eax
mov eax, eax
add rax, rax
mov qword [rbx], rax
test rsi, rsi
je 0x1400c5f34
mov qword [rsi], rbx
mov eax, edi
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c5f4a
call fcn.1400ae900
mov eax, edi
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x80], rbp
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
test eax, eax
je 0x1400c6020
test bl, 2
jne 0x1400c6020
mov rbx, qword [0x14015e0c8]
mov edi, ebp
add rdi, rdi
mov rcx, rbx
lea rdx, [rdi + 0x12]
call fcn.1400ae820
lock inc dword [rbx + 4]
mov dword [rax + 8], 1
movzx ecx, byte [rbx + 2]
lea rbx, [rax + 0x10]
mov word [rax], cx
lea rax, [rbx + 0x10]
xor ecx, ecx
mov qword [rbx + 8], rax
mov qword [rbx], rdi
mov word [rax + rdi], cx
mov rcx, r14
mov r8d, dword [rbx]
mov rdx, qword [rbx + 8]
shr r8d, 1
inc r8d
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1400c5ff9
test rsi, rsi
je 0x1400c5fe1
mov qword [rsi], rbx
jmp 0x1400c602d
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c602d
call fcn.1400ae900
jmp 0x1400c602d
test rsi, rsi
je 0x1400c6006
call sym.KuramaCHEAT01.exe_PhReferenceEmptyString
mov qword [rsi], rax
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c601c
call fcn.1400ae900
xor eax, eax
jmp 0x1400c602f
test rsi, rsi
je 0x1400c602d
call sym.KuramaCHEAT01.exe_PhReferenceEmptyString
mov qword [rsi], rax
mov eax, ebp
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
Function at 0x1400c6da0
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x2f0
movzx esi, r8b
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400c6e75
movzx eax, byte [rdx]
xor al, 0xe
test al, 0x1f
jne 0x1400c6e75
lea rdx, str..exe
mov rcx, rdi
call fcn.1400e4d4c
test eax, eax
jne 0x1400c6e75
xor ebx, ebx
mov qword [rsp + 0x318], rbx
test rbp, rbp
je 0x1400c6e34
test sil, sil
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x318]
mov rcx, rbp
cmovne r9, rbx
lea r8, [rsp + 0x318]
cmove r8, rbx
xor edx, edx
call qword [sym.imp.SHELL32.dll_ExtractIconExW]
mov rax, qword [rsp + 0x318]
test rax, rax
jne 0x1400c6f1b
test sil, sil
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x318]
cmove rdx, rbx
cmovne rcx, rbx
call sym.KuramaCHEAT01.exe_PhGetStockApplicationIcon
mov rax, qword [rsp + 0x318]
test rax, rax
je 0x1400c6f1b
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_DuplicateIcon]
jmp 0x1400c6f1b
xor ebx, ebx
mov qword [rsp + 0x310], r14
test sil, sil
mov qword [rsp + 0x318], rbx
mov r14d, ebx
sete r14b
test rbp, rbp
je 0x1400c6ed5
mov eax, r14d
lea r8, [rsp + 0x30]
bts eax, 8
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rbx, qword [rsp + 0x318]
test rax, rax
cmovne rbx, qword [rsp + 0x30]
mov qword [rsp + 0x318], rbx
test rbx, rbx
jne 0x1400c6f10
test rdi, rdi
je 0x1400c6f10
or r14d, 0x110
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov dword [rsp + 0x20], r14d
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rbx, qword [rsp + 0x318]
test rax, rax
cmovne rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x310]
mov rax, rbx
mov rbx, qword [rsp + 0x320]
add rsp, 0x2f0
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c6f30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov ecx, 2
add rdx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, qword [rdi]
mov rcx, rax
mov rdx, qword [rdi + 8]
mov rbx, rax
call fcn.1400e3970
mov rcx, qword [rdi]
xor eax, eax
mov word [rbx + rcx], ax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400c6fbe
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x1400c6fbe
mov rdx, rbp
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1400c6fbe
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1400c6fc7
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c6fe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x30
mov rsi, r8
mov r14, rcx
mov rcx, rsi
mov r8d, 5
mov rdx, r9
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400c7021
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov rdx, rax
mov qword [rsp + 0x48], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400c7049
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400c7050
xor eax, eax
jmp 0x1400c70e4
mov rcx, rax
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x1400c70df
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
mov r8, rdi
mov edx, 4
mov rbx, rdi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8, rbx
mov rdx, rbp
mov rcx, rax
mov rdi, rax
call fcn.1400e3970
mov eax, 0xffff
cmp word [rdi + 2], ax
jne 0x1400c70a3
mov dword [rdi + 0xc], 0x40000448
jmp 0x1400c70a9
mov dword [rdi], 0x40000448
mov rax, qword [rsp + 0x68]
mov r8, r14
mov r9, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
mov rbx, rax
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rbx
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400cc630
Capabilities:
Get user security identifier

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x50
cmp qword [rcx], 0xfffe
mov r14, r9
movzx eax, word [rcx]
mov rsi, r8
mov word [rsp + 0x38], ax
mov r15, rdx
mov word [rsp + 0x3a], ax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
jbe 0x1400cc671
mov eax, 0xc0000106
add rsp, 0x50
pop r15
pop r14
pop rsi
ret
mov qword [rsp + 0x80], rbp
call fcn.1400cc350
xor ecx, ecx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x30], rcx
xor edx, edx
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, rax
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_LsaLookupNames2]
mov rcx, qword [rsp + 0x70]
mov ebp, eax
test eax, eax
js 0x1400cc777
mov edx, dword [rcx]
sub edx, 7
cmp edx, 1
jbe 0x1400cc772
test r15, r15
je 0x1400cc72e
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x88], rdi
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
mov edx, 4
mov r8d, eax
mov ebx, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdx, qword [rsp + 0x70]
mov r8d, ebx
mov rcx, rax
mov rdi, rax
mov rdx, qword [rdx + 8]
call fcn.1400e3970
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov qword [r15], rdi
mov rdi, qword [rsp + 0x88]
test rsi, rsi
je 0x1400cc766
movsxd rax, dword [rcx + 0x10]
test eax, eax
js 0x1400cc759
lea r8, [rax + rax*2]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
movzx edx, word [rcx + r8*8]
mov rcx, qword [rcx + r8*8 + 8]
call sym.KuramaCHEAT01.exe_PhCreateStringEx
jmp 0x1400cc75e
call sym.KuramaCHEAT01.exe_PhReferenceEmptyString
mov rcx, qword [rsp + 0x70]
mov qword [rsi], rax
test r14, r14
je 0x1400cc777
mov eax, dword [rcx]
mov dword [r14], eax
jmp 0x1400cc777
mov ebp, 0xc0000073
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400cc78f
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400cc79a
call qword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
mov eax, ebp
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rsi
ret
Function at 0x1400dee10
Capabilities:
Get file attributes
Map section object

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
sub rsp, 0x98
xor ebp, ebp
mov rsi, r9
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0xb0], rbp
test rcx, rcx
jne 0x1400dee44
mov eax, 0xc0000030
add rsp, 0x98
pop rsi
pop rbp
ret
mov qword [rsp + 0x38], rbp
mov rdx, rcx
mov dword [rsp + 0x30], 0x60
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov r8d, 0x1000a1
mov dword [rsp + 0x20], 1
call sym.KuramaCHEAT01.exe_PhCreateFileWin32Ex
test eax, eax
js 0x1400defb1
mov qword [rsp + 0xc0], rbx
lea r8, [rsp + 0x78]
mov qword [rsp + 0x90], rdi
lea rdx, [rsp + 0x68]
mov rdi, qword [rsp + 0x50]
mov r9d, 0x18
mov rcx, rdi
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ecx, eax
mov ebx, eax
test eax, eax
js 0x1400deecd
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb8], rax
test ecx, ecx
js 0x1400def83
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0xb8]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rsp + 0xb0]
xor r8d, r8d
mov dword [rsp + 0x20], 0x20
mov edx, 0xf001f
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov ebx, eax
test eax, eax
js 0x1400def83
mov rax, qword [rsp + 0xb8]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0xb0]
xor r9d, r9d
mov dword [rsp + 0x48], 0x20
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x58], rbp
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov ebx, eax
test eax, eax
js 0x1400def83
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xd0]
mov qword [rsi], rax
mov rax, qword [rsp + 0xb8]
mov qword [rdx], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400def96
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
mov rdi, qword [rsp + 0x90]
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0x98
pop rsi
pop rbp
ret
Function at 0x1400df070
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x170
mov rdi, r8
mov qword [r8], rdx
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov r9d, 0x40
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x1400df1c6
mov eax, 0x5a4d
cmp word [rsp + 0x30], ax
je 0x1400df0c6
mov eax, 0xc000012f
jmp 0x1400df1c6
mov ecx, dword [rsp + 0x6c]
lea eax, [rcx - 1]
cmp eax, 0xffffffe
ja 0x1400df1f3
lea rdx, [rcx + rsi]
mov qword [rsp + 0x188], r14
mov r14d, ecx
mov qword [rsp + 0x20], 0
mov rcx, rbp
lea r8, [rsp + 0x70]
mov r9d, 0xf8
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x1400df1be
cmp dword [rsp + 0x70], 0x4550
jne 0x1400df155
movzx eax, word [rsp + 0x88]
mov ecx, 0x10b
mov word [rdi + 0x20], ax
sub ax, cx
mov ecx, 0xfeff
test cx, ax
jne 0x1400df155
movzx eax, word [rsp + 0x76]
mov dword [rdi + 0x10], eax
lea edx, [rax + rax*4]
movzx eax, word [rsp + 0x84]
lea edx, [rdx + 3]
lea edx, [rax + rdx*8]
cmp edx, 0x100000
jbe 0x1400df15c
mov eax, 0xc000007b
jmp 0x1400df1be
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
mov r8d, edx
mov qword [rsp + 0x180], rbx
mov ebx, edx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea rdx, [r14 + rsi]
mov qword [rsp + 0x20], 0
mov r8, rax
mov qword [rdi + 8], rax
mov r9d, ebx
mov rcx, rbp
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov ebx, eax
test eax, eax
jns 0x1400df1db
mov r8, qword [rdi + 8]
xor edx, edx
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rbx, qword [rsp + 0x180]
mov r14, qword [rsp + 0x188]
lea r11, [rsp + 0x170]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
movzx ecx, word [rsp + 0x84]
add rcx, 0x18
add rcx, qword [rdi + 8]
mov qword [rdi + 0x18], rcx
xor eax, eax
jmp 0x1400df1b6
mov eax, 0xc000007b
jmp 0x1400df1c6
Function at 0x140001320
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140003638], rbx
je 0x14000136c
cmp rax, rbx
jne 0x14000135f
mov ebx, 1
mov esi, ebx
jmp 0x140001371
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001344
mov ebx, 1
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x140001387
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400013ec
mov eax, dword [0x140003640]
test eax, eax
jne 0x1400013e6
mov dword [0x140003640], ebx
lea r15, [0x1400022c8]
lea rdi, [0x1400022b0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400013d8
test eax, eax
jne 0x1400013dc
cmp qword [rdi], 0
je 0x1400013cd
mov rax, qword [rdi]
mov rcx, qword [0x140002290]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400013ae
test eax, eax
je 0x1400013ec
mov eax, 0xff
jmp 0x1400014c8
mov dword [0x140003044], ebx
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x140001413
lea rdx, [0x1400022a8]
lea rcx, [0x140002298]
call sub.msvcrt.dll__initterm
mov dword [0x140003640], 2
test esi, esi
jne 0x140001420
xor eax, eax
xchg qword [0x140003638], rax
cmp qword [0x140003648], 0
je 0x140001454
lea rcx, [0x140003648]
call fcn.1400016d0
test eax, eax
je 0x140001454
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003648]
mov r9, qword [0x140002290]
call r9
mov r8, qword [0x140003058]
mov rdx, qword [0x140003050]
mov ecx, dword [0x140003048]
call fcn.1400011c4
mov dword [0x140003040], eax
cmp dword [0x140003060], 0
jne 0x140001484
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003044], 0
jne 0x140001499
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003040]
jmp 0x1400014c8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140123000
add rsp, 0x28
jmp 0x140001320

Function at 0x1400015bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001608
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001600
cmp dword [rcx + 0x3c], edx
jl 0x140001600
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001600
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001608
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140002df0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov dword [rsp + 0x40], 0x238
mov r14, rcx
mov r13d, 0xffffffff
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x40]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140002f9a
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140002f9a
nop
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140002640
cmp qword [r14 + 0x18], 8
mov rbx, r14
mov r11, qword [r14 + 0x10]
jb 0x140002e90
mov rbx, qword [r14]
mov rbp, qword [rsp + 0x38]
lea rsi, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
cmp rbp, 8
mov rax, qword [rsp + 0x30]
cmovae rsi, rdi
cmp r11, rax
ja 0x140002f48
sub rax, r11
test r11, r11
je 0x140002fe0
movzx r10d, word [rbx]
inc rax
lea r15, [rsi + rax*2]
mov rax, rsi
nop
mov rcx, r15
mov edx, 0
sub rcx, rax
sar rcx, 1
je 0x140002efc
cmp word [rax], r10w
je 0x140002ef9
cmp rcx, 1
je 0x140002efc
add rax, 2
dec rcx
cmp word [rax], r10w
jne 0x140002ee6
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140002f48
mov r8, r11
mov rdx, rbx
test r11, r11
je 0x140002f38
mov r9, rax
sub r9, rbx
nop word [rax + rax]
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x140002fd7
add rdx, 2
sub r8, 1
jne 0x140002f20
sub rax, rsi
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x140002fe0
cmp rbp, 8
jb 0x140002f83
lea rdx, [rbp*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002f7b
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003021
mov rcx, rdi
call fcn.1400035ec
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140002e70
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r13d
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140003590
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
add rax, 2
jmp 0x140002ed0
mov r13d, dword [rsp + 0x48]
cmp rbp, 8
jb 0x140002f9a
lea rdx, [rbp*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140003014
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003021
mov rcx, rdi
call fcn.1400035ec
jmp 0x140002f9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140003f24
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003f6e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003f6e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003f6e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003f6e
cmp dword [rcx + 0x84], 0xe
jbe 0x140003f6e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003f70
xor al, al
add rsp, 0x28
ret
Function at 0x140002070
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13c0
call fcn.1400f2b80
sub rsp, rax
mov rax, qword [0x140234cc0]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov edi, edx
mov ebx, ecx
call fcn.1400f48e0
mov dword [rsp + 0x24], eax
mov r9d, 1
mov r10d, 0x270
mov dword [rsp + 0x13a4], 0xffffffff
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, r10
jb 0x1400020c3
lea eax, [rbx - 0x80000000]
mov dword [rsp + 0x20], r10d
mov ebp, 0x80000000
cmp ebx, ebp
lea esi, [rbx + rbp]
cmovae esi, eax
lea ebx, [rdi + rbp]
cmp edi, ebp
lea eax, [rdi - 0x80000000]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x140002192
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140002120
mov r10d, dword [rsp + 0x20]
mov ecx, dword [rsp + r10*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov edx, ecx
shr edx, 0x12
xor edx, ecx
jmp 0x1400021c9
lea edi, [rbx + 1]
xor r8d, r8d
xor eax, eax
test ebx, ebx
je 0x1400021b0
lea rcx, [rsp + 0x20]
call fcn.140007060
mov r8d, eax
mov eax, 0xffffffff
xor edx, edx
div edi
mov ecx, eax
mov r9d, edx
xor edx, edx
mov eax, r8d
div edi
cmp eax, ecx
jb 0x1400021c9
cmp r9d, ebx
jne 0x140002195
add edx, esi
cmp edx, ebp
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + rbp]
cmovae eax, ecx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400f1ec0
lea r11, [rsp + 0x13c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret