Function at 0x2e62a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.0002e126
mov ebx, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 4], esi
cmp esi, edi
jne 0x2e660
mov dword [ebp + 8], 0xc0000225
jmp 0x2e8f6
mov ecx, dword [ebp + 0xc]
mov edi, dword [sym.imp.ntoskrnl.exe_ExAcquireRundownProtection]
add ecx, 0x18
call edi
movzx eax, al
mov dword [ebp - 0x24], eax
test eax, eax
je 0x2e686
mov ecx, ebx
call edi
movzx eax, al
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x2e692
mov dword [ebp + 8], 0xc0000189
jmp 0x2e8dc
mov eax, dword [esi + 8]
test eax, eax
je 0x2e6dc
shl eax, 4
push 0x524d6d73
push eax
mov dword [ebp + 8], eax
call fcn.0001fc94
mov edi, eax
test edi, edi
jne 0x2e6bc
mov dword [ebp + 8], 0xc000009a
jmp 0x2e8dc
mov eax, dword [esi + 4]
push dword [ebp + 8]
shl eax, 4
lea eax, [eax + esi + 0x18]
push eax
push edi
call sub.ntoskrnl.exe_memcpy
mov eax, dword [esi + 8]
mov dword [ebx + 0x4c], eax
add esp, 0xc
mov dword [ebx + 0x38], edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x2e71d
shl eax, 4
push 0x57526d73
push eax
mov dword [ebp + 8], eax
call fcn.0001fc94
mov edi, eax
test edi, edi
je 0x2e6b0
mov eax, dword [esi + 4]
add eax, dword [esi + 8]
push dword [ebp + 8]
shl eax, 4
lea eax, [eax + esi + 0x18]
push eax
push edi
call sub.ntoskrnl.exe_memcpy
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x50], eax
add esp, 0xc
mov dword [ebx + 0x3c], edi
mov eax, dword [esi + 4]
shl eax, 4
push 0x72506d73
push eax
call fcn.0001fc94
xor ecx, ecx
mov dword [ebp - 8], eax
cmp eax, ecx
jne 0x2e743
mov dword [ebp + 8], 0xc000009a
jmp 0x2e8ce
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], ecx
cmp dword [esi + 4], ecx
jbe 0x2e794
add esi, 0x18
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x2c0b0
movsd dword es:[edi], dword [esi]
call fcn.0002f440
test eax, eax
je 0x2e779
inc dword [ebp - 0x10]
add dword [ebp + 8], 0x10
inc dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x14], 0x10
cmp ecx, dword [eax + 4]
jb 0x2e757
mov edi, dword [ebp - 0x10]
test edi, edi
jne 0x2e7a0
mov esi, eax
mov dword [ebp + 8], 0xc000007b
jmp 0x2e8ce
push eax
call fcn.0001fcb0
and dword [ebp - 4], 0
mov eax, edi
push 0x69506d73
shl eax, 3
push eax
call fcn.0001fc94
mov esi, eax
test esi, esi
jne 0x2e7cc
mov dword [ebp + 8], 0xc000009a
jmp 0x2e8c1
xor eax, eax
test edi, edi
jbe 0x2e7e6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [esi + eax*8], edx
mov dword [esi + eax*8 + 4], eax
inc eax
add ecx, 0x10
cmp eax, edi
jb 0x2e7d5
push 0x11a64
push 8
push edi
push esi
call dword [sym.imp.ntoskrnl.exe_qsort]
add esp, 0x10
add edi, 2
mov eax, edi
push 0x6c506d73
shl eax, 3
push eax
call fcn.0001fc94
mov dword [ebp - 0x14], eax
test eax, eax
je 0x2e836
test edi, edi
jbe 0x2e821
mov dword [eax + 4], eax
mov dword [eax], eax
add eax, 8
dec edi
jne 0x2e816
push 0x54526d73
push 0x18
call fcn.0001fc94
mov edx, eax
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x2e83f
mov dword [ebp + 8], 0xc000009a
jmp 0x2e8b3
push 6
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
push 0
lea edi, [edx + 8]
push 0
push edi
mov dword [edx], eax
mov dword [edx + 4], ebx
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
push dword [ebp - 0xc]
xor eax, eax
push 0x2e560
push eax
push eax
push eax
push 0x1fffff
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov dword [ebp + 8], eax
test eax, eax
jl 0x2e8b3
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], esi
xor esi, esi
push esi
push esi
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ntoskrnl.exe_KeSetEvent]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], esi
cmp dword [ebp - 0x14], 0
je 0x2e8c1
push dword [ebp - 0x14]
call fcn.0001fcb0
test esi, esi
je 0x2e8cb
push esi
call fcn.0001fcb0
mov esi, dword [ebp - 4]
cmp dword [ebp - 8], 0
je 0x2e8dc
push dword [ebp - 8]
call fcn.0001fcb0
test esi, esi
je 0x2e8e6
push esi
call fcn.0001fcb0
cmp dword [ebp - 0xc], 0
je 0x2e8f4
push dword [ebp - 0xc]
call fcn.0001fcb0
xor edi, edi
cmp dword [ebp - 0x1c], edi
je 0x2e904
push dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov esi, dword [sym.imp.ntoskrnl.exe_ExReleaseRundownProtection]
cmp dword [ebp - 0x20], edi
je 0x2e913
mov ecx, ebx
call esi
cmp dword [ebp - 0x24], edi
je 0x2e920
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
call esi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8