Function at 0x44c490
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f5fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x540320]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x540320]
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 0x44c56f
call fcn.004779d0
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
lea eax, [esp + 0x30]
cmp eax, ebx
je 0x44c555
cmp dword [esp + 0x44], 8
jb 0x44c534
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.0040d700
cmp dword [esp + 0x28], 8
jb 0x44c565
push dword [esp + 0x14]
call esi
add esp, 4
mov ecx, 0x54cf10
jmp 0x44c62c
cmp ecx, 1
jne 0x44c5d1
call fcn.004779d0
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
lea eax, [esp + 0x30]
cmp eax, ebx
je 0x44c5ba
cmp dword [esp + 0x44], 8
jb 0x44c599
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.0040d700
cmp dword [esp + 0x28], 8
jb 0x44c5ca
push dword [esp + 0x14]
call esi
add esp, 4
mov ecx, 0x54cfd0
jmp 0x44c62c
cmp ecx, 3
jne 0x44c602
call fcn.004779d0
push eax
lea ecx, [esp + 0x34]
call fcn.00426eb0
cmp dword [esp + 0x28], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x44c5fb
push dword [esp + 0x14]
call esi
add esp, 4
mov ecx, 0x54d150
jmp 0x44c62c
call fcn.004779d0
push eax
lea ecx, [esp + 0x34]
call fcn.00426eb0
cmp dword [esp + 0x28], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x44c627
push dword [esp + 0x14]
call esi
add esp, 4
mov ecx, 0x54d090
sub esp, 0x18
push esp
call fcn.00477320
mov ecx, dword [edi]
lea eax, [esp + 0x44]
push eax
call fcn.0044d3e0
mov ecx, dword [edi]
mov dword [esp + 0x10], eax
call fcn.00457740
mov edi, dword [edi]
cmp byte [edi + 0x65c], 0
jne 0x44c69a
lea ecx, [edi + 0x658]
call fcn.00480a20
test al, al
jne 0x44c69a
push 8
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x44c687
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], vtable.FunctionRunable_class__lambda_a7b113c3799f30343cd6f8095b01fe7a__.0
mov dword [eax + 4], edi
jmp 0x44c689
xor eax, eax
push eax
push 0x12c
lea ecx, [edi + 0x658]
call fcn.00480a50
mov ecx, dword [esp + 0x10]
push str.redPointControl
call fcn.004cbb80
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xe0]
cmp dword [esp + 0x44], 8
jb 0x44c6c4
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.004edbca
mov esp, ebp
pop ebp
ret 8