Function at 0x14006dd40
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push r12
push r14
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov eax, dword [0x1402c0cbc]
mov r14, rdx
mov dword [rsp + 0x40], eax
mov r8d, eax
mov qword [rsp + 0x38], rdx
mov r12, rcx
mov qword [rbp + 0xb0], rcx
mov byte [rsp + 0x30], 0
mov rcx, qword [0x1402c5110]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rax
mov ecx, 0x39
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x14006ddce
cmp eax, 0xc0000004
jne 0x14006dded
mov rcx, qword [0x1402c5110]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x40]
jmp 0x14006dd8c
mov qword [rsp + 0x48], rsi
test ebx, ebx
jns 0x14006de12
mov rcx, qword [0x1402c5110]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lfence
mov eax, ebx
jmp 0x14006f021
mov eax, dword [rsp + 0x40]
cmp eax, 0x100000
ja 0x14006de23
mov dword [0x1402c0cbc], eax
mov rcx, qword [r12]
mov rbx, rsi
mov qword [rsp + 0x50], rbx
nop
cmp qword [rsi + 0x50], rcx
je 0x14006de65
mov eax, dword [rsi]
test eax, eax
je 0x14006de46
add rsi, rax
mov qword [rsp + 0x48], rsi
jne 0x14006de30
mov rcx, qword [0x1402c5110]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, 0xc0000225
jmp 0x14006f021
mov qword ss:[rsp + 0x360], rdi
mov edx, 0x7ffe0000
mov rcx, r12
mov qword [rsp + 0x318], r13
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006deac
mov rcx, qword ds:[rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], 0
jne 0x14006deac
mov dword [rax + 0xf0], 4
cmp dword [0x1402baf40], 0x69
jb 0x14006df5f
test byte [0x1402bc3a0], 1
jne 0x14006df25
lock bts qword [0x1402bc3a0], 0x1f
jb 0x14006df0c
xor r9d, r9d
lea rdx, [rbp + 0x20]
mov ecx, 0xc5
lea r8d, [r9 + 8]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14006def5
mov rax, qword [rbp + 0x20]
mov qword [0x1402c5830], rax
lea rcx, [0x1402bc3a0]
nop dword [rax]
call sym.SystemInformer.exe_QifSetEvent
mov qword [rsp + 0x50], rbx
jmp 0x14006df25
test byte [0x1402bc3a0], 1
jne 0x14006df25
xor edx, edx
lea rcx, [0x1402bc3a0]
call sym.SystemInformer.exe_QifWaitForEvent
mov rdx, qword [0x1402c5830]
test rdx, rdx
je 0x14006df5f
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006df5f
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], 0
jne 0x14006df5f
mov dword [rax + 0xf0], 0x12
lea rax, str.EnableHeapMemoryTagging
mov qword [rsp + 0x68], 0x2e
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x70], rax
call sym.SystemInformer.exe_QiGetIntegerStringRefSetting
nop
test eax, eax
je 0x14006df8c
mov rcx, r12
call fcn.14006d980
xor r13d, r13d
mov qword [rsp + 0x310], r15
lea r8, [rbp + 0x80]
mov qword [rsp + 0x20], r13
xor edx, edx
mov rcx, r14
lea r9d, [r13 + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14006e5c6
mov rbx, qword [rbp + 0x88]
test rbx, rbx
je 0x14006e5c6
lfence
cmp dword [0x1402baf40], 0x67
lea r9d, [r13 + 5]
mov rdx, rbx
mov rcx, r12
setb r8b
call fcn.14006d910
lea rdx, [rbx + 0xe8]
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 4]
mov rcx, r14
lea r8, [rbp - 0x70]
mov r15, rbx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e1fb
mov eax, dword [rbp - 0x70]
dec eax
cmp eax, 0x3e6
ja 0x14006e1fb
lfence
mov r8d, dword [rbp - 0x70]
lea edx, [r13 + 4]
mov rcx, qword [0x1402c5110]
shl r8, 3
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea rdx, [rbx + 0xf0]
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 8]
mov rcx, r14
lea r8, [rbp - 0x40]
mov r12, rax
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
nop dword [rax + rax]
test eax, eax
js 0x14006e1e2
lfence
mov r9d, dword [rbp - 0x70]
mov r8, r12
mov rdx, qword [rbp - 0x40]
mov rcx, r14
shl r9, 3
mov qword [rsp + 0x20], r13
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e1e2
lfence
mov r14d, r13d
cmp dword [rbp - 0x70], r13d
jbe 0x14006e1dd
mov rsi, qword [rbp + 0xb0]
mov r15, qword [rsp + 0x38]
mov qword [rsp + 0x60], rbx
nop dword [rax + rax]
mov eax, r14d
mov rcx, rsi
mov rdx, qword [r12 + rax*8]
lea rdi, [r12 + rax*8]
call sym.SystemInformer.exe_QiLookupMemoryItemList
mov rbx, rax
test rax, rax
je 0x14006e1c6
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rbx, rcx
cmp dword [rbx + 0xf0], r13d
jne 0x14006e1c6
mov dword [rbx + 0xf0], 0xb
lea r8, [rbp + 0xc0]
mov dword [rbx + 0xf8], r14d
mov r9d, 0xa8
mov rdx, qword [rdi]
mov rcx, r15
mov qword [rsp + 0x20], r13
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e1c6
mov eax, dword [0x1402baf40]
cmp eax, 0x3e
jb 0x14006e18d
cmp dword [rbp + 0x158], 0xeeffeeff
jne 0x14006e150
mov eax, dword [rbp + 0x130]
jmp 0x14006e1b4
cmp dword [rbp + 0x120], 0xeeffeeff
je 0x14006e1ae
nop dword [rax]
cmp eax, 0x3f
jb 0x14006e1c6
cmp dword [rbp + 0xd0], 0xddeeddee
jne 0x14006e179
mov eax, dword [rbp + 0xd4]
jmp 0x14006e1b4
cmp dword [rbp + 0xc8], 0xddeeddee
jne 0x14006e1c6
mov eax, dword [rbp + 0xcc]
jmp 0x14006e1b4
cmp dword [rbp + 0x160], 0xeeffeeff
jne 0x14006e1a2
mov eax, dword ds:[rbp + 0x130]
jmp 0x14006e1b4
cmp dword [rbp + 0x124], 0xeeffeeff
jne 0x14006e1c6
mov eax, dword [rbp + 0x100]
and eax, 0xf000
mov byte [rbx + 0xfc], 1
mov dword [rbx + 0x100], eax
inc r14d
cmp r14d, dword [rbp - 0x70]
jb 0x14006e0c0
mov rsi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x38]
mov rcx, qword [0x1402c5110]
mov r8, r12
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r12, qword [rbp + 0xb0]
lea rdx, [r15 + 0x68]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp + 0x18]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e253
mov rdx, qword ds:[rbp + 0x18]
test rdx, rdx
je 0x14006e253
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006e253
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e253
mov dword [rax + 0xf0], 0x11
lea rdx, [r15 + 0x88]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp - 0x38]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e2b3
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x14006e2b3
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006e2b3
mov rcx, qword ds:[rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e2b3
mov dword [rax + 0xf0], 0x13
lea rdx, [r15 + 0xa0]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e313
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x14006e313
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006e313
mov rcx, qword ds:[rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e313
mov dword [rax + 0xf0], 0x14
lea rdx, [r15 + 0xf8]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp - 0x28]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e373
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x14006e373
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006e373
mov rcx, qword ds:[rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e373
mov dword [rax + 0xf0], 0x15
lea rdx, [r15 + 0x2d8]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp - 0x20]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e3d3
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14006e3d3
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006e3d3
mov rcx, qword ds:[rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e3d3
mov dword [rax + 0xf0], 0x16
lea rdx, [r15 + 0x2f8]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp - 0x18]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e43d
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x14006e43d
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006e43d
mov rcx, qword ds:[rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e43d
mov dword [rax + 0xf0], 0x17
mov dword [rax + 0xf8], 1
lea rdx, [r15 + 0x308]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp - 0x10]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
nop dword [rax]
test eax, eax
js 0x14006e4a5
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x14006e4a5
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006e4a5
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e4a5
mov dword [rax + 0xf0], 0x17
mov dword [rax + 0xf8], 2
lea rdx, ds:[r15 + 0x358]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp - 8]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e506
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x14006e506
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
nop dword [rax + rax]
test rax, rax
je 0x14006e506
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e506
mov dword [rax + 0xf0], 0x18
lea rdx, ds:[r15 + 0x90]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e566
mov rdx, qword [rbp]
test rdx, rdx
je 0x14006e566
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
nop dword [rax + rax]
test rax, rax
je 0x14006e566
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e566
mov dword [rax + 0xf0], 0x19
lea rdx, ds:[r15 + 0x7a0]
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp + 8]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e5c6
mov rdx, qword [rbp + 8]
test rdx, rdx
je 0x14006e5c6
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
nop dword [rax + rax]
test rax, rax
je 0x14006e5c6
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e5c6
mov dword [rax + 0xf0], 0x1a
mov r9d, 8
mov qword [rsp + 0x20], r13
lea r8, [rbp + 0x10]
mov rcx, r14
lea edx, [r9 + 0x12]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14006eb14
mov rdi, qword [rbp + 0x10]
test rdi, rdi
je 0x14006eb14
lfence
mov rdx, rdi
mov byte [rsp + 0x30], 1
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006e634
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e634
mov dword [rax + 0xf0], 6
mov rbx, qword [rsp + 0x38]
lea rdx, [rdi + 0x88]
mov rcx, rbx
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp - 0x70]
mov r14, rdi
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
nop dword [rax + rax]
test eax, eax
js 0x14006e74a
cmp dword [rbp - 0x70], 0x3e8
jae 0x14006e74a
lfence
mov r8d, dword [rbp - 0x70]
mov edx, 4
mov rcx, qword [0x1402c5110]
shl r8, 2
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea rdx, [rdi + 0x90]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp - 0x6c]
mov rcx, rbx
mov r15, rax
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e738
lfence
mov r9d, dword [rbp - 0x70]
mov r8, r15
mov edx, dword [rbp - 0x6c]
mov rcx, rbx
shl r9, 2
mov qword [rsp + 0x20], r13
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e738
lfence
mov ebx, r13d
cmp dword [rbp - 0x70], ebx
jbe 0x14006e733
nop word [rax + rax]
mov eax, ebx
mov rcx, r12
mov edx, dword [r15 + rax*4]
call sym.SystemInformer.exe_QiLookupMemoryItemList
nop
test rax, rax
je 0x14006e72c
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e72c
mov dword [rax + 0xf0], 0xc
mov dword [rax + 0xf8], ebx
inc ebx
cmp ebx, dword [rbp - 0x70]
jb 0x14006e6f0
mov rbx, qword [rsp + 0x38]
mov rcx, qword [0x1402c5110]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rdx, [r14 + 0x38]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e7a6
mov eax, dword [rbp - 0x68]
test eax, eax
je 0x14006e7a6
mov edx, eax
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
nop dword [rax + rax]
test rax, rax
je 0x14006e7a6
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e7a6
mov dword [rax + 0xf0], 0x11
lea rdx, ds:[r14 + 0x4c]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp - 0x64]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e806
mov eax, dword [rbp - 0x64]
test eax, eax
je 0x14006e806
mov edx, eax
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
nop dword [rax + rax]
test rax, rax
je 0x14006e806
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e806
mov dword [rax + 0xf0], 0x13
lea rdx, ds:[r14 + 0x58]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e866
mov eax, dword [rbp - 0x60]
test eax, eax
je 0x14006e866
mov edx, eax
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
nop dword [rax + rax]
test rax, rax
je 0x14006e866
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e866
mov dword [rax + 0xf0], 0x14
lea rdx, ds:[r14 + 0x94]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp - 0x5c]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e8c6
mov eax, dword [rbp - 0x5c]
test eax, eax
je 0x14006e8c6
mov edx, eax
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
nop dword [rax + rax]
test rax, rax
je 0x14006e8c6
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e8c6
mov dword [rax + 0xf0], 0x15
lea rdx, ds:[r14 + 0x1e8]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e926
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x14006e926
mov edx, eax
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
nop dword [rax + rax]
test rax, rax
je 0x14006e926
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e926
mov dword [rax + 0xf0], 0x16
lea rdx, ds:[r14 + 0x1f8]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp - 0x54]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e990
mov eax, dword [rbp - 0x54]
test eax, eax
je 0x14006e990
mov edx, eax
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
nop dword [rax + rax]
test rax, rax
je 0x14006e990
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e990
mov dword [rax + 0xf0], 0x17
mov dword [rax + 0xf8], 1
lea rdx, [r14 + 0x200]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006e9fd
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x14006e9fd
mov edx, eax
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006e9fd
mov rcx, qword ds:[rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006e9fd
mov dword [rax + 0xf0], 0x17
mov dword [rax + 0xf8], 2
lea rdx, [r14 + 0x230]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp - 0x4c]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
nop dword [rax]
test eax, eax
js 0x14006ea5b
mov eax, dword [rbp - 0x4c]
test eax, eax
je 0x14006ea5b
mov edx, eax
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006ea5b
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006ea5b
mov dword [rax + 0xf0], 0x18
lea rdx, [r14 + 0x50]
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp - 0x48]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006eab4
mov eax, dword ds:[rbp - 0x48]
test eax, eax
je 0x14006eab4
mov edx, eax
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006eab4
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006eab4
mov dword [rax + 0xf0], 0x19
lea rdx, [r14 + 0x45c]
mov qword [rsp + 0x20], r13
mov r14, qword [rsp + 0x38]
lea r8, [rbp - 0x44]
mov rcx, r14
mov r9d, 4
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006eb14
mov eax, dword ds:[rbp - 0x44]
test eax, eax
je 0x14006eb14
mov edx, eax
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006eb14
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rax, rcx
cmp dword [rax + 0xf0], r13d
jne 0x14006eb14
mov dword [rax + 0xf0], 0x1a
mov edi, r13d
movzx r15d, byte [rsp + 0x30]
cmp dword [rsi + 4], r13d
jbe 0x14006ecd1
nop word [rax + rax]
mov eax, edi
imul rbx, rax, 0x88
add rbx, rsi
mov rdx, qword [rbx + 0x168]
test rdx, rdx
je 0x14006ecc6
cmp dword [0x1402baf40], 0x67
mov rcx, r12
setb r14b
call sym.SystemInformer.exe_QiLookupMemoryItemList
mov rdx, rax
test rax, rax
je 0x14006eba1
test r14b, r14b
je 0x14006eb7a
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rdx, rcx
nop word [rax + rax]
cmp dword [rdx + 0xf0], r13d
jne 0x14006eba1
mov dword [rdx + 0xf0], 7
mov rax, qword [rbx + 0x130]
mov qword [rdx + 0xf8], rax
mov r14, qword [rsp + 0x38]
lea rax, [rbp + 0xb0]
mov rdx, qword [rbx + 0x168]
lea r8, [rbp + 0x48]
mov rcx, r14
mov qword [rsp + 0x20], rax
mov r9d, 0x38
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006ecc6
cmp qword ds:[rbp + 0xb0], 0x38
jne 0x14006ecc6
mov rdx, qword [rbp + 0x58]
cmp rdx, qword [rbp + 0x50]
jae 0x14006ec34
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
mov rdx, rax
test rax, rax
je 0x14006ec34
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rdx, rcx
cmp dword [rdx + 0xf0], r13d
jne 0x14006ec34
mov dword [rdx + 0xf0], 9
mov rax, qword [rbx + 0x130]
mov qword [rdx + 0xf8], rax
test r15b, r15b
je 0x14006ecc6
nop dword [rax]
cmp qword [rbp + 0x48], r13
je 0x14006ecc6
lfence
mov edx, dword [rbp + 0x48]
lea rax, [rbp + 0xb0]
mov r9d, 0x1c
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x28]
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006ecc6
cmp qword [rbp + 0xb0], 0x1c
jne 0x14006ecc6
mov eax, dword [rbp + 0x30]
cmp eax, dword [rbp + 0x2c]
jae 0x14006ecc6
mov edx, eax
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
mov rdx, rax
test rax, rax
je 0x14006ecc6
mov rcx, qword [rax + 0xa0]
test rcx, rcx
cmovne rdx, rcx
cmp dword [rdx + 0xf0], r13d
jne 0x14006ecc6
mov dword [rdx + 0xf0], 0xa
mov rax, qword [rbx + 0x130]
mov qword [rdx + 0xf8], rax
inc edi
cmp edi, dword [rsi + 4]
jb 0x14006eb30
mov rbx, qword ds:[r12 + 0x38]
lea rsi, [r12 + 0x38]
cmp rbx, rsi
je 0x14006ef17
nop dword [rax]
cmp dword [rbx + 0xf0], r13d
jne 0x14006ef0b
mov eax, dword [rbx + 0x58]
test eax, 0x1040000
je 0x14006edcd
cmp qword [rbx + 0xa0], rbx
jne 0x14006edcd
bt eax, 0x18
jae 0x14006ed5f
mov rdx, qword ds:[rbx + 0x30]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], r13
mov r8d, 6
mov rcx, r14
mov qword [rsp + 0x20], 0x18
call qword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
test eax, eax
js 0x14006ed5f
mov eax, dword [rbp - 0x78]
shr eax, 2
and al, 0xf
mov byte [rbx + 0x100], 1
mov byte [rbx + 0x101], al
mov rdx, qword [rbx + 0x30]
lea r8, [rsp + 0x48]
mov rcx, r14
call sym.SystemInformer.exe_QiGetProcessMappedFileName
test eax, eax
js 0x14006edcd
mov rdi, qword ds:[rsp + 0x48]
mov rcx, rdi
call sym.SystemInformer.exe_QiResolveDevicePrefix
test rax, rax
je 0x14006edb7
mov rcx, rdi
mov qword [rsp + 0x48], rax
mov rdi, rax
test rcx, rcx
je 0x14006edb7
add rcx, 0xfffffffffffffff0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006edb2
call fcn.14013fb00
mov rdi, qword [rsp + 0x48]
mov dword [rbx + 0xf0], 3
mov qword [rbx + 0xf8], rdi
jmp 0x14006ef0b
test dword [rbx + 0x50], 0x1000
je 0x14006eeb1
movzx eax, byte ds:[rbx + 0x60]
test al, 1
je 0x14006eeb1
test al, 2
jne 0x14006eeb1
mov rdx, qword [rbx + 0x30]
lea r8, [rbp + 0x190]
mov r9d, 0x70
mov qword [rsp + 0x20], r13
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006eeb1
cmp dword [rbp + 0x1a0], 0xffeeffee
mov rdi, r13
mov eax, r13d
cmove rdi, qword [rbp + 0x1b8]
cmp dword [rbp + 0x198], 0xffeeffee
cmove eax, dword [rbp + 0x1a8]
test rdi, rdi
je 0x14006ee7a
mov rdx, rdi
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006eeb1
cmp qword [rax + 0x30], rdi
jne 0x14006eeb1
cmp dword [rax + 0xf0], 0xb
jne 0x14006eeb1
mov dword [rbx + 0xf0], 0xd
mov qword [rbx + 0xf8], rax
jmp 0x14006ef0b
test eax, eax
je 0x14006eeb1
mov edx, eax
mov rcx, r12
mov edi, eax
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006eeb1
cmp qword [rax + 0x30], rdi
jne 0x14006eeb1
cmp dword [rax + 0xf0], 0xc
jne 0x14006eeb1
mov dword [rbx + 0xf0], 0xe
mov qword [rbx + 0xf8], rax
jmp 0x14006ef0b
test dword [rbx + 0x58], 0x40000
je 0x14006ef0b
cmp dword ds:[rbx + 0x40], 2
jne 0x14006ef0b
cmp qword [rbx + 0xa0], rbx
jne 0x14006ef0b
mov rdx, qword [rbx + 0x30]
lea r8, [rbp + 0x170]
mov r9d, 0x20
mov qword [rsp + 0x20], r13
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14006ef0b
cmp dword [rbp + 0x170], 0x78746341
jne 0x14006ef0b
mov dword [rbx + 0xf0], 0x17
mov dword [rbx + 0xf8], r13d
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x14006ecf0
lea rdx, ds:[rsp + 0x58]
mov rcx, r14
call fcn.14016c080
mov rdi, qword [rsp + 0x360]
test eax, eax
js 0x14006effb
mov rbx, qword [rsp + 0x58]
mov ecx, dword [rbx]
lea rax, [rbx + 0xd0]
add rcx, rbx
cmp rax, rcx
ja 0x14006ef99
mov rdx, qword [rbx + 0xb8]
mov r13, qword [rbx + 0xc8]
test rdx, rdx
je 0x14006ef99
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006ef99
mov r8, rax
mov rcx, rax
cmp qword [rax + 0xa0], rax
jne 0x14006ef99
nop word [rax + rax]
mov dword [rcx + 0xf0], 0xf
mov r8, qword [r8]
mov rcx, r8
cmp qword [r8 + 0xa0], rax
je 0x14006ef80
test r15b, r15b
je 0x14006efe9
nop
test r13, r13
je 0x14006efe9
mov rdx, r13
mov rcx, r12
call sym.SystemInformer.exe_QiLookupMemoryItemList
test rax, rax
je 0x14006efe9
mov rcx, rax
mov rdx, rax
cmp qword [rax + 0xa0], rax
jne 0x14006efe9
nop dword [rax]
mov dword [rdx + 0xf0], 0x10
mov rcx, qword [rcx]
mov rdx, rcx
cmp qword [rcx + 0xa0], rax
je 0x14006efd0
mov rcx, qword [0x1402c5110]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [0x1402c5110]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r15, qword [rsp + 0x310]
xor eax, eax
mov r13, qword [rsp + 0x318]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x320
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret