Function at 0x1400058f0
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 [0x1400160d0]
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 [0x14002007c], 0
jne 0x140005963
mov rcx, qword [rsp + 0x768]
call fcn.140008670
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0xc4], eax
jmp 0x140005975
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 0x1400059d2
cmp dword [rsp + 0x54], 0x22e100
je 0x1400074c8
mov eax, dword [rsp + 0x54]
sub eax, 0x22e000
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0xfc
ja case.0x140005a0a.2285861
mov eax, dword [rsp + 0x54]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x836c]
mov eax, dword [rcx + rax*4 + 0x82a0]
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.0x140005a0a.2285861
mov eax, dword [rsp + 0x54]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x84f4]
mov eax, dword [rcx + rax*4 + 0x846c]
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.140009b10
movzx eax, al
test eax, eax
je 0x140005a6d
mov dword [rsp + 0xe0], 0
jmp 0x140005a78
mov dword [rsp + 0xe0], 0xc0000001
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x50], eax
jmp 0x140005a8d
jmp case.0x140005a0a.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.14000a010
movzx eax, al
test eax, eax
je 0x140005af7
mov dword [rsp + 0xe4], 0
jmp 0x140005b02
mov dword [rsp + 0xe4], 0xc0000001
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x50], eax
jmp 0x140005b17
jmp case.0x140005a0a.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.14000b530
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 0x140005bf7
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 0x140005beb
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 0x140005bf5
jmp 0x140005c03
mov rax, qword [rsp + 0x1b0]
mov byte [rax + 8], 1
cmp qword [rsp + 0x120], 0
je 0x140005c1c
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.0x140005a0a.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 0x140005cbb
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x1b8]
mov qword [rax], rcx
jmp case.0x140005a0a.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 0x140005d34
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.1400094f0
movzx eax, al
mov dword [rsp + 0x50], eax
jmp 0x140005d90
mov rax, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x2f0]
mov qword [rax], rcx
jmp case.0x140005a0a.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.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov ecx, eax
call fcn.14000a420
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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 0x140005e2b
mov dword [rsp + 0x50], 0xc0000001
jmp 0x140005e80
mov eax, dword [rsp + 0xf4]
lea rdx, [rsp + 0x210]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140005e6d
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 0x140005e80
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rax], 0
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.140009820
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.2285861
lea rax, [rsp + 0x708]
lea rcx, [0x140013090]
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 0x1400060bf
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 0x1400060b1
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.0x140005a0a.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 0x14000616a
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 0x140006174
cmp dword [rsp + 0x50], 0
jne 0x140006192
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x240]
mov qword [rax], rcx
jmp case.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x248], rax
cmp qword [0x140016178], 0
jne 0x140006266
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalMemoryRanges]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x140006264
mov rax, qword [rsp + 0xb0]
mov qword [0x140016178], rax
mov dword [rsp + 0x6c], 0
jmp 0x1400061f9
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 0x14000622a
movsxd rax, dword [rsp + 0x6c]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xb0]
cmp qword [rcx + rax], 0
je 0x14000622c
jmp 0x1400061ef
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 [0x140016180], rax
jmp 0x140006266
mov rax, qword [rsp + 0x248]
mov rcx, qword [0x140016178]
mov qword [rax], rcx
mov rax, qword [rsp + 0x248]
mov rcx, qword [0x140016180]
mov qword [rax + 8], rcx
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005a0a.2285861
call fcn.140002740
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
call fcn.140002770
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.140002850
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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 0x1400063b0
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.140002760
mov qword [rsp + 0x258], rax
lea rcx, [rsp + 0x5d0]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x1400063a2
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.0x140005a0a.2285861
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005a0a.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.140002120
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.0x140005a0a.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.140001022
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.0x140005a0a.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.1400100e0
mov rax, qword [rsp + 0x1d8]
cmp dword [rax + 8], 0xffffffff
jne 0x1400064fa
lea rax, [0x140011730]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140011690]
call fcn.1400021c0
call fcn.14000ff90
jmp 0x14000652d
lea rax, [0x140011730]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140011690]
mov rax, qword [rsp + 0x1d8]
movzx ecx, byte [rax + 8]
call fcn.140002680
jmp case.0x140005a0a.2285861
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140003050]
call fcn.1400021c0
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.140005390
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
mov dword [rsp + 0x74], 0
jmp 0x1400065c4
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x100
jge 0x1400065da
movzx ecx, byte [rsp + 0x74]
call fcn.140005670
jmp 0x1400065ba
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.1400035b0
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.140003720
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
call fcn.140003770
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movsx eax, byte [rax]
test eax, eax
je 0x140006684
mov dword [rsp + 0xf8], 1
jmp 0x14000668f
mov dword [rsp + 0xf8], 0
movzx eax, byte [rsp + 0xf8]
mov byte [section..data], al
movzx eax, byte [0x14001fb68]
test eax, eax
je 0x1400066bf
cmp qword [0x1400161c0], 0
je 0x1400066bf
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005a0a.2285861
mov dl, 1
lea rcx, [0x14001fb00]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov byte [0x14001fb78], 0
lea rcx, [0x14001fb00]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call fcn.14000ae60
cmp dword [rsp + 0x90], 0
jne 0x14000678c
movzx eax, byte [0x14001fb68]
test eax, eax
jne 0x14000678c
xor edx, edx
lea rcx, [0x14000b400]
call qword [sym.imp.ntoskrnl.exe_PsSetCreateProcessNotifyRoutineEx]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x140006731
mov dword [rsp + 0xfc], 1
jmp 0x14000673c
mov dword [rsp + 0xfc], 0
movzx eax, byte [rsp + 0xfc]
mov byte [0x14001fb68], al
movzx eax, byte [0x14001fb68]
test eax, eax
je 0x14000678c
lea rcx, [0x14000b450]
call qword [sym.imp.ntoskrnl.exe_PsSetCreateThreadNotifyRoutine]
test eax, eax
jne 0x140006773
mov dword [rsp + 0xc0], 1
jmp 0x14000677e
mov dword [rsp + 0xc0], 0
movzx eax, byte [rsp + 0xc0]
mov byte [0x14001f625], al
movzx eax, byte [0x14001fb68]
test eax, eax
je 0x1400067a4
mov dword [rsp + 0xe8], 0
jmp 0x1400067af
mov dword [rsp + 0xe8], 0xc0000001
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.2285861
mov dl, 1
lea rcx, [0x14001fb00]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx ecx, byte [0x14001fb78]
mov byte [rax], cl
movzx eax, byte [0x14001fb78]
imul rax, rax, 0x18
mov ecx, 0x18
imul rcx, rcx, 0
lea rdx, [0x14001fb80]
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 [0x14001fb78], 0
lea rcx, [0x14001fb00]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
mov dl, 1
lea rcx, [0x14001fb00]
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx ecx, byte [0x14001f630]
mov byte [rax], cl
movzx eax, byte [0x14001f630]
imul rax, rax, 0x18
mov ecx, 0x18
imul rcx, rcx, 0
lea rdx, [0x14001f640]
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 [0x14001f630], 0
lea rcx, [0x14001fb00]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.140005860
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.14000b6e0
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.14000b640
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x330], rax
cmp qword [0x1400167c8], 0
je 0x1400069da
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 0x1400069d0
mov rax, qword [0x1400167c8]
mov qword [rsp + 0x338], rax
mov rcx, qword [rsp + 0x268]
mov rax, qword [rsp + 0x338]
call qword [0x1400143c0]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x268]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1400069d8
mov dword [rsp + 0x50], 0xc0000225
jmp 0x1400069e2
mov dword [rsp + 0x50], 0xc0000002
jmp case.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x340], rax
cmp qword [0x1400167c0], 0
je 0x140006a66
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 0x140006a5c
mov rax, qword [0x1400167c0]
mov qword [rsp + 0x348], rax
mov rcx, qword [rsp + 0x270]
mov rax, qword [rsp + 0x348]
call qword [0x1400143c0]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140006a64
mov dword [rsp + 0x50], 0xc0000225
jmp 0x140006a6e
mov dword [rsp + 0x50], 0xc0000002
jmp case.0x140005a0a.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 0x140006bdc
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 0x140006b8f
movzx eax, byte [0x14001f624]
test eax, eax
je 0x140006b8f
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x350], rax
mov dword [rsp + 0x70], 0
jmp 0x140006b6b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x278]
cmp dword [rsp + 0x70], eax
jge 0x140006b8f
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x350]
movzx edx, byte [rsp + 0x70]
mov byte [rcx + rax], dl
jmp 0x140006b61
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 0x140006bce
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp case.0x140005a0a.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 0x140006c60
mov dword [rsp + 0x50], 0xc0000001
jmp 0x140006c8c
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.0x140005a0a.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.0x140005a0a.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 0x140006dd3
lea rdx, [rsp + 0xd0]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140006dd1
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 0x140006da6
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 0x140006dc3
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140006e3a
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 0x140006e1c
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
jmp 0x140006e3a
cmp qword [rsp + 0x60], 0
je 0x140006f69
mov rax, qword [rsp + 0x88]
cmp qword [rax + 8], 0
je 0x140006f1d
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 0x140006f1b
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 0x140006f0d
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140006f69
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 0x140006f69
jmp case.0x140005a0a.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.0x140005a0a.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 0x1400070ec
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 0x1400070c3
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
jmp 0x1400070c3
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.0x140005a0a.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.0x140005a0a.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.0x140005a0a.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, [0x1400130c0]
lea rcx, [rsp + 0x520]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x520]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x140019488], rax
cmp qword [0x140019488], 0
je 0x14000723c
mov rax, qword [0x140019488]
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0x398]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x3a0]
call qword [0x1400143c0]
mov rcx, qword [rsp + 0x420]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp 0x140007244
mov dword [rsp + 0x50], 0xc0000001
jmp case.0x140005a0a.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.140002a10
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.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.140003860
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rcx, qword [rax + 0x18]
call fcn.140002b90
mov dword [rsp + 0x50], eax
jmp 0x1400072c0
jmp case.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rcx, qword [rax + 0x18]
call fcn.140003170
mov dword [rsp + 0x50], eax
jmp 0x1400072e4
jmp case.0x140005a0a.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 [0x140020040], eax
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
movzx eax, byte [rax]
mov dword [0x14002003c], eax
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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 0x140007397
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.140003530
mov dword [rsp + 0x50], eax
jmp 0x1400073ab
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rax + 4]
call fcn.140003820
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.2285861
xor ecx, ecx
call fcn.140003800
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.140003670
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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 [0x1400143c0]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x50], 0
jmp 0x140007459
jmp case.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov dword [rax], 0x1e849b
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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 0x1400074c3
jmp case.0x140005a0a.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 0x14000750d
jmp case.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x94], 0
jmp 0x140007543
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 0x140007559
jmp 0x140007533
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.14000d100
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.14000f620
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.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.14000ee70
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.14000ef20
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
call fcn.14000ee00
mov rcx, qword [rsp + 0x768]
mov rcx, qword [rcx + 0x18]
mov qword [rcx], rax
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
call fcn.14000ef80
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.14000efd0
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.2285861
call fcn.14000f110
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.2285861
call fcn.14000f230
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.2285861
call fcn.14000f290
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.2285861
call fcn.14000cad0
jmp case.0x140005a0a.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.14000bd40
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.2285861
call fcn.14000c130
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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.14000c750
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x3d8], rax
mov rcx, qword [rsp + 0x3d8]
call fcn.14000c0a0
mov dword [rsp + 0x50], eax
jmp case.0x140005a0a.2285861
call fcn.14000c2f0
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
call fcn.14000c340
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.2285861
call fcn.14000c3a0
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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 0x1400078b1
mov rcx, qword [rsp + 0x2b0]
call fcn.14000a580
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp case.0x140005a0a.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 0x140007918
mov rcx, qword [rsp + 0x2b8]
call fcn.14000a280
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.0x140005a0a.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.14000a2d0
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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, [0x14001fb70]
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, [0x14001f628]
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.0x140005a0a.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 0x140007a92
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 4]
mov qword [0x14001f618], rax
mov rax, qword [rsp + 0x148]
mov eax, dword [rax + 0xc]
mov dword [0x14001f610], eax
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 0x10]
mov qword [0x14001f608], rax
call fcn.14000fba0
mov dword [0x14001f600], eax
mov dword [0x14001f620], 1
jmp 0x140007a90
jmp 0x140007a9c
mov dword [0x14001f620], 0
jmp case.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x150], rax
cmp qword [0x140016188], 0
je 0x140007b00
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 [0x140016188]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140007b00
jmp case.0x140005a0a.2285861
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [0x140016188], rax
mov rax, qword [rsp + 0x150]
cmp qword [rax + 8], 0
je 0x140007b44
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
cmp qword [0x140016188], rax
je 0x140007b44
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
mov qword [0x140016190], rax
cmp qword [0x140016170], 0
jne 0x140007db1
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 0x140007bb2
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, [0x140013100]
mov edx, 0x12
lea rcx, [rsp + 0x6f0]
call fcn.140008790
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, [0x1400086b0]
mov qword [rsp + rax + 0x4c0], rcx
mov eax, 0x20
imul rax, rax, 0
lea rcx, [0x1400086a0]
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, [0x140008980]
mov qword [rsp + rax + 0x4c0], rcx
mov eax, 0x20
imul rax, rax, 1
lea rcx, [0x1400086a0]
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, [0x140016170]
lea rcx, [rsp + 0x440]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xc01c0011
jne 0x140007daf
cmp dword [rsp + 0x98], 0xa
jge 0x140007daf
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov r9d, dword [rsp + 0x68]
lea r8, [0x140013100]
mov edx, 0x12
lea rcx, [rsp + 0x6f0]
call fcn.140008790
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, [0x140016170]
lea rcx, [rsp + 0x440]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov dword [rsp + 0x50], eax
jmp 0x140007d0a
jmp 0x140007db9
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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 0x140007e38
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.0x140005a0a.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 0x140007e8e
mov dword [rsp + 0x50], 0
jmp case.0x140005a0a.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 0x140007f9e
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 0x140007f18
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 0x140007f65
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 0x140007fa6
mov dword [rsp + 0x50], 0xc0190060
jmp 0x140007fb0
jmp case.0x140005a0a.2285861
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x1a0], rax
cmp dword [0x14001f620], 0
jne 0x140007fe7
mov dword [rsp + 0x50], 0xc0000184
jmp case.0x140005a0a.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 0x14000821d
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 0x140008203
mov edx, 0x10
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140008203
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 0x1400081f6
mov rax, qword [rsp + 0x58]
mov dword [rax + 8], 0
mov dword [rsp + 0x78], 0
jmp 0x140008108
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x78]
cmp rax, qword [rsp + 0x1a0]
jae 0x1400081bf
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 0x1400081ba
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call fcn.14000f920
mov dword [rsp + 0x2e8], eax
mov dword [rsp + 0x9c], 0
jmp 0x14000819b
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 0x1400081ae
jmp 0x14000818b
mov rax, qword [rsp + 0x58]
mov dword [rax + 8], 0
jmp 0x1400080fe
mov rax, qword [rsp + 0x58]
cmp dword [rax + 8], 0
je 0x1400081e6
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call fcn.14000f920
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.0x140005a0a.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 0x14000827f
cmp dword [rsp + 0x50], 0
jne 0x14000825f
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x768]
mov qword [rcx + 0x38], rax
jmp 0x14000826f
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.1400126c0
add rsp, 0x748
pop rdi
pop rsi
ret