Function at 0x42b39d
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4535c1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4691c0]
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.0041695e
and dword [esp + 0x38], 0
lea edi, [esi + 0x78]
push edi
call fcn.0040c44e
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00416e8b
mov dword [esi + 0x90], ebx
lea ebx, [esi + 0x38]
push ebx
mov ecx, edi
call fcn.00417188
push eax
mov eax, dword [esi + 0x30]
call fcn.00418bff
mov dword [esp + 0x14], eax
test al, 1
je 0x42b633
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00416ebc
lea edi, [esi + 0x70]
push edi
mov dword [esp + 0x3c], 1
call fcn.0040c44e
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0041a1cf
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0041a24d
lea ecx, [esi + 0x80]
push ecx
mov dword [esp + 0x3c], 2
call fcn.0040c44e
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0041a71a
mov eax, edi
call fcn.0041a248
lea ecx, [esi + 0x78]
mov dword [esi + 0x98], eax
lea edi, [esi + 0x88]
call fcn.0041719b
push eax
call fcn.0041b03c
lea ecx, [esi + 0x78]
call fcn.00417193
push eax
call fcn.00419ffc
lea ecx, [esi + 0x78]
call fcn.0041a3e2
push eax
call fcn.0041b04a
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0x78]
call fcn.0041733d
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.0041d93f
push edi
call fcn.0041b0c3
push 0x10
xor edi, edi
lea eax, [esi + 0xe8]
push edi
push eax
call fcn.0043dae0
add esp, 0xc
lea ecx, [esi + 0x80]
call fcn.0041a74b
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.0041a759
lea ecx, [esi + 0x80]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
call fcn.0041a74b
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 0x42b625
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.0042e351
lea ecx, [esi + 0x78]
call fcn.004172c3
test eax, eax
jne 0x42b5b9
mov eax, ebx
call fcn.0042e3d2
push dword [eax + 8]
lea eax, [esi + 0xbc]
push 3
push dword [esi + 0x54]
push eax
call fcn.0042e351
mov dword [esi + 0xdc], 1
jmp 0x42b5cb
push edi
push 1
push dword [esi + 0x54]
lea eax, [esi + 0xbc]
push eax
call fcn.0042e351
cmp dword [esi + 0x134], edi
je 0x42b5e5
push edi
push 1
push dword [esi + 0x50]
lea eax, [esi + 0x138]
push eax
call fcn.0042e351
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esi + 0x80]
call fcn.0041a76f
push edx
push eax
push dword [ebp + 8]
mov eax, dword [esi + 0x24]
call fcn.0041aa52
lea ecx, [esi + 8]
mov dword [esp + 0x14], eax
call fcn.00416757
test eax, eax
je 0x42b625
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.0041d976
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