Function at 0x180005c80
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 [0x180016030]
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 [0x180020c3c], 0
jne 0x180005cf3
mov rcx, qword [rsp + 0x768]
call fcn.180008a00
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0xc4], eax
jmp 0x180005d05
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 0x180005d62
cmp dword [rsp + 0x54], 0x22e100
je 0x180007858
mov eax, dword [rsp + 0x54]
sub eax, 0x22e000
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0xfc
ja case.0x180005d9a.2285861
mov eax, dword [rsp + 0x54]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x86fc]
mov eax, dword [rcx + rax*4 + 0x8630]
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.0x180005d9a.2285861
mov eax, dword [rsp + 0x54]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x8884]
mov eax, dword [rcx + rax*4 + 0x87fc]
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.180009ea0
movzx eax, al
test eax, eax
je 0x180005dfd
mov dword [rsp + 0xe0], 0
jmp 0x180005e08
mov dword [rsp + 0xe0], 0xc0000001
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x50], eax
jmp 0x180005e1d
jmp case.0x180005d9a.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.18000a3a0
movzx eax, al
test eax, eax
je 0x180005e87
mov dword [rsp + 0xe4], 0
jmp 0x180005e92
mov dword [rsp + 0xe4], 0xc0000001
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x50], eax
jmp 0x180005ea7
jmp case.0x180005d9a.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.18000b8c0
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 0x180005f87
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 0x180005f7b
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 0x180005f85
jmp 0x180005f93
mov rax, qword [rsp + 0x1b0]
mov byte [rax + 8], 1
cmp qword [rsp + 0x120], 0
je 0x180005fac
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.0x180005d9a.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 0x18000604b
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x1b8]
mov qword [rax], rcx
jmp case.0x180005d9a.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 0x1800060c4
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.180009880
movzx eax, al
mov dword [rsp + 0x50], eax
jmp 0x180006120
mov rax, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x2f0]
mov qword [rax], rcx
jmp case.0x180005d9a.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.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov ecx, eax
call fcn.18000a7b0
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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 0x1800061bb
mov dword [rsp + 0x50], 0xc0000001
jmp 0x180006210
mov eax, dword [rsp + 0xf4]
lea rdx, [rsp + 0x210]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x1800061fd
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 0x180006210
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rax], 0
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.180009bb0
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.2285861
lea rax, [rsp + 0x708]
lea rcx, [0x180012cc0]
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 0x18000644f
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 0x180006441
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.0x180005d9a.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 0x1800064fa
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 0x180006504
cmp dword [rsp + 0x50], 0
jne 0x180006522
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x240]
mov qword [rax], rcx
jmp case.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x248], rax
cmp qword [0x1800160d8], 0
jne 0x1800065f6
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalMemoryRanges]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x1800065f4
mov rax, qword [rsp + 0xb0]
mov qword [0x1800160d8], rax
mov dword [rsp + 0x6c], 0
jmp 0x180006589
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 0x1800065ba
movsxd rax, dword [rsp + 0x6c]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xb0]
cmp qword [rcx + rax], 0
je 0x1800065bc
jmp 0x18000657f
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 [0x1800160e0], rax
jmp 0x1800065f6
mov rax, qword [rsp + 0x248]
mov rcx, qword [0x1800160d8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x248]
mov rcx, qword [0x1800160e0]
mov qword [rax + 8], rcx
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x180005d9a.2285861
call fcn.180002a90
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
call fcn.180002ac0
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.180002ba0
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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 0x180006740
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.180002ab0
mov qword [rsp + 0x258], rax
lea rcx, [rsp + 0x5d0]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x180006732
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.0x180005d9a.2285861
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x180005d9a.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.180002470
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.0x180005d9a.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.180001372
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.0x180005d9a.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.180010490
mov rax, qword [rsp + 0x1d8]
cmp dword [rax + 8], 0xffffffff
jne 0x18000688a
lea rax, [0x180011ae0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x180011a40]
call fcn.180002510
call fcn.180010340
jmp 0x1800068bd
lea rax, [0x180011ae0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x180011a40]
mov rax, qword [rsp + 0x1d8]
movzx ecx, byte [rax + 8]
call fcn.1800029d0
jmp case.0x180005d9a.2285861
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800033e0]
call fcn.180002510
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.180005720
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
mov dword [rsp + 0x74], 0
jmp 0x180006954
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x100
jge 0x18000696a
movzx ecx, byte [rsp + 0x74]
call fcn.180005a00
jmp 0x18000694a
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.180003940
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.180003ab0
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
call fcn.180003b00
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movsx eax, byte [rax]
test eax, eax
je 0x180006a14
mov dword [rsp + 0xf8], 1
jmp 0x180006a1f
mov dword [rsp + 0xf8], 0
movzx eax, byte [rsp + 0xf8]
mov byte [section..data], al
movzx eax, byte [0x180020728]
test eax, eax
je 0x180006a4f
cmp qword [0x180016118], 0
je 0x180006a4f
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x180005d9a.2285861
mov dl, 1
lea rcx, [0x1800206c0]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov byte [0x180020738], 0
lea rcx, [0x1800206c0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call fcn.18000b1f0
cmp dword [rsp + 0x90], 0
jne 0x180006b1c
movzx eax, byte [0x180020728]
test eax, eax
jne 0x180006b1c
xor edx, edx
lea rcx, [0x18000b790]
call qword [sym.imp.ntoskrnl.exe_PsSetCreateProcessNotifyRoutineEx]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x180006ac1
mov dword [rsp + 0xfc], 1
jmp 0x180006acc
mov dword [rsp + 0xfc], 0
movzx eax, byte [rsp + 0xfc]
mov byte [0x180020728], al
movzx eax, byte [0x180020728]
test eax, eax
je 0x180006b1c
lea rcx, [0x18000b7e0]
call qword [sym.imp.ntoskrnl.exe_PsSetCreateThreadNotifyRoutine]
test eax, eax
jne 0x180006b03
mov dword [rsp + 0xc0], 1
jmp 0x180006b0e
mov dword [rsp + 0xc0], 0
movzx eax, byte [rsp + 0xc0]
mov byte [0x1800201e5], al
movzx eax, byte [0x180020728]
test eax, eax
je 0x180006b34
mov dword [rsp + 0xe8], 0
jmp 0x180006b3f
mov dword [rsp + 0xe8], 0xc0000001
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.2285861
mov dl, 1
lea rcx, [0x1800206c0]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx ecx, byte [0x180020738]
mov byte [rax], cl
movzx eax, byte [0x180020738]
imul rax, rax, 0x18
mov ecx, 0x18
imul rcx, rcx, 0
lea rdx, [0x180020740]
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 [0x180020738], 0
lea rcx, [0x1800206c0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
mov dl, 1
lea rcx, [0x1800206c0]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx ecx, byte [0x1800201f0]
mov byte [rax], cl
movzx eax, byte [0x1800201f0]
imul rax, rax, 0x18
mov ecx, 0x18
imul rcx, rcx, 0
lea rdx, [0x180020200]
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 [0x1800201f0], 0
lea rcx, [0x1800206c0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.180005bf0
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.18000ba70
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.18000b9d0
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x330], rax
cmp qword [0x180017388], 0
je 0x180006d6a
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 0x180006d60
mov rax, qword [0x180017388]
mov qword [rsp + 0x338], rax
mov rcx, qword [rsp + 0x268]
mov rax, qword [rsp + 0x338]
call qword [0x180014398]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x268]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x180006d68
mov dword [rsp + 0x50], 0xc0000225
jmp 0x180006d72
mov dword [rsp + 0x50], 0xc0000002
jmp case.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x340], rax
cmp qword [0x180017380], 0
je 0x180006df6
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 0x180006dec
mov rax, qword [0x180017380]
mov qword [rsp + 0x348], rax
mov rcx, qword [rsp + 0x270]
mov rax, qword [rsp + 0x348]
call qword [0x180014398]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x180006df4
mov dword [rsp + 0x50], 0xc0000225
jmp 0x180006dfe
mov dword [rsp + 0x50], 0xc0000002
jmp case.0x180005d9a.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 0x180006f6c
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 0x180006f1f
movzx eax, byte [0x1800201e4]
test eax, eax
je 0x180006f1f
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x350], rax
mov dword [rsp + 0x70], 0
jmp 0x180006efb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x278]
cmp dword [rsp + 0x70], eax
jge 0x180006f1f
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x350]
movzx edx, byte [rsp + 0x70]
mov byte [rcx + rax], dl
jmp 0x180006ef1
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 0x180006f5e
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp case.0x180005d9a.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 0x180006ff0
mov dword [rsp + 0x50], 0xc0000001
jmp 0x18000701c
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.0x180005d9a.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.0x180005d9a.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 0x180007163
lea rdx, [rsp + 0xd0]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x180007161
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 0x180007136
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 0x180007153
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1800071ca
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 0x1800071ac
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
jmp 0x1800071ca
cmp qword [rsp + 0x60], 0
je 0x1800072f9
mov rax, qword [rsp + 0x88]
cmp qword [rax + 8], 0
je 0x1800072ad
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 0x1800072ab
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 0x18000729d
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1800072f9
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 0x1800072f9
jmp case.0x180005d9a.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.0x180005d9a.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 0x18000747c
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 0x180007453
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
jmp 0x180007453
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.0x180005d9a.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.0x180005d9a.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.0x180005d9a.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, [0x180012cf0]
lea rcx, [rsp + 0x520]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x520]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x18001a048], rax
cmp qword [0x18001a048], 0
je 0x1800075cc
mov rax, qword [0x18001a048]
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0x398]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x3a0]
call qword [0x180014398]
mov rcx, qword [rsp + 0x420]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp 0x1800075d4
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x180005d9a.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.180002da0
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.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.180003bf0
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rcx, qword [rax + 0x18]
call fcn.180002f20
mov dword [rsp + 0x50], eax
jmp 0x180007650
jmp case.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rcx, qword [rax + 0x18]
call fcn.180003500
mov dword [rsp + 0x50], eax
jmp 0x180007674
jmp case.0x180005d9a.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 [0x180020c00], eax
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx eax, byte [rax]
mov dword [0x180020bfc], eax
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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 0x180007727
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.1800038c0
mov dword [rsp + 0x50], eax
jmp 0x18000773b
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rax + 4]
call fcn.180003bb0
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.2285861
xor ecx, ecx
call fcn.180003b90
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.180003a00
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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 [0x180014398]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x50], 0
jmp 0x1800077e9
jmp case.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov dword [rax], 0x1e849b
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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 0x180007853
jmp case.0x180005d9a.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 0x18000789d
jmp case.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x94], 0
jmp 0x1800078d3
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 0x1800078e9
jmp 0x1800078c3
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.18000d490
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.18000f9b0
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.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.18000f200
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.18000f2b0
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
call fcn.18000f190
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
call fcn.18000f310
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.18000f360
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.2285861
call fcn.18000f4a0
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.2285861
call fcn.18000f5c0
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.2285861
call fcn.18000f620
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.2285861
call fcn.18000ce60
jmp case.0x180005d9a.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.18000c0d0
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.2285861
call fcn.18000c4c0
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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.18000cae0
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x3d8], rax
mov rcx, qword [rsp + 0x3d8]
call fcn.18000c430
mov dword [rsp + 0x50], eax
jmp case.0x180005d9a.2285861
call fcn.18000c680
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
call fcn.18000c6d0
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.2285861
call fcn.18000c730
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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 0x180007c41
mov rcx, qword [rsp + 0x2b0]
call fcn.18000a910
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp case.0x180005d9a.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 0x180007ca8
mov rcx, qword [rsp + 0x2b8]
call fcn.18000a610
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.0x180005d9a.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.18000a660
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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, [0x180020730]
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, [0x1800201e8]
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.0x180005d9a.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 0x180007e22
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 4]
mov qword [0x1800201d8], rax
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 0xc]
mov dword [0x1800201d0], eax
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 0x10]
mov qword [0x1800201c8], rax
call fcn.18000ff30
mov dword [0x1800201c0], eax
mov dword [0x1800201e0], 1
jmp 0x180007e20
jmp 0x180007e2c
mov dword [0x1800201e0], 0
jmp case.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x150], rax
cmp qword [0x1800160e8], 0
je 0x180007e90
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 [0x1800160e8]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x180007e90
jmp case.0x180005d9a.2285861
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [0x1800160e8], rax
mov rax, qword [rsp + 0x150]
cmp qword [rax + 8], 0
je 0x180007ed4
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
cmp qword [0x1800160e8], rax
je 0x180007ed4
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
mov qword [0x1800160f0], rax
cmp qword [0x1800160d0], 0
jne 0x180008141
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 0x180007f42
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, [0x180012d30]
mov edx, 0x12
lea rcx, [rsp + 0x6f0]
call fcn.180008b20
lea rdx, [rsp + 0x6f0]
lea rcx, [rsp + 0x430]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, 0x100
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, [0x180008a40]
mov qword [rsp + rax + 0x4c0], rcx
mov eax, 0x20
imul rax, rax, 0
lea rcx, [0x180008a30]
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, [0x180008d10]
mov qword [rsp + rax + 0x4c0], rcx
mov eax, 0x20
imul rax, rax, 1
lea rcx, [0x180008a30]
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, [0x1800160d0]
lea rcx, [rsp + 0x440]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xc01c0011
jne 0x18000813f
cmp dword [rsp + 0x98], 0xa
jge 0x18000813f
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov r9d, dword [rsp + 0x68]
lea r8, [0x180012d30]
mov edx, 0x12
lea rcx, [rsp + 0x6f0]
call fcn.180008b20
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, [0x1800160d0]
lea rcx, [rsp + 0x440]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov dword [rsp + 0x50], eax
jmp 0x18000809a
jmp 0x180008149
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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 0x1800081c8
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.0x180005d9a.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 0x18000821e
mov dword [rsp + 0x50], 0
jmp case.0x180005d9a.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 0x18000832e
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 0x1800082a8
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 0x1800082f5
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 0x180008336
mov dword [rsp + 0x50], 0xc0190060
jmp 0x180008340
jmp case.0x180005d9a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x1a0], rax
cmp dword [0x1800201e0], 0
jne 0x180008377
mov dword [rsp + 0x50], 0xc0000184
jmp case.0x180005d9a.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 0x1800085ad
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 0x180008593
mov edx, 0x10
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x180008593
mov edx, 0x100
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 0x180008586
mov rax, qword [rsp + 0x58]
mov dword [rax + 8], 0
mov dword [rsp + 0x78], 0
jmp 0x180008498
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x78]
cmp rax, qword [rsp + 0x1a0]
jae 0x18000854f
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 0x18000854a
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call fcn.18000fcb0
mov dword [rsp + 0x2e8], eax
mov dword [rsp + 0x9c], 0
jmp 0x18000852b
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 0x18000853e
jmp 0x18000851b
mov rax, qword [rsp + 0x58]
mov dword [rax + 8], 0
jmp 0x18000848e
mov rax, qword [rsp + 0x58]
cmp dword [rax + 8], 0
je 0x180008576
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call fcn.18000fcb0
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.0x180005d9a.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 0x18000860f
cmp dword [rsp + 0x50], 0
jne 0x1800085ef
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x768]
mov qword [rcx + 0x38], rax
jmp 0x1800085ff
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.180012980
add rsp, 0x748
pop rdi
pop rsi
ret