Function at 0x1001ebc0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x100867cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x6c], eax
mov dword [esi], 0x1008d4d0
mov ecx, 7
xor edx, edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov word [esi + 4], dx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov word [esi + 0x20], ax
lea ebx, [esi + 0x40]
mov dword [esp + 0x18], ebx
lea ecx, [ebx + 4]
mov byte [esp + 0x6c], 4
mov dword [ebx], 0x1008d0a8
call fcn.100096d0
mov ecx, ebx
mov byte [esp + 0x6c], 5
mov dword [ebx + 0x20], 0
call fcn.10019cc0
lea ebx, [esi + 0x70]
mov dword [esp + 0x18], ebx
lea ecx, [ebx + 4]
mov byte [esp + 0x6c], 7
mov dword [ebx], 0x10088860
call fcn.100096d0
mov ecx, ebx
mov byte [esp + 0x6c], 8
mov dword [ebx + 0x20], 0
call fcn.10019cc0
push 9
push 0x1008d73c
lea ecx, [esi + 4]
mov byte [esp + 0x74], 9
call fcn.10002ec0
push 9
push 0x1008d73c
lea ecx, [esi + 0x20]
call fcn.10002ec0
xor ebp, ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], 5
cmp dword [esp + 0x94], ebp
je 0x1001ecec
mov edi, 0x10088860
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0xa
mov dword [esp + 0x40], edi
call fcn.100096d0
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0xb
call fcn.10019cc0
lea ecx, [esp + 0x40]
call fcn.10019c00
lea eax, [esp + 0x40]
mov byte [esp + 0x6c], 0xc
lea ebx, [ebp + 1]
jmp 0x1001ed4f
push 0x1004
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x1001ed03
mov dword [eax], ebp
mov edi, eax
jmp 0x1001ed05
xor edi, edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], 0xd
mov dword [esp + 0x1c], 0x10088860
call fcn.100096d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0xe
mov dword [esp + 0x3c], edi
call fcn.10019cc0
lea ecx, [esp + 0x1c]
call fcn.10019c00
lea eax, [esp + 0x1c]
mov dword [esp + 0x6c], 0xf
mov ebx, 2
mov edi, 0x10088860
mov edx, dword [esi + 0x70]
lea ecx, [esi + 0x70]
push eax
mov eax, dword [edx + 0x58]
mov dword [esp + 0x14], ebx
call eax
test bl, 2
je 0x1001ed9c
and ebx, 0xfffffffd
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x6c], 0x11
cmp dword [esp + 0x3c], ebp
je 0x1001ed86
lea ecx, [esp + 0x1c]
call fcn.10003a90
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0x10
call fcn.100096f0
mov dword [esp + 0x1c], 0x10088720
mov dword [esp + 0x6c], 9
test bl, 1
je 0x1001edd4
mov dword [esp + 0x40], edi
mov byte [esp + 0x6c], 0x13
cmp dword [esp + 0x60], ebp
je 0x1001edc1
lea ecx, [esp + 0x40]
call fcn.10003a90
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x12
call fcn.100096f0
mov byte [esp + 0x6c], 9
push 0x5c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
mov byte [esp + 0x6c], 0x14
cmp ebx, ebp
je 0x1001ee07
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, esi
call fcn.100043f0
mov ecx, ebx
call fcn.1001c1c0
jmp 0x1001ee09
xor eax, eax
mov edx, dword [esi + 0x40]
lea ecx, [esi + 0x40]
push eax
mov eax, dword [edx + 0x5c]
mov byte [esp + 0x70], 9
call eax
cmp dword [0x100bc218], ebp
jne 0x1001ee67
push 0x24
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebp
je 0x1001ee5a
lea ecx, [edi + 4]
mov byte [esp + 0x6c], 0x16
mov dword [edi], 0x1008d0a8
call fcn.100096d0
mov ecx, edi
mov byte [esp + 0x6c], 0x17
mov dword [edi + 0x20], ebp
call fcn.10019cc0
jmp 0x1001ee5c
xor edi, edi
mov dword [0x100bc214], edi
mov edi, 0x10088860
inc dword [0x100bc218]
mov dword [esp + 0x74], edi
mov dword [esp + 0x6c], 0x19
cmp dword [esp + 0x94], ebp
je 0x1001ee8b
lea ecx, [esp + 0x74]
call fcn.10003a90
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0x18
call fcn.100096f0
mov ecx, dword [esp + 0x64]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0x24