Function at 0x1000dee6
Capabilities:
Allocate or change rwx memory
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x760
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x760], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2dc]
push ecx
call fcn.10017a10
add esp, 0xc
mov dword [ebp - 0x2dc], 0x10007
lea edx, [ebp - 0x2dc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1000df4b
jmp 0x1000e13f
mov ecx, dword [ebp - 0x218]
sub ecx, 0x480
and ecx, 0xffffffe0
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x75c]
mov dword [ebp - 4], edx
cmp dword [ebp + 0x14], 0
je 0x1000dfbf
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x6dc]
push edx
call fcn.100176d0
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x80
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.1000e4b0
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x75c]
sub edx, eax
mov ecx, dword [ebp - 0xc]
add ecx, edx
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.1000e4e0
add esp, 0xc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.1000e330
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.1000e360
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x230]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.1000e390
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.1000e3c0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.1000e3f0
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x240]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.1000e420
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.1000e450
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.1000e480
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x75c]
sub edx, eax
mov ecx, dword [ebp - 0xc]
add ecx, edx
push ecx
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.1000dbb0
add esp, 0xc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 4
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x224], edx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 0x480
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1000e0ca
jmp 0x1000e13d
lea eax, [ebp - 0x760]
push eax
push 0x480
lea ecx, [ebp - 0x75c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000e0f1
jmp 0x1000e13b
push 0x480
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000e10a
jmp 0x1000e139
lea eax, [ebp - 0x2dc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x1000e121
jmp 0x1000e137
mov dword [ebp - 8], 1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 8]
jmp 0x1000e141
jmp 0x1000e128
jmp 0x1000e128
jmp 0x1000e128
jmp 0x1000e128
jmp 0x1000e128
mov esp, ebp
pop ebp
ret