Function at 0x140005c70
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 [0x140016050]
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 [0x140020c5c], 0
jne 0x140005ce3
mov rcx, qword [rsp + 0x768]
call fcn.1400089f0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0xc4], eax
jmp 0x140005cf5
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 0x140005d52
cmp dword [rsp + 0x54], 0x22e100
je 0x140007848
mov eax, dword [rsp + 0x54]
sub eax, 0x22e000
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0xfc
ja case.0x140005d8a.2285861
mov eax, dword [rsp + 0x54]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x86ec]
mov eax, dword [rcx + rax*4 + 0x8620]
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.0x140005d8a.2285861
mov eax, dword [rsp + 0x54]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x8874]
mov eax, dword [rcx + rax*4 + 0x87ec]
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.140009e90
movzx eax, al
test eax, eax
je 0x140005ded
mov dword [rsp + 0xe0], 0
jmp 0x140005df8
mov dword [rsp + 0xe0], 0xc0000001
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x50], eax
jmp 0x140005e0d
jmp case.0x140005d8a.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.14000a390
movzx eax, al
test eax, eax
je 0x140005e77
mov dword [rsp + 0xe4], 0
jmp 0x140005e82
mov dword [rsp + 0xe4], 0xc0000001
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x50], eax
jmp 0x140005e97
jmp case.0x140005d8a.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.14000b8b0
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 0x140005f77
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 0x140005f6b
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 0x140005f75
jmp 0x140005f83
mov rax, qword [rsp + 0x1b0]
mov byte [rax + 8], 1
cmp qword [rsp + 0x120], 0
je 0x140005f9c
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x128]
mov qword [rax], rcx
jmp case.0x140005d8a.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 0x14000603b
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x1b8]
mov qword [rax], rcx
jmp case.0x140005d8a.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 0x1400060b4
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.140009870
movzx eax, al
mov dword [rsp + 0x50], eax
jmp 0x140006110
mov rax, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x2f0]
mov qword [rax], rcx
jmp case.0x140005d8a.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.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov ecx, eax
call fcn.14000a7a0
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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 0x1400061ab
mov dword [rsp + 0x50], 0xc0000001
jmp 0x140006200
mov eax, dword [rsp + 0xf4]
lea rdx, [rsp + 0x210]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x1400061ed
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]
jmp 0x140006200
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rax], 0
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.140009ba0
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.2285861
lea rax, [rsp + 0x708]
lea rcx, [0x140012ed0]
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]
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 0x14000643f
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 0x140006431
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]
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp case.0x140005d8a.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 0x1400064ea
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]
mov rcx, qword [rsp + 0x238]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1400064f4
cmp dword [rsp + 0x50], 0
jne 0x140006512
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x240]
mov qword [rax], rcx
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x248], rax
cmp qword [0x1400160f8], 0
jne 0x1400065e6
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalMemoryRanges]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x1400065e4
mov rax, qword [rsp + 0xb0]
mov qword [0x1400160f8], rax
mov dword [rsp + 0x6c], 0
jmp 0x140006579
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 0x1400065aa
movsxd rax, dword [rsp + 0x6c]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xb0]
cmp qword [rcx + rax], 0
je 0x1400065ac
jmp 0x14000656f
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 [0x140016100], rax
jmp 0x1400065e6
mov rax, qword [rsp + 0x248]
mov rcx, qword [0x1400160f8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x248]
mov rcx, qword [0x140016100]
mov qword [rax + 8], rcx
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.2285861
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005d8a.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.0x140005d8a.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.0x140005d8a.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.0x140005d8a.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 0x140006730
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]
jmp 0x140006722
mov rcx, qword [rsp + 0x250]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x258]
mov qword [rax], rcx
jmp case.0x140005d8a.2285861
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005d8a.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.0x140005d8a.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.0x140005d8a.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.140010480
mov rax, qword [rsp + 0x1d8]
cmp dword [rax + 8], 0xffffffff
jne 0x14000687a
lea rax, [0x140011ad0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140011a30]
call fcn.140002510
call fcn.140010330
jmp 0x1400068ad
lea rax, [0x140011ad0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140011a30]
mov rax, qword [rsp + 0x1d8]
movzx ecx, byte [rax + 8]
call fcn.1400029d0
jmp case.0x140005d8a.2285861
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400033d0]
call fcn.140002510
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.140005710
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.2285861
mov dword [rsp + 0x74], 0
jmp 0x140006944
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x100
jge 0x14000695a
movzx ecx, byte [rsp + 0x74]
call fcn.1400059f0
jmp 0x14000693a
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.140003930
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.140003aa0
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.2285861
call fcn.140003af0
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.2285861
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movsx eax, byte [rax]
test eax, eax
je 0x140006a04
mov dword [rsp + 0xf8], 1
jmp 0x140006a0f
mov dword [rsp + 0xf8], 0
movzx eax, byte [rsp + 0xf8]
mov byte [section..data], al
movzx eax, byte [0x140020748]
test eax, eax
je 0x140006a3f
cmp qword [0x140016140], 0
je 0x140006a3f
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005d8a.2285861
mov dl, 1
lea rcx, [0x1400206e0]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov byte [0x140020758], 0
lea rcx, [0x1400206e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call fcn.14000b1e0
cmp dword [rsp + 0x90], 0
jne 0x140006b0c
movzx eax, byte [0x140020748]
test eax, eax
jne 0x140006b0c
xor edx, edx
lea rcx, [0x14000b780]
call qword [sym.imp.ntoskrnl.exe_PsSetCreateProcessNotifyRoutineEx]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x140006ab1
mov dword [rsp + 0xfc], 1
jmp 0x140006abc
mov dword [rsp + 0xfc], 0
movzx eax, byte [rsp + 0xfc]
mov byte [0x140020748], al
movzx eax, byte [0x140020748]
test eax, eax
je 0x140006b0c
lea rcx, [0x14000b7d0]
call qword [sym.imp.ntoskrnl.exe_PsSetCreateThreadNotifyRoutine]
test eax, eax
jne 0x140006af3
mov dword [rsp + 0xc0], 1
jmp 0x140006afe
mov dword [rsp + 0xc0], 0
movzx eax, byte [rsp + 0xc0]
mov byte [0x140020205], al
movzx eax, byte [0x140020748]
test eax, eax
je 0x140006b24
mov dword [rsp + 0xe8], 0
jmp 0x140006b2f
mov dword [rsp + 0xe8], 0xc0000001
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.2285861
mov dl, 1
lea rcx, [0x1400206e0]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx ecx, byte [0x140020758]
mov byte [rax], cl
movzx eax, byte [0x140020758]
imul rax, rax, 0x18
mov ecx, 0x18
imul rcx, rcx, 0
lea rdx, [0x140020760]
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 [0x140020758], 0
lea rcx, [0x1400206e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.2285861
mov dl, 1
lea rcx, [0x1400206e0]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx ecx, byte [0x140020210]
mov byte [rax], cl
movzx eax, byte [0x140020210]
imul rax, rax, 0x18
mov ecx, 0x18
imul rcx, rcx, 0
lea rdx, [0x140020220]
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 [0x140020210], 0
lea rcx, [0x1400206e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.140005be0
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.14000ba60
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.14000b9c0
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x330], rax
cmp qword [0x1400173a8], 0
je 0x140006d5a
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 0x140006d50
mov rax, qword [0x1400173a8]
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]
jmp 0x140006d58
mov dword [rsp + 0x50], 0xc0000225
jmp 0x140006d62
mov dword [rsp + 0x50], 0xc0000002
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x340], rax
cmp qword [0x1400173a0], 0
je 0x140006de6
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 0x140006ddc
mov rax, qword [0x1400173a0]
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]
jmp 0x140006de4
mov dword [rsp + 0x50], 0xc0000225
jmp 0x140006dee
mov dword [rsp + 0x50], 0xc0000002
jmp case.0x140005d8a.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 0x140006f5c
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 0x140006f0f
movzx eax, byte [0x140020204]
test eax, eax
je 0x140006f0f
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x350], rax
mov dword [rsp + 0x70], 0
jmp 0x140006eeb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x278]
cmp dword [rsp + 0x70], eax
jge 0x140006f0f
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x350]
movzx edx, byte [rsp + 0x70]
mov byte [rcx + rax], dl
jmp 0x140006ee1
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]
jmp 0x140006f4e
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp case.0x140005d8a.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 0x140006fe0
mov dword [rsp + 0x50], 0xc0000001
jmp 0x14000700c
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.0x140005d8a.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.0x140005d8a.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 0x140007153
lea rdx, [rsp + 0xd0]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140007151
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 0x140007126
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]
jmp 0x140007143
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1400071ba
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 0x14000719c
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
jmp 0x1400071ba
cmp qword [rsp + 0x60], 0
je 0x1400072e9
mov rax, qword [rsp + 0x88]
cmp qword [rax + 8], 0
je 0x14000729d
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 0x14000729b
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]
jmp 0x14000728d
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1400072e9
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 0x1400072e9
jmp case.0x140005d8a.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.0x140005d8a.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 0x14000746c
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 0x140007443
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
jmp 0x140007443
lea rcx, [rsp + 0x630]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, qword [rsp + 0x378]
mov rcx, qword [rsp + 0x100]
mov qword [rax], rcx
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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]
jmp case.0x140005d8a.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.0x140005d8a.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, [0x140012f00]
lea rcx, [rsp + 0x520]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x520]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x14001a068], rax
cmp qword [0x14001a068], 0
je 0x1400075bc
mov rax, qword [0x14001a068]
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 0x1400075c4
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005d8a.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.0x140005d8a.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.140003be0
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rcx, qword [rax + 0x18]
call fcn.140002f10
mov dword [rsp + 0x50], eax
jmp 0x140007640
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rcx, qword [rax + 0x18]
call fcn.1400034f0
mov dword [rsp + 0x50], eax
jmp 0x140007664
jmp case.0x140005d8a.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 [0x140020c20], eax
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx eax, byte [rax]
mov dword [0x140020c1c], eax
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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 0x140007717
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.1400038b0
mov dword [rsp + 0x50], eax
jmp 0x14000772b
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rax + 4]
call fcn.140003ba0
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.2285861
xor ecx, ecx
call fcn.140003b80
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.1400039f0
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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 0x1400077d9
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov dword [rax], 0x1e849b
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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 0x140007843
jmp case.0x140005d8a.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 0x14000788d
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x94], 0
jmp 0x1400078c3
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 0x1400078d9
jmp 0x1400078b3
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.14000d480
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.14000f9a0
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.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.14000f1f0
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.14000f2a0
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.2285861
call fcn.14000f180
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.2285861
call fcn.14000f300
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.14000f350
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.2285861
call fcn.14000f490
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.2285861
call fcn.14000f5b0
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.2285861
call fcn.14000f610
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.2285861
call fcn.14000ce50
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
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.14000c0c0
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.2285861
call fcn.14000c4b0
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.14000cad0
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x3d8], rax
mov rcx, qword [rsp + 0x3d8]
call fcn.14000c420
mov dword [rsp + 0x50], eax
jmp case.0x140005d8a.2285861
call fcn.14000c670
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.2285861
call fcn.14000c6c0
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.2285861
call fcn.14000c720
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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 0x140007c31
mov rcx, qword [rsp + 0x2b0]
call fcn.14000a900
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp case.0x140005d8a.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 0x140007c98
mov rcx, qword [rsp + 0x2b8]
call fcn.14000a600
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]
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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.14000a650
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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, [0x140020750]
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, [0x140020208]
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.0x140005d8a.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 0x140007e12
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 4]
mov qword [0x1400201f8], rax
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 0xc]
mov dword [0x1400201f0], eax
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 0x10]
mov qword [0x1400201e8], rax
call fcn.14000ff20
mov dword [0x1400201e0], eax
mov dword [0x140020200], 1
jmp 0x140007e10
jmp 0x140007e1c
mov dword [0x140020200], 0
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x150], rax
cmp qword [0x140016108], 0
je 0x140007e80
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 [0x140016108]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140007e80
jmp case.0x140005d8a.2285861
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [0x140016108], rax
mov rax, qword [rsp + 0x150]
cmp qword [rax + 8], 0
je 0x140007ec4
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
cmp qword [0x140016108], rax
je 0x140007ec4
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
mov qword [0x140016110], rax
cmp qword [0x1400160f0], 0
jne 0x140008131
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 0x140007f32
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, [0x140012f40]
mov edx, 0x12
lea rcx, [rsp + 0x6f0]
call fcn.140008b10
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, [0x140008a30]
mov qword [rsp + rax + 0x4c0], rcx
mov eax, 0x20
imul rax, rax, 0
lea rcx, [0x140008a20]
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, [0x140008d00]
mov qword [rsp + rax + 0x4c0], rcx
mov eax, 0x20
imul rax, rax, 1
lea rcx, [0x140008a20]
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, [0x1400160f0]
lea rcx, [rsp + 0x440]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xc01c0011
jne 0x14000812f
cmp dword [rsp + 0x98], 0xa
jge 0x14000812f
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov r9d, dword [rsp + 0x68]
lea r8, [0x140012f40]
mov edx, 0x12
lea rcx, [rsp + 0x6f0]
call fcn.140008b10
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, [0x1400160f0]
lea rcx, [rsp + 0x440]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov dword [rsp + 0x50], eax
jmp 0x14000808a
jmp 0x140008139
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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 0x1400081b8
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]
jmp case.0x140005d8a.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 0x14000820e
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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 0x14000831e
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 0x140008298
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 0x1400082e5
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]
mov rcx, qword [rsp + 0x1f8]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140008326
mov dword [rsp + 0x50], 0xc0190060
jmp 0x140008330
jmp case.0x140005d8a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x1a0], rax
cmp dword [0x140020200], 0
jne 0x140008367
mov dword [rsp + 0x50], 0xc0000184
jmp case.0x140005d8a.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 0x14000859d
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 0x140008583
mov edx, 0x10
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140008583
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 0x140008576
mov rax, qword [rsp + 0x58]
mov dword [rax + 8], 0
mov dword [rsp + 0x78], 0
jmp 0x140008488
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x78]
cmp rax, qword [rsp + 0x1a0]
jae 0x14000853f
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 0x14000853a
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call fcn.14000fca0
mov dword [rsp + 0x2e8], eax
mov dword [rsp + 0x9c], 0
jmp 0x14000851b
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 0x14000852e
jmp 0x14000850b
mov rax, qword [rsp + 0x58]
mov dword [rax + 8], 0
jmp 0x14000847e
mov rax, qword [rsp + 0x58]
cmp dword [rax + 8], 0
je 0x140008566
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call fcn.14000fca0
mov dword [rsp + 0x2ec], eax
xor edx, edx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov dword [rsp + 0x50], 0
jmp case.0x140005d8a.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 0x1400085ff
cmp dword [rsp + 0x50], 0
jne 0x1400085df
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x768]
mov qword [rcx + 0x38], rax
jmp 0x1400085ef
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]
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x738]
xor rcx, rsp
call fcn.140012a60
add rsp, 0x748
pop rdi
pop rsi
ret