Function at 0x23370
Capabilities:
Attach user process memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x28c70
push 0x28920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x54], esi
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], esi
xor ebx, ebx
mov eax, dword [0x29a7c]
cmp eax, esi
jne 0x233dd
call fcn.0001c0a0
mov eax, dword [0x29a7c]
cmp eax, esi
jne 0x233dd
mov dword [ebp - 0x20], 0xc0000001
jmp 0x235a8
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call eax
mov dword [ebp - 0x20], eax
cmp eax, esi
jl 0x235a8
mov eax, dword [0x29ab0]
cmp eax, esi
jne 0x23415
call fcn.0001c0a0
mov eax, dword [0x29ab0]
cmp eax, esi
jne 0x23415
mov dword [ebp - 0x20], 0xc0000001
jmp 0x235a8
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call eax
mov dword [ebp - 0x20], eax
cmp eax, esi
jl 0x235a8
lea eax, [ebp - 0x24]
push eax
push esi
push esi
push 0x1fffff
push esi
push 0x200
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov dword [ebp - 0x20], eax
cmp eax, esi
jl 0x235a8
mov edx, dword [ebp - 0x24]
push edx
call fcn.0001b060
mov edi, eax
mov dword [ebp + 0xc], edi
cmp edi, esi
jne 0x2348b
push 0x11ba4
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea ecx, [ebp - 0x3c]
push ecx
lea edi, [ebp + 0xc]
mov eax, dword [ebp + 8]
call fcn.000208c0
mov edi, dword [ebp + 0xc]
cmp edi, esi
je 0x235a8
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], 0x2000
push 0x1000
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0001c100
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x38], ebx
cmp eax, esi
jl 0x235a8
cmp ebx, esi
je 0x235dc
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [ebp - 4], esi
push 0x2000
push 0
push ebx
call sub.ntoskrnl.exe_memset
add esp, 0xc
push 0x11bc0
mov esi, edi
call fcn.0001afa0
mov dword [ebx], eax
push 0x11bd0
call fcn.0001afa0
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x23518
push eax
lea ecx, [ebx + 0x210]
mov edx, 0x104
call fcn.00023000
lea edi, [ebx + 0x418]
mov ecx, 0xfa
mov esi, 0x23180
rep movsd dword es:[edi], dword [esi]
cmp dword [ebx], 0
je 0x23535
cmp dword [ebx + 4], 0
jne 0x2353c
mov dword [ebp - 0x20], 0xc0000001
mov dword [ebp - 4], 0xffffffff
jmp 0x23568
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp dword [ebp - 0x20], 0
jl 0x235a6
lea eax, [ebp - 0x30]
push eax
push ebx
lea ecx, [ebx + 0x418]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00024c80
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x235a6
push eax
mov ecx, 1
call fcn.0001f760
xor esi, esi
cmp ebx, esi
je 0x235dc
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], esi
mov edi, dword [ebp - 0x24]
mov eax, dword [0x29a14]
cmp eax, esi
jne 0x235cc
call fcn.0001c0a0
mov eax, dword [0x29a14]
cmp eax, esi
je 0x235dc
push 0x8000
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp + 0xc]
push edx
push edi
call eax
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x235ea
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov ecx, dword [ebp - 0x28]
cmp ecx, esi
je 0x235f7
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov ecx, dword [ebp - 0x2c]
cmp ecx, esi
je 0x23604
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc