Function at 0x100213f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019b7ff
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x102b5040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x9c]
call fcn.10016140
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
add ecx, 0xc
call fcn.10016140
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x9c]
add ecx, 0x18
call fcn.1002d070
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x9c]
add ecx, 0x30
call fcn.1002d070
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9c]
add ecx, 0x48
call fcn.1002d070
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 0x64], 0
mov edx, dword [ebp - 0x9c]
mov byte [edx + 0x68], 0
mov eax, dword [ebp - 0x9c]
mov byte [eax + 0x69], 0
mov ecx, dword [ebp - 0x9c]
mov byte [ecx + 0x6a], 0
mov edx, dword [ebp - 0x9c]
mov byte [edx + 0x6b], 0
mov eax, dword [ebp - 0x9c]
mov byte [eax + 0x6c], 0
mov ecx, dword [ebp - 0x9c]
mov byte [ecx + 0x6d], 0
mov edx, dword [ebp - 0x9c]
mov byte [edx + 0x6e], 0
mov eax, dword [ebp - 0x9c]
mov byte [eax + 0x6f], 0
mov ecx, dword [ebp - 0x9c]
add ecx, 0xf0
mov edx, dword [str.C:_dumper]
mov dword [ecx], edx
mov eax, dword [0x102a501c]
mov dword [ecx + 4], eax
mov dx, word [0x102a5020]
mov word [ecx + 8], dx
push 0xf6
push 0
mov eax, dword [ebp - 0x9c]
add eax, 0xfa
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x9c]
add ecx, 0x1f0
call fcn.1002d070
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 0x208], 0
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x20c], 0
mov eax, dword [ebp - 0x9c]
add eax, 0x210
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x9d]
call fcn.1000aa10
mov dword [ebp - 0xa4], eax
push str.Scripts
lea ecx, [ebp - 0x98]
call fcn.10016810
mov byte [ebp - 4], 6
push str.AddDebugHooks
lea ecx, [ebp - 0x80]
call fcn.10016810
mov byte [ebp - 4], 7
push str.Packets
lea ecx, [ebp - 0x68]
call fcn.10016810
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x98]
push edx
lea ecx, [ebp - 0xc8]
call fcn.1001d460
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.1002ca60
mov byte [ebp - 4], 0xa
push fcn.10016710
push 3
push 0x18
lea eax, [ebp - 0x98]
push eax
call fcn.101416ed
nop
mov ecx, dword [ebp - 0x9c]
add ecx, 0x21c
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0x9e]
call fcn.1000aa10
mov dword [ebp - 0xac], eax
push str.Lua_Executor
lea ecx, [ebp - 0x48]
call fcn.10016810
mov byte [ebp - 4], 0xb
push str.Extended_Editor
lea ecx, [ebp - 0x30]
call fcn.10016810
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xd0]
call fcn.1001d460
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0xb0]
call fcn.1002ca60
mov byte [ebp - 4], 0xe
push fcn.10016710
push 2
push 0x18
lea eax, [ebp - 0x48]
push eax
call fcn.101416ed
nop
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 0x228], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101412b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret