Function at 0x24330
Capabilities:
Attach user process memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x28c60
push 0x28920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x50], esi
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
call fcn.000241a0
mov edi, eax
cmp edi, esi
jne 0x2439e
mov eax, 0xc0000001
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x29a7c]
cmp eax, esi
jne 0x243c1
call fcn.0001c0a0
mov eax, dword [0x29a7c]
cmp eax, esi
jne 0x243c1
mov dword [ebp - 0x1c], 0xc0000001
jmp 0x2455c
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call eax
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x2455c
mov eax, dword [0x29ab0]
cmp eax, esi
jne 0x243f9
call fcn.0001c0a0
mov eax, dword [0x29ab0]
cmp eax, esi
jne 0x243f9
mov dword [ebp - 0x1c], 0xc0000001
jmp 0x2455c
lea ecx, [ebp - 0x28]
push ecx
push edi
call eax
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x2455c
lea edx, [ebp - 0x20]
push edx
push esi
push esi
push 0x1fffff
push esi
push 0x200
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x2455c
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0001b060
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp edi, esi
jne 0x2446c
push 0x11ba4
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x38]
push eax
lea edi, [ebp - 0x2c]
mov eax, dword [ebp + 8]
call fcn.000208c0
mov edi, dword [ebp - 0x2c]
cmp edi, esi
je 0x2455c
mov dword [ebp + 8], esi
mov dword [ebp - 0x2c], 0x1000
push 0x1000
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp + 8]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0001c100
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x34], ebx
cmp eax, esi
jl 0x2455c
cmp ebx, esi
je 0x24590
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [ebp - 4], esi
push 0x1000
push esi
push ebx
call sub.ntoskrnl.exe_memset
add esp, 0xc
push 0x12148
mov esi, edi
call fcn.0001afa0
mov dword [ebx], eax
lea edi, [ebx + 0x210]
mov ecx, 0x7d
mov esi, 0x24190
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebx + 8]
mov edx, 0x104
call fcn.00023000
cmp dword [ebx], 0
jne 0x24502
mov dword [ebp - 0x1c], 0xc0000001
mov dword [ebp - 4], 0xffffffff
jmp 0x2452e
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp dword [ebp - 0x1c], 0
jl 0x2455a
lea eax, [ebp + 0xc]
push eax
push ebx
lea ecx, [ebx + 0x210]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00024c80
mov dword [ebp - 0x1c], eax
xor esi, esi
cmp ebx, esi
je 0x24590
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], esi
mov edi, dword [ebp - 0x20]
mov eax, dword [0x29a14]
cmp eax, esi
jne 0x24580
call fcn.0001c0a0
mov eax, dword [0x29a14]
cmp eax, esi
je 0x24590
push 0x8000
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp + 0xc]
push edx
push edi
call eax
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x2459e
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov ecx, dword [ebp - 0x24]
cmp ecx, esi
je 0x245ab
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov ecx, dword [ebp - 0x28]
cmp ecx, esi
je 0x245b8
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8