Function at 0x453000
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fa558
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x547320]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x547320]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], cx
mov byte [esp + 0x70], cl
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], eax
and eax, 0xffffff
mov dword [esp + 0x6c], 4
push eax
lea eax, [esp + 0x18]
push eax
test ecx, ecx
jne 0x4530df
call fcn.00474850
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
lea eax, [esp + 0x30]
cmp eax, ebx
je 0x4530c5
cmp dword [esp + 0x44], 8
jb 0x4530a4
push dword [esp + 0x30]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
call fcn.0040a810
cmp dword [esp + 0x28], 8
jb 0x4530d5
push dword [esp + 0x14]
call esi
add esp, 4
mov ecx, 0x5534d0
jmp 0x45319c
cmp ecx, 1
jne 0x453141
call fcn.00474850
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
lea eax, [esp + 0x30]
cmp eax, ebx
je 0x45312a
cmp dword [esp + 0x44], 8
jb 0x453109
push dword [esp + 0x30]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
call fcn.0040a810
cmp dword [esp + 0x28], 8
jb 0x45313a
push dword [esp + 0x14]
call esi
add esp, 4
mov ecx, 0x553590
jmp 0x45319c
cmp ecx, 3
jne 0x453172
call fcn.00474850
push eax
lea ecx, [esp + 0x34]
call fcn.00428950
cmp dword [esp + 0x28], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x45316b
push dword [esp + 0x14]
call esi
add esp, 4
mov ecx, 0x553710
jmp 0x45319c
call fcn.00474850
push eax
lea ecx, [esp + 0x34]
call fcn.00428950
cmp dword [esp + 0x28], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x453197
push dword [esp + 0x14]
call esi
add esp, 4
mov ecx, 0x553650
sub esp, 0x18
push esp
call fcn.004741a0
mov ecx, dword [edi]
lea eax, [esp + 0x44]
push eax
call fcn.00453f50
mov ecx, dword [edi]
mov dword [esp + 0x10], eax
call fcn.0045e400
mov edi, dword [edi]
cmp byte [edi + 0x65c], 0
jne 0x45320a
lea ecx, [edi + 0x658]
call fcn.00484240
test al, al
jne 0x45320a
push 8
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x4531f7
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], vtable.FunctionRunable_class__lambda_a7b113c3799f30343cd6f8095b01fe7a__.0
mov dword [eax + 4], edi
jmp 0x4531f9
xor eax, eax
push eax
push 0x12c
lea ecx, [edi + 0x658]
call fcn.00484270
mov ecx, dword [esp + 0x10]
push str.redPointControl
call fcn.004cf8b0
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xe0]
cmp dword [esp + 0x44], 8
jb 0x453234
push dword [esp + 0x30]
call esi
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004f188a
mov esp, ebp
pop ebp
ret 8