Function at 0x48dc60
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x230
mov esi, esp
mov dword [esi + 0x218], ebp
lea ebx, [esi + 0x220]
mov dword [ebx - 4], esp
xor eax, eax
dec eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], 0x421050
mov eax, dword fs:[0]
mov dword [ebx], eax
mov dword fs:[0], ebx
mov eax, 0x190
lea edi, [esi + 0x88]
push eax
push 0xff
push edi
call fcn.00456ca0
add esp, 0xc
mov dword [esi + 0x4c], edi
mov dword [esi + 0x18], edi
mov eax, 0x190
add edi, eax
mov dword [esi + 0x5c], edi
xor ecx, ecx
dec ecx
mov dword [esi + 0x58], ecx
mov al, 0xff
lea edx, [esi + 0x54]
mov dword [edx], ecx
lea ecx, [esi + 0x13]
mov byte [ecx], al
lea ecx, [esi + 0x12]
mov byte [ecx], al
mov dword [esi + 0x50], fcn.0047d930
mov dword [ebx + 8], 1
xor eax, eax
lea ebx, [esi + 0x70]
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
lea edi, [esi + 0x20]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
lea edx, [esi + 0x40]
mov dword [edx + 4], eax
mov dword [edx], eax
mov dword [edx + 8], eax
lea ecx, [esi + 0x30]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
movzx eax, byte [ebp + 0x10]
mov dword [esi + 4], eax
lea eax, [esi + 0x54]
push eax
push ecx
push edx
push edi
push ebx
lea ecx, [esi + 0x12]
push ecx
lea ecx, [esi + 0x13]
push ecx
lea eax, [esi + 0x58]
push eax
push dword [ebp + 0x14]
push dword [esi + 4]
call fcn.0048eda0
add esp, 0x28
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ecx], eax
shr edx, 9
and edx, 1
mov dword [esi + 0x80], edx
xor ecx, ecx
xor edi, edi
cmp edi, 3
mov dword [esi + 8], ecx
ja 0x48e557
mov dword [esi + 0xc], edi
mov dword [esi + 0x228], 1
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00436850
test al, al
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
jne 0x48e557
movsx eax, byte [esi + edi + 0x58]
cmp eax, 4
ja 0x48de93
jmp dword [eax*4 + 0x4b5814]
mov eax, ecx
jmp 0x48df06
inc edi
mov ecx, eax
jmp 0x48dd68
test ecx, ecx
je 0x48e631
xor edx, edx
inc edx
mov ecx, dword [esi + 8]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x48e570
mov eax, dword [ecx + 4]
cmp edx, eax
jae 0x48e631
mov dword [esi + 0x228], 1
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov dword [esi + 4], edx
call fcn.00436850
mov edx, dword [esi + 4]
test al, al
jne 0x48e65d
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x48e5d7
movzx eax, byte [eax]
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xb], 0
jns 0x48e5ba
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
cmp byte [ecx + edx], al
jne 0x48e65d
inc edx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x48e601
inc eax
mov dword [edi + 0xc], eax
jmp 0x48e562
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov edx, dword [esi + 4]
jmp 0x48e5ac
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x228], 0xffffffff
mov ecx, ebx
mov dword [esi + 4], edx
call dword [section..00cfg]
mov dword [esi + 0x228], 1
mov ecx, edi
call ebx
mov edx, dword [esi + 4]
jmp 0x48e562
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x18]
mov bl, 1
cmp eax, ecx
je 0x48e665
lea edi, [esi + 0x84]
mov dword [edi], 0
push edi
push ecx
push eax
lea eax, [esi + 0x70]
push eax
call fcn.0048f0f0
add esp, 0x10
cmp dword [edi], 0
je 0x48e665
mov eax, dword [ebp + 0x1c]
or byte [eax], 4
xor ebx, ebx
cmp byte [esi + 0x6b], 0
jns 0x48e676
push dword [esi + 0x60]
call fcn.00452d4c
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x48e687
push dword [esi + 0x30]
call fcn.00452d4c
add esp, 4
cmp byte [esi + 0x4b], 0
jns 0x48e698
push dword [esi + 0x40]
call fcn.00452d4c
add esp, 4
cmp byte [esi + 0x2b], 0
jns 0x48e6a9
push dword [esi + 0x20]
call fcn.00452d4c
add esp, 4
cmp byte [esi + 0x7b], 0
jns 0x48e6ba
push dword [esi + 0x70]
call fcn.00452d4c
add esp, 4
mov edi, dword [esi + 0x4c]
mov dword [esi + 0x4c], 0
test edi, edi
je 0x48e6f1
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x228], 0xffffffff
call dword [section..00cfg]
mov dword [esi + 0x228], 0
push edi
mov dword [esi + 4], ebx
call ecx
mov ebx, dword [esi + 4]
add esp, 4
mov eax, dword [esi + 0x220]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret