Function at 0x44f290
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46f654
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [edi + 0x68]
call fcn.00461d90
mov dword [esp + 0x38], 0
mov ebx, dword [eax + 4]
lea esi, [edi + 0x78]
test ebx, ebx
je 0x44f305
cmp dword [esi + 4], 0
je 0x44f2f9
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
mov dword [esi + 4], ebx
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.004491f0
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x90], ecx
push 0xe
xor edx, edx
mov ecx, esi
call fcn.00423a90
lea ecx, [edi + 0x38]
push ecx
mov ecx, dword [edi + 0x30]
call fcn.004449e0
test al, 1
je 0x44f6a2
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004494a0
mov dword [esp + 0x38], 1
mov eax, dword [eax + 4]
lea ebx, [edi + 0x70]
mov dword [esp + 0x14], eax
test eax, eax
je 0x44f388
cmp dword [ebx + 4], 0
je 0x44f37c
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov ecx, ebx
call edx
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
mov ecx, ebx
call edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00460ce0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edx, ebx
call fcn.00460da0
mov dword [esp + 0x38], 2
mov eax, dword [eax + 4]
lea ecx, [edi + 0x80]
mov dword [esp + 0x14], eax
test eax, eax
je 0x44f3f8
cmp dword [ecx + 4], 0
je 0x44f3e4
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [edi + 0x80]
mov eax, dword [edx + 0x18]
lea ecx, [edi + 0x80]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x80]
lea ecx, [edi + 0x80]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00460ac0
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x44f415
lea ecx, [ebx - 8]
jmp 0x44f417
xor ecx, ecx
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x14]
push 0xf
sar eax, 2
xor edx, edx
mov ecx, esi
mov dword [edi + 0x98], eax
call fcn.00423940
push eax
lea ebx, [edi + 0x88]
push 1
mov ecx, ebx
call fcn.00423b40
push 0x10
xor edx, edx
mov ecx, esi
call fcn.00423940
push eax
push 0
mov ecx, ebx
call fcn.00423b40
push 0x12
xor edx, edx
mov ecx, esi
call fcn.00423940
push eax
push 2
mov ecx, ebx
call fcn.00423b40
lea esi, [esp + 0x24]
lea ecx, [edi + 0x78]
call fcn.004492a0
sub esp, 8
mov ecx, esp
mov dword [esp + 0x40], 3
mov dword [esp + 0x1c], esp
push ecx
mov ecx, esi
call fcn.00440a50
mov byte [esp + 0x40], 4
mov ecx, ebx
mov byte [esp + 0x40], 3
call fcn.00460980
xor ebx, ebx
xor eax, eax
push ebx
mov dword [edi + 0xe8], eax
mov dword [edi + 0xec], eax
push ebx
lea esi, [edi + 0x80]
mov dword [edi + 0xf0], eax
push ebx
mov ecx, esi
mov dword [edi + 0xf4], eax
call fcn.004239e0
push ebx
push ebx
push 1
mov ecx, esi
mov dword [edi + 0x100], eax
mov dword [edi + 0x104], edx
mov dword [edi + 0x108], ebx
mov dword [edi + 0xf8], ebx
mov dword [edi + 0xfc], ebx
mov dword [edi + 0xd8], ebx
call fcn.004239e0
push ebx
push ebx
push ebx
mov ecx, esi
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], edx
call fcn.004239e0
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], edx
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea eax, [edi + 0x50]
push eax
mov eax, dword [edi + 0x8c]
mov edx, dword [edx + 0x30]
push eax
mov eax, dword [edi + 0x40]
push eax
call edx
mov dword [esp + 0x14], eax
test al, 1
je 0x44f68d
mov eax, dword [edi + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xb8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp eax, 1
je 0x44f556
cmp eax, 2
jne 0x44f569
mov eax, dword [edi + 0xa4]
cmp eax, ebx
je 0x44f569
push eax
call sub.mfc90u.dll_delete__
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xac], ebx
mov dword [edi + 0xa4], ebx
push ecx
mov dword [edi + 0xb8], ebx
call sub.mfc90u.dll_new__
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
push ebx
push eax
mov dword [edi + 0xa4], eax
mov dword [edi + 0xac], eax
mov dword [edi + 0xa8], ecx
mov dword [edi + 0xb4], ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x11
xor edx, edx
lea ecx, [edi + 0x78]
mov dword [edi + 0xb8], 1
call fcn.00423940
test eax, eax
jne 0x44f5ff
mov edx, dword [edi + 0xac]
push edx
push 3
lea eax, [edi + 0xbc]
push eax
mov eax, dword [edi + 0x54]
call fcn.0042aa60
mov dword [edi + 0xdc], 1
jmp 0x44f611
mov eax, dword [edi + 0x54]
push ebx
push 1
lea ecx, [edi + 0xbc]
push ecx
call fcn.0042aa60
cmp dword [edi + 0x134], ebx
je 0x44f62b
mov eax, dword [edi + 0x50]
push ebx
push 1
lea edx, [edi + 0x138]
push edx
call fcn.0042aa60
push ebx
push ebx
push 2
mov ecx, esi
call fcn.004239e0
mov ecx, dword [edi + 0x24]
mov esi, dword [ecx + 0x1c]
mov dword [esp + 0x18], edx
cmp esi, ebx
je 0x44f663
mov ecx, dword [ecx + 0x30]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push ebx
push edx
push eax
mov eax, dword [ebp + 8]
push eax
push ecx
call esi
add esp, 0x18
mov dword [esp + 0x14], eax
jmp 0x44f66b
mov dword [esp + 0x14], 0x400
push 0x25
lea ecx, [edi + 8]
xor edx, edx
call fcn.00423940
test eax, eax
je 0x44f68d
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x110], edx
mov dword [edi + 0x114], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.004409d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc