Function at 0x42bd93
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4540c2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x46a1c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x68]
push eax
mov ecx, ebx
call fcn.00416f48
and dword [esp + 0x38], 0
lea edi, [esi + 0x78]
push edi
call fcn.0040ab02
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0041749e
mov dword [esi + 0x90], ebx
lea ebx, [esi + 0x38]
push ebx
mov ecx, edi
call fcn.004177a3
push eax
mov eax, dword [esi + 0x30]
call fcn.00418f9a
mov dword [esp + 0x14], eax
test al, 1
je 0x42c029
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.004174cf
lea edi, [esi + 0x70]
push edi
mov dword [esp + 0x3c], 1
call fcn.0040ab02
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0041a53e
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0041a5bc
lea ecx, [esi + 0x80]
push ecx
mov dword [esp + 0x3c], 2
call fcn.0040ab02
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0041aa9f
mov eax, edi
call fcn.00416f43
lea ecx, [esi + 0x78]
mov dword [esi + 0x98], eax
lea edi, [esi + 0x88]
call fcn.004177b6
push eax
call fcn.0041e75d
lea ecx, [esi + 0x78]
call fcn.004177ae
push eax
call fcn.0041b3fe
lea ecx, [esi + 0x78]
call fcn.0041a75c
push eax
call fcn.0041b40c
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0x78]
call fcn.00417958
push ecx
push ecx
mov dword [esp + 0x40], 3
mov eax, esp
mov dword [esp + 0x1c], esp
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.0041dcfd
push edi
call fcn.0041b485
push 0x10
xor edi, edi
lea eax, [esi + 0xe8]
push edi
push eax
call fcn.0043e4b0
add esp, 0xc
lea ecx, [esi + 0x80]
call fcn.0041aad0
lea ecx, [esi + 0x80]
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], edx
mov dword [esi + 0x108], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0xd8], edi
call fcn.0041aade
lea ecx, [esi + 0x80]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
call fcn.0041aad0
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
lea eax, [esi + 0x50]
push eax
push dword [esi + 0x8c]
push dword [ebx + 8]
call dword [edx + 0x30]
mov dword [esp + 0x14], eax
test al, 1
je 0x42c01b
push edi
push 1
push dword [esi + 0x50]
lea ebx, [esi + 0xa0]
push ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.0042ed28
lea ecx, [esi + 0x78]
call fcn.004178de
test eax, eax
jne 0x42bfaf
mov eax, ebx
call fcn.0041ac31
push dword [eax + 8]
lea eax, [esi + 0xbc]
push 3
push dword [esi + 0x54]
push eax
call fcn.0042ed28
mov dword [esi + 0xdc], 1
jmp 0x42bfc1
push edi
push 1
push dword [esi + 0x54]
lea eax, [esi + 0xbc]
push eax
call fcn.0042ed28
cmp dword [esi + 0x134], edi
je 0x42bfdb
push edi
push 1
push dword [esi + 0x50]
lea eax, [esi + 0x138]
push eax
call fcn.0042ed28
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esi + 0x80]
call fcn.0041aaf4
push edx
push eax
push dword [ebp + 8]
mov eax, dword [esi + 0x24]
call fcn.0041addb
lea ecx, [esi + 8]
mov dword [esp + 0x14], eax
call fcn.00416d41
test eax, eax
je 0x42c01b
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x110], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x114], eax
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0041dd34
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