Function at 0x140005ca0
Capabilities:
Attach user process memory
Complete processing asynchronous io request
Execute anti-debugging instructions
Find process by pid
Map section object

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x748
mov rax, qword [0x140016040]
xor rax, rsp
mov qword [rsp + 0x738], rax
mov qword [rsp + 0x4f0], rsp
mov dword [rsp + 0x50], 0xc0000001
mov qword [rsp + 0x108], 0
cmp dword [0x140020cfc], 0
jne 0x140005d13
mov rcx, qword [rsp + 0x768]
call fcn.140008a60
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0xc4], eax
jmp 0x140005d25
mov rax, qword [rsp + 0x768]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x22e100
ja 0x140005d82
cmp dword [rsp + 0x54], 0x22e100
je 0x14000789b
mov eax, dword [rsp + 0x54]
sub eax, 0x22e000
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0xfc
ja case.0x140005dba.2285861
mov eax, dword [rsp + 0x54]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x8754]
mov eax, dword [rcx + rax*4 + 0x8688]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x54]
sub eax, 0x22e104
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x84
ja case.0x140005dba.2285861
mov eax, dword [rsp + 0x54]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x88dc]
mov eax, dword [rcx + rax*4 + 0x8854]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
movzx eax, word [rax + 0x10]
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov rax, qword [rsp + 0x110]
mov r8, qword [rax + 8]
xor edx, edx
mov rax, qword [rsp + 0x110]
mov ecx, dword [rax]
call fcn.140009f10
movzx eax, al
test eax, eax
je 0x140005e1d
mov dword [rsp + 0xe0], 0
jmp 0x140005e28
mov dword [rsp + 0xe0], 0xc0000001
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x50], eax
jmp 0x140005e3d
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
add rax, 0x12
mov rcx, qword [rsp + 0x118]
movzx ecx, word [rcx + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, ecx
mov rax, qword [rsp + 0x118]
mov r8, qword [rax + 8]
xor edx, edx
mov rax, qword [rsp + 0x118]
mov ecx, dword [rax]
call fcn.14000a410
movzx eax, al
test eax, eax
je 0x140005ea7
mov dword [rsp + 0xe4], 0
jmp 0x140005eb2
mov dword [rsp + 0xe4], 0xc0000001
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x50], eax
jmp 0x140005ec7
jmp case.0x140005dba.2285861
mov qword [rsp + 0x120], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0xec], eax
mov eax, dword [rsp + 0xec]
mov ecx, eax
call fcn.14000b940
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x1b0], rax
mov dword [rsp + 0x50], 0
cmp qword [rsp + 0x128], 0
jne 0x140005fa7
mov rax, qword [rsp + 0x1b0]
mov byte [rax + 8], 0
mov qword [rsp + 0x128], 0
mov eax, dword [rsp + 0xec]
lea rdx, [rsp + 0x120]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140005f9b
lea rax, [rsp + 0x128]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9d, 0x1fffff
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov dword [rsp + 0x50], eax
jmp 0x140005fa5
jmp 0x140005fb3
mov rax, qword [rsp + 0x1b0]
mov byte [rax + 8], 1
cmp qword [rsp + 0x120], 0
je 0x140005fcd
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x128]
mov qword [rax], rcx
jmp case.0x140005dba.2285861
lea rax, [rsp + 0x540]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x468], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov qword [rsp + 0x470], rax
mov qword [rsp + 0x1b8], 0
mov qword [rsp + 0x1b8], 0
lea r9, [rsp + 0x468]
lea r8, [rsp + 0x540]
mov edx, 0x1fffff
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.ntoskrnl.exe_ZwOpenThread]
mov dword [rsp + 0x50], eax
jmp 0x14000606c
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x1b8]
mov qword [rax], rcx
jmp case.0x140005dba.2285861
mov dword [rsp + 0xf0], 0
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x1c0]
cmp qword [rax + 8], 0x12000
jne 0x1400060e5
mov dword [rsp + 0xf0], 1
mov rax, qword [rsp + 0x208]
add rax, 8
lea rcx, [rsp + 0x4f8]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x2f0]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov rax, qword [rsp + 0x1c0]
mov r8, qword [rax + 8]
xor edx, edx
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rax]
call fcn.1400098f0
movzx eax, al
mov dword [rsp + 0x50], eax
jmp 0x140006141
mov rax, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x2f0]
mov qword [rax], rcx
jmp case.0x140005dba.2285861
cli
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x500], rax
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x508], rax
sti
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov ecx, eax
call fcn.14000a820
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 0
jne 0x1400061dc
mov dword [rsp + 0x50], 0xc0000001
jmp 0x140006232
mov eax, dword [rsp + 0xf4]
lea rdx, [rsp + 0x210]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x14000621f
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x210]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x210]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
jmp 0x140006232
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rax], 0
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x1c8], rax
mov r8, qword [rsp + 0x1c8]
mov rax, qword [rsp + 0x1c8]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rax]
call fcn.140009c20
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
lea rax, [rsp + 0x708]
lea rcx, [0x140013380]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2e
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x708]
lea rcx, [rsp + 0x530]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop
mov dword [rsp + 0x478], 0x30
mov qword [rsp + 0x480], 0
mov dword [rsp + 0x490], 0x40
lea rax, [rsp + 0x530]
mov qword [rsp + 0x488], rax
mov qword [rsp + 0x498], 0
mov qword [rsp + 0x4a0], 0
lea r8, [rsp + 0x478]
mov edx, 0xf001f
lea rcx, [rsp + 0x228]
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140006474
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x218], 0x2000
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 8]
mov qword [rsp + 0x308], rax
mov qword [rsp + 0x1d0], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x218]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x220]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x1d0]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140006465
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x220]
mov rax, qword [rax]
sub rax, rcx
mov qword [rsp + 0x300], rax
mov eax, 1
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x2f8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x300]
mov rdx, qword [rsp + 0x1d0]
add rdx, rcx
mov rcx, rdx
mov rdi, rcx
mov rsi, rax
mov rcx, qword [rsp + 0x308]
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x1d0]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
nop
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
nop
jmp case.0x140005dba.2285861
mov qword [rsp + 0x240], 0
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x230], rax
lea rdx, [rsp + 0x238]
mov rax, qword [rsp + 0x230]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140006521
lea rax, [rsp + 0x600]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdx, [rsp + 0x600]
mov rcx, qword [rsp + 0x238]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
mov rax, qword [rsp + 0x230]
mov rcx, qword [rax + 8]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x600]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
nop
mov rcx, qword [rsp + 0x238]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
jmp 0x14000652b
cmp dword [rsp + 0x50], 0
jne 0x140006549
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x240]
mov qword [rax], rcx
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x248], rax
cmp qword [0x140016198], 0
jne 0x14000661d
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalMemoryRanges]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x14000661b
mov rax, qword [rsp + 0xb0]
mov qword [0x140016198], rax
mov dword [rsp + 0x6c], 0
jmp 0x1400065b0
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
movsxd rax, dword [rsp + 0x6c]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xb0]
cmp qword [rcx + rax + 8], 0
jne 0x1400065e1
movsxd rax, dword [rsp + 0x6c]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xb0]
cmp qword [rcx + rax], 0
je 0x1400065e3
jmp 0x1400065a6
movsxd rax, dword [rsp + 0x6c]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov ecx, 0x10
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xb0]
add rdx, rcx
mov rcx, rdx
sub rax, rcx
mov qword [0x1400161a0], rax
jmp 0x14000661d
mov rax, qword [rsp + 0x248]
mov rcx, qword [0x140016198]
mov qword [rax], rcx
mov rax, qword [rsp + 0x248]
mov rcx, qword [0x1400161a0]
mov qword [rax + 8], rcx
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005dba.2285861
call fcn.140002a90
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
call fcn.140002ac0
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0x198], eax
mov eax, dword [rsp + 0x198]
mov ecx, eax
call fcn.140002ba0
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov qword [rsp + 0x258], 0
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
lea rdx, [rsp + 0x250]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140006769
lea rax, [rsp + 0x5d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdx, [rsp + 0x5d0]
mov rcx, qword [rsp + 0x250]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
call fcn.140002ab0
mov qword [rsp + 0x258], rax
lea rcx, [rsp + 0x5d0]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
nop
jmp 0x14000675a
mov rcx, qword [rsp + 0x250]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x258]
mov qword [rax], rcx
jmp case.0x140005dba.2285861
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005dba.2285861
lea rax, [rsp + 0x2c8]
mov rdi, rax
xor eax, eax
mov ecx, 0xa
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2c8]
call fcn.140002470
mov rax, qword [rsp + 0x768]
mov rdi, qword [rax + 0x18]
xor eax, eax
mov ecx, 0xa
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
lea rcx, [rsp + 0x2c8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
lea rax, [rsp + 0x2d8]
mov rdi, rax
xor eax, eax
mov ecx, 0xa
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2d8]
call fcn.140001372
mov rax, qword [rsp + 0x768]
mov rdi, qword [rax + 0x18]
xor eax, eax
mov ecx, 0xa
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
lea rcx, [rsp + 0x2d8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov rcx, qword [rax]
call fcn.140010580
mov rax, qword [rsp + 0x1d8]
cmp dword [rax + 8], 0xffffffff
jne 0x1400068b4
lea rax, [0x140011be0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140011b40]
call fcn.140002510
call fcn.140010430
nop
jmp 0x1400068e8
lea rax, [0x140011be0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140011b40]
mov rax, qword [rsp + 0x1d8]
movzx ecx, byte [rax + 8]
call fcn.1400029d0
nop
jmp case.0x140005dba.2285861
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400033e0]
call fcn.140002510
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov r9, qword [rax + 0x18]
mov rax, qword [rsp + 0x138]
mov r8, qword [rax + 0x10]
mov rax, qword [rsp + 0x138]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x138]
movzx ecx, byte [rax]
call fcn.140005720
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov dword [rsp + 0x74], 0
jmp 0x14000697f
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x100
jge 0x140006996
movzx ecx, byte [rsp + 0x74]
call fcn.140005a10
nop
jmp 0x140006975
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x310], rax
mov rax, qword [rsp + 0x310]
mov ecx, dword [rax]
call fcn.140003940
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
mov ecx, dword [rax]
call fcn.140003ab0
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
call fcn.140003b00
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movsx eax, byte [rax]
test eax, eax
je 0x140006a40
mov dword [rsp + 0xf8], 1
jmp 0x140006a4b
mov dword [rsp + 0xf8], 0
movzx eax, byte [rsp + 0xf8]
mov byte [section..data], al
movzx eax, byte [0x1400207e8]
test eax, eax
je 0x140006a7b
cmp qword [0x1400161e0], 0
je 0x140006a7b
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005dba.2285861
mov dl, 1
lea rcx, [0x140020780]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov byte [0x1400207f8], 0
lea rcx, [0x140020780]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call fcn.14000b260
cmp dword [rsp + 0x90], 0
jne 0x140006b48
movzx eax, byte [0x1400207e8]
test eax, eax
jne 0x140006b48
xor edx, edx
lea rcx, [0x14000b810]
call qword [sym.imp.ntoskrnl.exe_PsSetCreateProcessNotifyRoutineEx]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x140006aed
mov dword [rsp + 0xfc], 1
jmp 0x140006af8
mov dword [rsp + 0xfc], 0
movzx eax, byte [rsp + 0xfc]
mov byte [0x1400207e8], al
movzx eax, byte [0x1400207e8]
test eax, eax
je 0x140006b48
lea rcx, [0x14000b860]
call qword [sym.imp.ntoskrnl.exe_PsSetCreateThreadNotifyRoutine]
test eax, eax
jne 0x140006b2f
mov dword [rsp + 0xc0], 1
jmp 0x140006b3a
mov dword [rsp + 0xc0], 0
movzx eax, byte [rsp + 0xc0]
mov byte [0x1400202a5], al
movzx eax, byte [0x1400207e8]
test eax, eax
je 0x140006b60
mov dword [rsp + 0xe8], 0
jmp 0x140006b6b
mov dword [rsp + 0xe8], 0xc0000001
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140006b7f
jmp case.0x140005d80.2285648
jmp case.0x140005dba.2285861
mov dl, 1
lea rcx, [0x140020780]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx ecx, byte [0x1400207f8]
mov byte [rax], cl
movzx eax, byte [0x1400207f8]
imul rax, rax, 0x18
mov ecx, 0x18
imul rcx, rcx, 0
lea rdx, [0x140020800]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x768]
mov rdx, qword [rdx + 0x18]
inc rdx
mov rdi, rdx
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov byte [0x1400207f8], 0
lea rcx, [0x140020780]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov dl, 1
lea rcx, [0x140020780]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx ecx, byte [0x1400202b0]
mov byte [rax], cl
movzx eax, byte [0x1400202b0]
imul rax, rax, 0x18
mov ecx, 0x18
imul rcx, rcx, 0
lea rdx, [0x1400202c0]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x768]
mov rdx, qword [rdx + 0x18]
inc rdx
mov rdi, rdx
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov byte [0x1400202b0], 0
lea rcx, [0x140020780]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x260]
mov ecx, dword [rax]
call fcn.140005c10
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x320]
mov ecx, dword [rax]
call fcn.14000bb00
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
mov ecx, dword [rax]
call fcn.14000ba60
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x330], rax
cmp qword [0x140017448], 0
je 0x140006da0
mov rax, qword [rsp + 0x330]
mov eax, dword [rax]
lea rdx, [rsp + 0x268]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140006d96
mov rax, qword [0x140017448]
mov qword [rsp + 0x338], rax
mov rcx, qword [rsp + 0x268]
mov rax, qword [rsp + 0x338]
call qword [0x1400143a0]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x268]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
jmp 0x140006d9e
mov dword [rsp + 0x50], 0xc0000225
jmp 0x140006da8
mov dword [rsp + 0x50], 0xc0000002
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x340], rax
cmp qword [0x140017440], 0
je 0x140006e2d
mov rax, qword [rsp + 0x340]
mov eax, dword [rax]
lea rdx, [rsp + 0x270]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140006e23
mov rax, qword [0x140017440]
mov qword [rsp + 0x348], rax
mov rcx, qword [rsp + 0x270]
mov rax, qword [rsp + 0x348]
call qword [0x1400143a0]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
jmp 0x140006e2b
mov dword [rsp + 0x50], 0xc0000225
jmp 0x140006e35
mov dword [rsp + 0x50], 0xc0000002
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x278], rax
lea rdx, [rsp + 0x280]
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140006fa5
lea rax, [rsp + 0x6c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
nop
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x278]
xor r8d, r8d
lea rdx, [rsp + 0x1e0]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140006f56
movzx eax, byte [0x1400202a4]
test eax, eax
je 0x140006f56
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x350], rax
mov dword [rsp + 0x70], 0
jmp 0x140006f32
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x278]
cmp dword [rsp + 0x70], eax
jge 0x140006f56
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x350]
movzx edx, byte [rsp + 0x70]
mov byte [rcx + rax], dl
jmp 0x140006f28
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rax], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x1e0]
mov qword [rax], rcx
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
nop
jmp 0x140006f96
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x358]
mov eax, dword [rax]
mov dword [rsp + 0xc8], eax
movsxd rax, dword [rsp + 0xc8]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rax], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x1e8]
mov qword [rax], rcx
cmp qword [rsp + 0x1e8], 0
jne 0x140007029
mov dword [rsp + 0x50], 0xc0000001
jmp 0x140007055
movsxd rax, dword [rsp + 0xc8]
mov qword [rsp + 0x360], rax
mov rdi, qword [rsp + 0x1e8]
xor eax, eax
mov rcx, qword [rsp + 0x360]
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x368], rax
xor edx, edx
mov rax, qword [rsp + 0x368]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x50], 0xc0000001
mov rax, qword [rsp + 0x88]
cmp qword [rax], 0
je 0x14000719e
lea rdx, [rsp + 0xd0]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x14000719c
lea rax, [rsp + 0x5a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdx, [rsp + 0x5a0]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rsp + 0x88]
mov edx, dword [rax + 0x18]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14000716f
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
nop
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
nop
jmp 0x14000718d
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
jmp 0x140007206
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rsp + 0x88]
mov edx, dword [rax + 0x18]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400071e8
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
nop
jmp 0x140007206
cmp qword [rsp + 0x60], 0
je 0x140007339
mov rax, qword [rsp + 0x88]
cmp qword [rax + 8], 0
je 0x1400072eb
lea rdx, [rsp + 0xd0]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 8]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x1400072e9
lea rax, [rsp + 0x5a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdx, [rsp + 0x5a0]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
mov dl, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov rcx, qword [rsp + 0x140]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
nop
jmp 0x1400072da
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
jmp 0x140007337
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
mov dl, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov rcx, qword [rsp + 0x140]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov dword [rsp + 0x50], 0
jmp 0x140007337
jmp case.0x140005dba.2285841
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x288]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 8]
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x378], rax
lea rdx, [rsp + 0x370]
mov rax, qword [rsp + 0x188]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x1400074be
mov qword [rsp + 0x100], 0
lea rdx, [rsp + 0x630]
mov rcx, qword [rsp + 0x370]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rsp + 0x188]
mov edx, dword [rax + 0x10]
mov rax, qword [rsp + 0x188]
mov rcx, qword [rax + 8]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
je 0x140007494
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
nop
jmp 0x140007494
lea rcx, [rsp + 0x630]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
nop
mov rax, qword [rsp + 0x378]
mov rcx, qword [rsp + 0x100]
mov qword [rax], rcx
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
nop
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x380], rax
mov rax, qword [rsp + 0x380]
mov rdx, qword [rax]
lea rcx, [rsp + 0x510]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x510]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [rsp + 0x388], rax
mov rax, qword [rsp + 0x388]
mov qword [rsp + 0x390], rax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x390]
mov qword [rax], rcx
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x398], rax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x420], rax
lea rdx, [0x1400133b0]
lea rcx, [rsp + 0x520]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x520]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x14001a108], rax
cmp qword [0x14001a108], 0
je 0x14000760f
mov rax, qword [0x14001a108]
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0x398]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x3a0]
call qword [0x1400143a0]
mov rcx, qword [rsp + 0x420]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp 0x140007617
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3a8]
mov ecx, dword [rax]
call fcn.140002d90
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x3b0], rax
mov rax, qword [rsp + 0x3b0]
mov ecx, dword [rax]
call fcn.140003bf0
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rcx, qword [rax + 0x18]
call fcn.140002f10
mov dword [rsp + 0x50], eax
jmp 0x140007693
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rcx, qword [rax + 0x18]
call fcn.140003500
mov dword [rsp + 0x50], eax
jmp 0x1400076b7
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov eax, dword [rax]
mov dword [0x140020cc0], eax
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx eax, byte [rax]
mov dword [0x140020cbc], eax
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
cmp dword [rax], 0
je 0x14000776a
mov rax, qword [rsp + 0xb8]
mov r9d, dword [rax + 0x14]
mov rax, qword [rsp + 0xb8]
mov r8d, dword [rax + 0x10]
mov rax, qword [rsp + 0xb8]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rax + 4]
call fcn.1400038c0
mov dword [rsp + 0x50], eax
jmp 0x14000777e
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rax + 4]
call fcn.140003bb0
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
xor ecx, ecx
call fcn.140003b90
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0x194], eax
mov ecx, dword [rsp + 0x194]
call fcn.140003a00
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x298]
mov rax, qword [rax]
mov qword [rsp + 0x3c0], rax
mov rax, qword [rsp + 0x3c0]
mov qword [rsp + 0x3c8], rax
mov rax, qword [rsp + 0x298]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x3c8]
call qword [0x1400143a0]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x50], 0
jmp 0x14000782c
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov dword [rax], 0x1e849b
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0x1a8], eax
mov ecx, dword [rsp + 0x1a8]
rdmsr
shl rdx, 0x20
or rax, rdx
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp 0x140007896
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
mov rdx, qword [rax + 8]
mov rax, rdx
shr rdx, 0x20
mov rcx, qword [rsp + 0x2a0]
mov ecx, dword [rcx]
wrmsr
mov dword [rsp + 0x50], 0
jmp 0x1400078e0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x94], 0
jmp 0x140007916
mov eax, dword [rsp + 0x94]
inc eax
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x94], eax
jge 0x1400079a6
mov rax, qword [rsp + 0x80]
add rax, 0x18
mov rcx, qword [rsp + 0x80]
add rcx, 0xd8
mov rdx, qword [rsp + 0x80]
mov edx, dword [rdx + 0x14]
mov dword [rsp + 0x38], edx
mov rdx, qword [rsp + 0x80]
mov edx, dword [rdx + 0x10]
mov dword [rsp + 0x30], edx
mov rdx, qword [rsp + 0x80]
mov edx, dword [rdx + 0xc]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov r9d, dword [rax + 8]
mov r8, rcx
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 4]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax]
call fcn.14000d520
nop
jmp 0x140007906
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0x190], eax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rax], 0
mov rdx, qword [rsp + 0x2a8]
mov ecx, dword [rsp + 0x190]
call fcn.14000faa0
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0x180], eax
mov ecx, dword [rsp + 0x180]
call fcn.14000f2e0
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0x17c], eax
mov ecx, dword [rsp + 0x17c]
call fcn.14000f390
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
call fcn.14000f270
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
call fcn.14000f3f0
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0x178], eax
mov ecx, dword [rsp + 0x178]
call fcn.14000f440
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
call fcn.14000f590
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
call fcn.14000f6b0
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
call fcn.14000f710
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
call fcn.14000cef0
nop
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
cmp dword [rax + 0x18], 0
je 0x140007b7a
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
lea rax, [rcx + rax + 0x20]
mov rcx, qword [rsp + 0xa8]
mov ecx, dword [rcx + 0x1c]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xa8]
mov r9d, dword [rax + 0x18]
mov rax, qword [rsp + 0xa8]
mov r8d, dword [rax + 0x10]
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax]
call fcn.14000c160
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
call fcn.14000c550
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0x174], eax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x3d0], rax
mov rdx, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0x174]
call fcn.14000cb70
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x3d8], rax
mov rcx, qword [rsp + 0x3d8]
call fcn.14000c4c0
mov dword [rsp + 0x50], eax
jmp case.0x140005dba.2285861
call fcn.14000c710
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
call fcn.14000c760
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
call fcn.14000c7c0
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x3e0], rax
mov dword [rsp + 0x50], 0xc0000001
lea rdx, [rsp + 0x2b0]
mov rax, qword [rsp + 0x3e0]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140007c90
mov rcx, qword [rsp + 0x2b0]
call fcn.14000a980
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x3e8], rax
mov dword [rsp + 0x50], 0xc0000001
lea rdx, [rsp + 0x2b8]
mov rax, qword [rsp + 0x3e8]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140007cf8
mov rcx, qword [rsp + 0x2b8]
call fcn.14000a680
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0x170], eax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x3f0], rax
mov edx, dword [rsp + 0x170]
mov rcx, qword [rsp + 0x3f0]
call fcn.14000a6d0
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x28], 0
lea rax, [0x1400207f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f0003
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rax + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov qword [rsp + 0x28], 0
lea rax, [0x1400202a8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f0003
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rax], 0
jmp case.0x140005dba.2285861
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
cmp dword [rax], 0
je 0x140007e72
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 4]
mov qword [0x140020298], rax
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 0xc]
mov dword [0x140020290], eax
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 0x10]
mov qword [0x140020288], rax
call fcn.140010020
mov dword [0x140020280], eax
mov dword [0x1400202a0], 1
jmp 0x140007e70
jmp 0x140007e7c
mov dword [0x1400202a0], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x150], rax
cmp qword [0x1400161a8], 0
je 0x140007ee0
mov qword [rsp + 0x3f8], 0xfffffffffff85ee0
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8b, 1
mov edx, 6
mov rcx, qword [0x1400161a8]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140007ee0
jmp case.0x140005dba.2285861
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [0x1400161a8], rax
mov rax, qword [rsp + 0x150]
cmp qword [rax + 8], 0
je 0x140007f24
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
cmp qword [0x1400161a8], rax
je 0x140007f24
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
mov qword [0x1400161b0], rax
cmp qword [0x140016190], 0
jne 0x140008191
mov rax, qword [rsp + 0x150]
mov eax, dword [rax]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x98], 0
cmp dword [rsp + 0x68], 0
jne 0x140007f92
mov qword [rsp + 0x1f0], 0
movabs rax, 0xfffff78000000320
mov rax, qword [rax]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
cqo
mov ecx, 0xc350
idiv rcx
mov rax, rdx
add rax, 0x3e8
mov dword [rsp + 0x68], eax
mov r9d, dword [rsp + 0x68]
lea r8, [0x1400133f0]
mov edx, 0x12
lea rcx, [rsp + 0x6f0]
call fcn.140008b80
lea rdx, [rsp + 0x6f0]
lea rcx, [rsp + 0x430]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, pe_nt_image_headers64
mov word [rsp + 0x440], ax
lea rax, [rsp + 0x448]
lea rcx, [rsp + 0x430]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x458], 0
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov qword [rsp + rax + 0x4b0], rcx
mov eax, 0x20
imul rax, rax, 0
mov dword [rsp + rax + 0x4b8], 3
mov eax, 0x20
imul rax, rax, 0
lea rcx, [0x140008aa0]
mov qword [rsp + rax + 0x4c0], rcx
mov eax, 0x20
imul rax, rax, 0
lea rcx, [0x140008a90]
mov qword [rsp + rax + 0x4c8], rcx
mov eax, 0x20
imul rax, rax, 1
mov rcx, qword [sym.imp.ntoskrnl.exe_PsThreadType]
mov qword [rsp + rax + 0x4b0], rcx
mov eax, 0x20
imul rax, rax, 1
mov dword [rsp + rax + 0x4b8], 3
mov eax, 0x20
imul rax, rax, 1
lea rcx, [0x140008d70]
mov qword [rsp + rax + 0x4c0], rcx
mov eax, 0x20
imul rax, rax, 1
lea rcx, [0x140008a90]
mov qword [rsp + rax + 0x4c8], rcx
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x460], rax
mov eax, 2
mov word [rsp + 0x442], ax
lea rdx, [0x140016190]
lea rcx, [rsp + 0x440]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xc01c0011
jne 0x14000818f
cmp dword [rsp + 0x98], 0xa
jge 0x14000818f
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov r9d, dword [rsp + 0x68]
lea r8, [0x1400133f0]
mov edx, 0x12
lea rcx, [rsp + 0x6f0]
call fcn.140008b80
lea rdx, [rsp + 0x6f0]
lea rcx, [rsp + 0x430]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x448]
lea rcx, [rsp + 0x430]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x98]
inc eax
mov dword [rsp + 0x98], eax
lea rdx, [0x140016190]
lea rcx, [rsp + 0x440]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov dword [rsp + 0x50], eax
jmp 0x1400080ea
jmp 0x140008199
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x400], rax
lea rdx, [rsp + 0x660]
mov rcx, qword [rsp + 0x400]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
lea rax, [rsp + 0x428]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x570]
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationProcess]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140008218
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x578]
mov qword [rax], rcx
lea rcx, [rsp + 0x660]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
nop
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax], 0
jne 0x14000826f
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
lea rdx, [rsp + 0x1f8]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140008381
lea rdx, [rsp + 0x690]
mov rcx, qword [rsp + 0x1f8]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 8], 0
jne 0x1400082f9
lea rax, [rsp + 0xcc]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xa0]
mov r9d, dword [rax + 0x18]
xor r8d, r8d
mov rax, qword [rsp + 0xa0]
mov edx, dword [rax + 0x10]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationProcess]
cdqe
mov rcx, qword [rsp + 0x158]
mov qword [rcx], rax
jmp 0x140008346
mov rax, qword [rsp + 0x158]
add rax, 0x10
lea rcx, [rsp + 0xcc]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0xa0]
mov r9d, dword [rcx + 0x18]
mov r8, rax
mov rax, qword [rsp + 0xa0]
mov edx, dword [rax + 0x10]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationProcess]
cdqe
mov rcx, qword [rsp + 0x158]
mov qword [rcx], rax
mov eax, dword [rsp + 0xcc]
mov rcx, qword [rsp + 0x158]
mov qword [rcx + 8], rax
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x690]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
nop
mov rcx, qword [rsp + 0x1f8]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
nop
jmp 0x140008389
mov dword [rsp + 0x50], 0xc0190060
jmp 0x140008393
jmp case.0x140005dba.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x1a0], rax
cmp dword [0x1400202a0], 0
jne 0x1400083ca
mov dword [rsp + 0x50], 0xc0000184
jmp case.0x140005dba.2285861
mov qword [rsp + 0x418], 0
mov qword [rsp + 0x410], 0xffffffffffffffff
mov qword [rsp + 0x408], 0
imul rax, qword [rsp + 0x1a0], 0x1000
mov dword [rsp + 0x28], 0x24
mov dword [rsp + 0x20], 1
mov r9, rax
mov r8, qword [rsp + 0x408]
mov rdx, qword [rsp + 0x410]
mov rcx, qword [rsp + 0x418]
call qword [sym.imp.ntoskrnl.exe_MmAllocatePagesForMdlEx]
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x160], 0
je 0x140008607
xor edx, edx
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x28]
mov ecx, 0x1000
div ecx
mov eax, eax
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x160]
add rax, 0x30
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
je 0x1400085ec
mov edx, 0x10
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400085ea
mov edx, pe_nt_image_headers64
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax], 0
je 0x1400085dc
mov rax, qword [rsp + 0x58]
mov dword [rax + 8], 0
mov dword [rsp + 0x78], 0
jmp 0x1400084eb
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x78]
cmp rax, qword [rsp + 0x1a0]
jae 0x1400085a2
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x200]
mov rax, qword [rcx + rax*8]
shl rax, 0xc
mov rcx, qword [rsp + 0x58]
movsxd rcx, dword [rcx + 8]
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x58]
cmp dword [rax + 8], 0x20
jne 0x14000859d
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call fcn.14000fda0
mov dword [rsp + 0x2e8], eax
mov dword [rsp + 0x9c], 0
jmp 0x14000857e
mov eax, dword [rsp + 0x9c]
inc eax
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x9c], eax
jge 0x140008591
jmp 0x14000856e
mov rax, qword [rsp + 0x58]
mov dword [rax + 8], 0
jmp 0x1400084e1
mov rax, qword [rsp + 0x58]
cmp dword [rax + 8], 0
je 0x1400085c9
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call fcn.14000fda0
mov dword [rsp + 0x2ec], eax
xor edx, edx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop
jmp 0x1400085ea
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop
jmp 0x1400085fd
xor edx, edx
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop
mov dword [rsp + 0x50], 0
jmp case.0x140005dba.2285861
mov dword [rsp + 0x50], 0xc00000a0
mov rax, qword [rsp + 0x768]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x30], ecx
cmp qword [rsp + 0x108], 0
je 0x14000866a
cmp dword [rsp + 0x50], 0
jne 0x140008649
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x768]
mov qword [rcx + 0x38], rax
jmp 0x140008659
mov rax, qword [rsp + 0x768]
mov qword [rax + 0x38], 0
xor edx, edx
mov rcx, qword [rsp + 0x768]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
nop
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x738]
xor rcx, rsp
call fcn.140012d80
add rsp, 0x748
pop rdi
pop rsi
ret