Function at 0x44bc90
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46f5ab
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esi + 0x68]
call fcn.00461d90
mov dword [esp + 0x30], 0
mov ebx, dword [eax + 4]
lea edi, [esi + 0x78]
test ebx, ebx
je 0x44bd05
cmp dword [edi + 4], 0
je 0x44bcf9
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
mov dword [edi + 4], ebx
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.004491f0
push 0xe
xor edx, edx
mov ecx, edi
call fcn.00423a90
lea ecx, [esi + 0x38]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.004449e0
test al, 1
je 0x44bfc9
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.004494a0
mov dword [esp + 0x30], 1
mov eax, dword [eax + 4]
lea ebx, [esi + 0x70]
mov dword [esp + 0x14], eax
test eax, eax
je 0x44bd7f
cmp dword [ebx + 4], 0
je 0x44bd73
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
mov ecx, ebx
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [ebx]
mov dword [ebx + 4], eax
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.00460ce0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, ebx
call fcn.00460da0
mov dword [esp + 0x30], 2
mov eax, dword [eax + 4]
lea ebx, [esi + 0x80]
mov dword [esp + 0x14], eax
test eax, eax
je 0x44bde1
cmp dword [ebx + 4], 0
je 0x44bdd5
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 + 0x30], 0xffffffff
call fcn.00460ac0
mov eax, dword [esi + 0x74]
test eax, eax
je 0x44bdfe
add eax, 0xfffffff8
jmp 0x44be00
xor eax, eax
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x14]
push 0xf
sar ecx, 2
mov dword [esi + 0x98], ecx
xor edx, edx
mov ecx, edi
call fcn.00423940
push eax
lea edi, [esi + 0x88]
push 1
mov ecx, edi
call fcn.00423b40
push 0x10
xor edx, edx
lea ecx, [esi + 0x78]
call fcn.00423940
push eax
push 0
mov ecx, edi
call fcn.00423b40
push 0x12
xor edx, edx
lea ecx, [esi + 0x78]
call fcn.00423940
push eax
push 2
mov ecx, edi
call fcn.00423b40
xor eax, eax
xor edi, edi
push edi
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
push edi
mov dword [esi + 0xf0], eax
push 1
mov ecx, ebx
mov dword [esi + 0xf4], eax
call fcn.004239e0
push edi
push edi
push edi
mov ecx, ebx
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], edx
mov dword [esi + 0x108], edi
call fcn.004239e0
push edi
push edi
push 1
mov ecx, ebx
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
call fcn.004239e0
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x64], edx
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea ebx, [esi + 0x50]
push ebx
push eax
mov eax, dword [esi + 0x40]
push eax
call edx
mov dword [esp + 0x14], eax
test al, 1
je 0x44bfc9
mov ebx, dword [ebx]
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
mov eax, dword [esi + 0xb8]
cmp eax, 1
je 0x44bef3
cmp eax, 2
jne 0x44bf06
mov eax, dword [esi + 0xa4]
cmp eax, edi
je 0x44bf06
push eax
call sub.mfc90u.dll_delete__
add esp, 4
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xa4], edi
push ebx
mov dword [esi + 0xb8], edi
call sub.mfc90u.dll_new__
add esp, 4
push ebx
push edi
push eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xb4], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ebx, [esi + 0x78]
push 0x11
xor edx, edx
mov ecx, ebx
mov dword [esi + 0xb8], 1
call fcn.00423940
test eax, eax
jne 0x44bf96
mov eax, dword [esi + 0xac]
push eax
mov eax, dword [esi + 0x54]
push 3
lea ecx, [esi + 0xbc]
push ecx
call fcn.0042aa60
mov dword [esi + 0xdc], 1
jmp 0x44bfa8
mov eax, dword [esi + 0x54]
push edi
push 1
lea edx, [esi + 0xbc]
push edx
call fcn.0042aa60
push 0x21
xor edx, edx
mov ecx, ebx
call fcn.00423940
test eax, eax
je 0x44bfc5
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
mov edx, dword [esi + 0x54]
mov eax, dword [eax + 0x14]
push edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8