joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425ae0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x4f0
mov rax, qword [0x004408f0]
mov qword [rsp + 0x4e0], rax
mov dword [rsp + 0x68], 0
mov word [rsp + 0x4b0], 0
lea rax, [rsp + 0x4b2]
mov rdi, rax
xor eax, eax
mov ecx, 0xe
rep stosb byte [rdi], al
mov dword [rsp + 0x480], 0
lea rax, [rsp + 0x488]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov qword [rsp + 0x4d8], 0
movzx eax, byte [0x00434b50]
mov byte [rsp + 0x80], al
lea rax, [rsp + 0x81]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
mov qword [rsp + 0x4d0], 0
lea rax, [rsp + 0x508]
mov qword [rsp + 0x60], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x500]
mov edx, 0x400
lea rcx, [rsp + 0x80]
call sub.ntoskrnl.exe__vsnprintf
mov qword [rsp + 0x500], 0
lea rdx, [0x00434b10]
lea rcx, [rsp + 0x4b0]
call sub.ntoskrnl.exe_RtlInitUnicodeString
mov dword [rsp + 0x480], 0x30
mov qword [rsp + 0x488], 0
mov dword [rsp + 0x498], 0x240
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x490], rax
mov qword [rsp + 0x4a0], 0
mov qword [rsp + 0x4a8], 0
call fcn.00418c50
movzx eax, al
test eax, eax
je 0x425c31
jmp 0x425d0d
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c0]
lea r8, [rsp + 0x480]
mov edx, 4
lea rcx, [rsp + 0x4d8]
call sub.ntoskrnl.exe_ZwCreateFile
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jl 0x425d0d
lea rcx, [rsp + 0x80]
call sub.ntoskrnl.exe_strlen
mov qword [rsp + 0x4d0], rax
cmp dword [rsp + 0x68], 0
jl 0x425d00
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x4d0]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x4d8]
call sub.ntoskrnl.exe_ZwWriteFile
mov rcx, qword [rsp + 0x4d8]
call sub.ntoskrnl.exe_ZwClose
mov rcx, qword [rsp + 0x4e0]
call fcn.00432250
add rsp, 0x4f0
pop rdi
ret
Function at 0x427a40
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x20], 0
cmp qword [0x00445c00], 0
je 0x427aa7
cmp qword [rsp + 0x70], 0
je 0x427a9b
mov rax, qword [rsp + 0x70]
mov ecx, dword [0x00445c08]
mov dword [rax], ecx
mov rax, qword [0x00445c00]
jmp 0x427c4a
lea rdx, [0x00434b90]
lea rcx, [rsp + 0x40]
call sub.ntoskrnl.exe_RtlInitUnicodeString
lea rcx, [rsp + 0x40]
call sub.ntoskrnl.exe_MmGetSystemRoutineAddress
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x427ad6
xor eax, eax
jmp 0x427c4a
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x50], 0
jne 0x427afe
xor eax, eax
jmp 0x427c4a
mov eax, dword [rsp + 0x50]
mov r8d, 0x486e7367
mov rdx, rax
xor ecx, ecx
call sub.ntoskrnl.exe_ExAllocatePoolWithTag
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.00431d40
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jl 0x427c2a
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x427b74
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x427c2a
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x10]
cmp qword [rsp + 0x30], rax
jb 0x427c25
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rdx + rcx + 0x18]
mov rdx, qword [rsp + 0x38]
add rcx, qword [rdx + rax + 0x10]
mov rax, rcx
cmp qword [rsp + 0x30], rax
jae 0x427c25
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x10]
mov qword [0x00445c00], rax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x18]
mov dword [0x00445c08], eax
cmp qword [rsp + 0x70], 0
je 0x427c23
mov rax, qword [rsp + 0x70]
mov ecx, dword [0x00445c08]
mov dword [rax], ecx
jmp 0x427c2a
jmp 0x427b6a
jmp 0x427c2c
cmp qword [rsp + 0x28], 0
je 0x427c43
mov edx, 0x486e7367
mov rcx, qword [rsp + 0x28]
call sub.ntoskrnl.exe_ExFreePoolWithTag
mov rax, qword [0x00445c00]
add rsp, 0x68
ret
Function at 0x427dc0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0xa0], 0
jne 0x427ded
mov eax, 0xc000000d
jmp 0x427f09
xor ecx, ecx
call fcn.00427a40
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x427e0b
mov eax, 0xc0000225
jmp 0x427f09
mov rcx, qword [rsp + 0x38]
call sub.ntoskrnl.exe_RtlImageNtHeader
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x427e2c
mov eax, 0xc000007b
jmp 0x427f09
mov rax, qword [rsp + 0x30]
add rax, 0x108
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
jmp 0x427e56
mov rax, qword [rsp + 0x48]
add rax, 0x28
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
jae 0x427f04
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x60]
call sub.ntoskrnl.exe_RtlInitAnsiString
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.ntoskrnl.exe_RtlInitAnsiString
mov r8b, 1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call sub.ntoskrnl.exe_RtlCompareString
test eax, eax
jne 0x427eff
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, rcx
mov r8, qword [rsp + 0x98]
movzx edx, byte [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call fcn.00427c70
jmp 0x427f09
jmp 0x427e48
mov eax, 0xc0000225
add rsp, 0x78
ret
Function at 0x428230
Capabilities:
Attach user process memory
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0xc0], 0
call sub.ntoskrnl.exe_IoGetCurrentProcess
mov qword [rsp + 0xb8], rax
mov r8d, 0x486e7367
mov edx, 0x30
xor ecx, ecx
call sub.ntoskrnl.exe_ExAllocatePoolWithTag
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xb8]
call sub.ntoskrnl.exe_KeStackAttachProcess
mov dword [rsp + 0x80], 0x30
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x98], 0x40
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x68], 0x800
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x80]
mov edx, 0x100181
lea rcx, [rsp + 0xb0]
call sub.ntoskrnl.exe_IoCreateFileSpecifyDeviceObjectHint
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
je 0x428362
jmp 0x42841b
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call fcn.0040a3e0
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
je 0x4283ad
mov rcx, qword [rsp + 0xb0]
call sub.ntoskrnl.exe_ZwClose
jmp 0x42841b
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x28]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x4c], 1
lea rcx, [rsp + 0x80]
call sub.ntoskrnl.exe_ZwDeleteFile
mov dword [rsp + 0xd8], eax
mov rcx, qword [rsp + 0xc0]
call sub.ntoskrnl.exe_ObfDereferenceObject
mov rcx, qword [rsp + 0xb0]
call sub.ntoskrnl.exe_ZwClose
cmp dword [rsp + 0xd8], 0
je 0x428407
jmp 0x42841b
lea rcx, [rsp + 0x80]
call sub.ntoskrnl.exe_ZwDeleteFile
mov dword [rsp + 0xd8], eax
mov rcx, qword [rsp + 0xe0]
call sub.ntoskrnl.exe_KeUnstackDetachProcess
mov eax, dword [rsp + 0xd8]
add rsp, 0xf8
ret
Function at 0x42cb40
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov word [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_RtlImageNtHeader
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x42cb78
xor eax, eax
jmp 0x42cc0f
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov word [rsp + 0x20], 0
jmp 0x42cbb4
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x42cc0d
mov r8d, 8
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call sub.ntoskrnl.exe__strnicmp
test eax, eax
jne 0x42cc0b
cmp qword [rsp + 0x60], 0
je 0x42cbf6
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x10]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
jmp 0x42cc0f
jmp 0x42cb99
xor eax, eax
add rsp, 0x48
ret
Function at 0x42d070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x98
mov rax, qword [0x004408f0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x6c], 0xc0000022
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x70], 0x1000
mov word [rsp + 0x58], 0
lea rax, [rsp + 0x5a]
mov rdi, rax
xor eax, eax
mov ecx, 0xe
rep stosb byte [rdi], al
mov word [rsp + 0x38], 0x4e
mov word [rsp + 0x3a], 0x54
mov word [rsp + 0x3c], 0x20
mov word [rsp + 0x3e], 0x4b
mov word [rsp + 0x40], 0x65
mov word [rsp + 0x42], 0x72
mov word [rsp + 0x44], 0x6e
mov word [rsp + 0x46], 0x65
mov word [rsp + 0x48], 0x6c
mov word [rsp + 0x4a], 0x20
mov word [rsp + 0x4c], 0x4c
mov word [rsp + 0x4e], 0x6f
mov word [rsp + 0x50], 0x67
mov word [rsp + 0x52], 0x67
mov word [rsp + 0x54], 0x65
mov word [rsp + 0x56], 0x72
mov eax, dword [rsp + 0x70]
mov r8d, 0x486e7367
mov rdx, rax
mov ecx, 1
call sub.ntoskrnl.exe_ExAllocatePoolWithTag
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x42d15a
mov eax, 0xc00000a0
jmp 0x42d2fb
mov eax, dword [rsp + 0x70]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.00431d40
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x70]
mov dword [rax], ecx
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x2c], 0x20000
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x28], 1
mov rax, qword [rsp + 0x78]
lea rcx, [0x004377b0]
lea rdi, [rax + 0x18]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x40], 0x400
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x30], 4
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x34], 2
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call sub.ntoskrnl.exe_RtlInitUnicodeString
mov rax, qword [rsp + 0x78]
add rax, 0x90
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.0042cd60
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x42d226
cmp dword [rsp + 0x80], 1
je 0x42d296
cmp dword [rsp + 0x80], 2
je 0x42d25e
jmp 0x42d2d8
int3
int3
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x48], 0x80
int3
mov rax, qword [rsp + 0x78]
add rax, 0x90
mov rcx, rax
call fcn.0042ce40
xor edx, edx
mov rcx, qword [rsp + 0x78]
call sub.ntoskrnl.exe_ExFreePoolWithTag
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x88]
call fcn.00432250
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x42d540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x90], 0
jne 0x42d5a9
xor eax, eax
jmp 0x42d79e
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x42d5bf
xor eax, eax
jmp 0x42d79e
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x42d630
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x88]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x8c]
mov dword [rsp + 0x30], eax
jmp 0x42d651
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x78]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x7c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0
jmp 0x42d6a4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x42d799
mov word [rsp + 0x78], 0xffff
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x98], 0xffff
ja 0x42d6e0
movzx eax, word [rsp + 0x20]
mov word [rsp + 0x78], ax
jmp 0x42d72d
cmp qword [rsp + 0x98], 0xffff
jbe 0x42d729
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x42d729
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x78], ax
jmp 0x42d72d
xor eax, eax
jmp 0x42d79e
cmp qword [rsp + 0x98], 0xffff
ja 0x42d754
movzx eax, word [rsp + 0x98]
movzx ecx, word [rsp + 0x78]
mov rdx, qword [rsp + 0x58]
add ecx, dword [rdx + 0x10]
cmp eax, ecx
je 0x42d778
cmp qword [rsp + 0x98], 0xffff
jbe 0x42d794
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
call sub.ntoskrnl.exe_strcmp
test eax, eax
jne 0x42d794
movzx eax, word [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
jmp 0x42d799
jmp 0x42d69a
mov rax, qword [rsp + 0x68]
add rsp, 0x88
ret
Function at 0x42d7b0
Capabilities:
Print debug messages

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x90], 0
jne 0x42d7e1
xor eax, eax
jmp 0x42da0e
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0xffffffffffd9da60
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x42d90c
mov rcx, qword [rsp + 0x90]
call sub.ntoskrnl.exe_PsGetProcessWow64Process
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x42d847
lea rdx, [0x00435020]
lea rcx, [0x00435000]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x42da0e
mov dword [rsp + 0x20], 0
jmp 0x42d85b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xc], 0
jne 0x42d87d
cmp dword [rsp + 0x20], 0xa
jge 0x42d87d
lea r8, [rsp + 0x30]
mov dl, 1
xor ecx, ecx
call sub.ntoskrnl.exe_KeDelayExecutionThread
jmp 0x42d851
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xc], 0
jne 0x42d88f
xor eax, eax
jmp 0x42da0e
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov eax, dword [rax + 0xc]
mov qword [rsp + 0x28], rax
jmp 0x42d8ad
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
add rax, 0xc
cmp qword [rsp + 0x28], rax
je 0x42d907
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x40]
call sub.ntoskrnl.exe_RtlInitUnicodeString
mov r8b, 1
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x40]
call sub.ntoskrnl.exe_RtlCompareUnicodeString
test eax, eax
jne 0x42d905
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x18]
jmp 0x42da0e
jmp 0x42d8a1
jmp 0x42d9eb
mov rcx, qword [rsp + 0x90]
call sub.ntoskrnl.exe_PsGetProcessPeb
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x58], 0
cmp qword [rsp + 0x68], 0
jne 0x42d935
xor eax, eax
jmp 0x42da0e
mov dword [rsp + 0x58], 0
jmp 0x42d949
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 0
jne 0x42d96c
cmp dword [rsp + 0x58], 0xa
jge 0x42d96c
lea r8, [rsp + 0x30]
mov dl, 1
xor ecx, ecx
call sub.ntoskrnl.exe_KeDelayExecutionThread
jmp 0x42d93f
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 0
jne 0x42d97f
xor eax, eax
jmp 0x42da0e
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
jmp 0x42d9a0
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x18]
add rax, 0x10
cmp qword [rsp + 0x70], rax
je 0x42d9eb
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x58
mov r8b, 1
mov rdx, qword [rsp + 0x98]
mov rcx, rax
call sub.ntoskrnl.exe_RtlCompareUnicodeString
test eax, eax
jne 0x42d9e9
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x30]
jmp 0x42da0e
jmp 0x42d993
jmp 0x42da0c
xor eax, eax
add rsp, 0x80
pop rdi
ret
Function at 0x42e030
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x004408f0]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0x1000
mov byte [rsp + 0x50], 0x68
mov byte [rsp + 0x51], 0
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x53], 0
mov byte [rsp + 0x54], 0
mov byte [rsp + 0x55], 0x68
mov byte [rsp + 0x56], 0
mov byte [rsp + 0x57], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x59], 0
mov byte [rsp + 0x5a], 0x6a
mov byte [rsp + 0x5b], 0
mov byte [rsp + 0x5c], 0x6a
mov byte [rsp + 0x5d], 0
mov byte [rsp + 0x5e], 0xe8
mov byte [rsp + 0x5f], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x61], 0
mov byte [rsp + 0x62], 0
mov byte [rsp + 0x63], 0xba
mov byte [rsp + 0x64], 0
mov byte [rsp + 0x65], 0
mov byte [rsp + 0x66], 0
mov byte [rsp + 0x67], 0
mov byte [rsp + 0x68], 0xc7
mov byte [rsp + 0x69], 2
mov byte [rsp + 0x6a], 0x7e
mov byte [rsp + 0x6b], 0x1e
mov byte [rsp + 0x6c], 0x37
mov byte [rsp + 0x6d], 0xc0
mov byte [rsp + 0x6e], 0xba
mov byte [rsp + 0x6f], 0
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 0
mov byte [rsp + 0x72], 0
mov byte [rsp + 0x73], 0x89
mov byte [rsp + 0x74], 2
mov byte [rsp + 0x75], 0xc2
mov byte [rsp + 0x76], 4
mov byte [rsp + 0x77], 0
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, 0xffffffffffffffff
call sub.ntoskrnl.exe_ZwAllocateVirtualMemory
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x42e260
mov rax, qword [rsp + 0x38]
add rax, 0x200
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xa8]
movzx ecx, word [rcx]
mov word [rax], cx
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xa8]
movzx ecx, word [rcx + 2]
mov word [rax + 2], cx
mov rax, qword [rsp + 0x38]
add rax, 0x210
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 4]
mov r8, rax
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rax + 8]
call fcn.004319d0
mov r8d, 0x28
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call fcn.004319d0
mov rax, qword [rsp + 0x38]
add rax, 0x5e0
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x78]
mov dword [rax + 6], ecx
mov rax, qword [rsp + 0x38]
add rax, 0xf
mov rcx, qword [rsp + 0xa0]
sub rcx, rax
mov rax, rcx
sub rax, 4
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0xf], eax
mov rax, qword [rsp + 0x38]
add rax, 0x5e8
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x38]
add rax, 0x5ec
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x1f], eax
mov rax, qword [rsp + 0x38]
jmp 0x42e262
xor eax, eax
mov rcx, qword [rsp + 0x80]
call fcn.00432250
add rsp, 0x98
ret
Function at 0x42e280
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x70], 0
cmp qword [rsp + 0xb0], 0
jne 0x42e2c8
mov dword [rsp + 0x70], 0xc0000001
mov eax, dword [rsp + 0x70]
jmp 0x42e46b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
call sub.ntoskrnl.exe_PsLookupProcessByProcessId
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jne 0x42e2f6
mov rcx, qword [rsp + 0x30]
call sub.ntoskrnl.exe_MmIsAddressValid
movzx eax, al
test eax, eax
jne 0x42e2ff
mov eax, dword [rsp + 0x70]
jmp 0x42e46b
mov rcx, qword [rsp + 0x30]
call sub.ntoskrnl.exe_PsGetProcessWow64Process
test rax, rax
je 0x42e31b
mov dword [rsp + 0x98], 1
jmp 0x42e326
mov dword [rsp + 0x98], 0
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 0x74], al
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call sub.ntoskrnl.exe_KeStackAttachProcess
nop
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x90], 0
mov word [rsp + 0x80], 0
lea rax, [rsp + 0x82]
mov rdi, rax
xor eax, eax
mov ecx, 0xe
rep stosb byte [rdi], al
lea rdx, [0x00435030]
lea rcx, [rsp + 0x80]
call sub.ntoskrnl.exe_RtlInitUnicodeString
movzx r8d, byte [rsp + 0x74]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
call fcn.0042d7b0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x42e3b6
mov dword [rsp + 0x70], 0xc0000225
cmp dword [rsp + 0x70], 0
jl 0x42e3ee
mov r8, qword [rsp + 0x30]
lea rdx, [0x00434330]
mov rcx, qword [rsp + 0x78]
call fcn.0042d540
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x42e3ee
mov dword [rsp + 0x70], 0xc0000225
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x42e413
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x90]
call fcn.0042e030
mov qword [rsp + 0x68], rax
jmp 0x42e42d
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x90]
call fcn.0042dd00
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.0042daf0
jmp 0x42e453
lea rcx, [rsp + 0x38]
call sub.ntoskrnl.exe_KeUnstackDetachProcess
mov rcx, qword [rsp + 0x30]
call sub.ntoskrnl.exe_ObfDereferenceObject
mov eax, dword [rsp + 0x70]
add rsp, 0xa0
pop rdi
ret