Function at 0x55b360
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov esi, esp
mov dword [esi + 0xc8], ebp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0xcc], esp
mov dword [esi + 0xd8], 0xffffffff
lea ecx, [esi + 0xd0]
mov dword [esi + 0xd4], 0x55cbb0
mov edx, dword fs:[0]
mov dword [esi + 0xd0], edx
mov dword fs:[0], ecx
mov ecx, dword [edi]
lea edx, [esi + 0x18]
push dword [edi + 4]
push eax
push dword [ecx + 0x18]
push dword [ecx + 0x14]
push edx
call fcn.0056cc10
add esp, 0x14
mov dword [esi + 0x10], edi
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x14], eax
mov dword [esi + 0xd8], 1
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x68]
push eax
call fcn.0056c340
mov dword [esi + 0xd8], 2
lea ecx, [esi + 0x30]
lea eax, [esi + 0x18]
push eax
call fcn.0056c440
mov dword [esi + 0x30], 6
lea eax, [esi + 0x38]
mov dword [esi + 0xa0], 0x7d58c4
lea edi, [esi + 0xa0]
mov dword [esi + 0xc4], edi
mov ecx, edi
push eax
call fcn.0055be80
mov ecx, dword [esi + 0xc4]
test ecx, ecx
je 0x55b441
xor eax, eax
cmp ecx, edi
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov dword [esi + 0xd8], 3
lea ecx, [esi + 0x68]
lea eax, [esi + 0x30]
push eax
call fcn.0055c660
lea ecx, [esi + 0x68]
call fcn.0056c360
push eax
call fcn.0056c370
add esp, 4
mov dword [esi + 8], eax
mov ebx, dword [esi + 4]
mov edi, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esi + 0xc], edx
sub edx, edi
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, edx
jae 0x55b488
add edi, ecx
mov dword [ebx + 4], edi
jmp 0x55b4ae
jbe 0x55b4ae
mov ebx, dword [esi + 4]
mov edx, dword [ebx + 8]
sub edx, edi
mov ecx, dword [esi + 8]
cmp edx, ecx
jae 0x55b69d
mov edx, ecx
mov ecx, ebx
lea eax, [esi + 0xa0]
push eax
push edx
call fcn.0053eee0
push 4
call fcn.00596050
add esp, 4
add eax, 4
push dword [esi + 8]
mov ecx, dword [esi + 4]
push dword [ecx]
push eax
lea eax, [esi + 0x68]
push eax
call fcn.0056c3b0
add esp, 0x10
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x55b4e7
xor eax, eax
lea edx, [esi + 0x38]
cmp ecx, edx
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esi + 0x94]
test ecx, ecx
lea edi, [esi + 0x18]
je 0x55b504
lea eax, [esi + 0x70]
xor edx, edx
cmp ecx, eax
setne dl
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
lea ecx, [eax + 0xc]
mov dword [esi + 0xd8], 1
mov edx, 4
push eax
push edi
call fcn.0055adc0
add esp, 8
mov ebx, dword [eax + 0xe]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
sub edx, eax
je 0x55b57e
mov edi, edx
mov ecx, edx
and edi, 7
je 0x55b547
and ecx, 0xfffffff8
nop
mov byte [eax], 0
inc eax
dec edi
jne 0x55b540
cmp edx, 8
jb 0x55b57e
xor edx, edx
nop
mov byte [eax + edx], 0
mov byte [eax + edx + 1], 0
mov byte [eax + edx + 2], 0
mov byte [eax + edx + 3], 0
mov byte [eax + edx + 4], 0
mov byte [eax + edx + 5], 0
mov byte [eax + edx + 6], 0
mov byte [eax + edx + 7], 0
add edx, 8
cmp ecx, edx
jne 0x55b550
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
sub edx, eax
je 0x55b5e1
mov edi, edx
mov ecx, edx
and edi, 7
je 0x55b5a7
and ecx, 0xfffffff8
nop word cs:[eax + eax]
mov byte [eax], 0
inc eax
dec edi
jne 0x55b5a0
cmp edx, 8
jb 0x55b5de
xor edx, edx
nop
mov byte [eax + edx], 0
mov byte [eax + edx + 1], 0
mov byte [eax + edx + 2], 0
mov byte [eax + edx + 3], 0
mov byte [eax + edx + 4], 0
mov byte [eax + edx + 5], 0
mov byte [eax + edx + 6], 0
mov byte [eax + edx + 7], 0
add edx, 8
cmp ecx, edx
jne 0x55b5b0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x55b685
mov edi, dword [esi + 0x24]
sub edi, eax
je 0x55b621
mov dword [esi + 4], ebx
mov ecx, edi
mov ebx, eax
mov edx, edi
and ecx, 7
je 0x55b617
mov edx, edi
and edx, 0xfffffff8
mov ebx, eax
nop word cs:[eax + eax]
mov byte [ebx], 0
inc ebx
dec ecx
jne 0x55b610
cmp edi, 8
jae 0x55b625
mov ebx, dword [esi + 4]
jmp 0x55b67b
xor edi, edi
jmp 0x55b67b
xor ecx, ecx
nop word [eax + eax]
mov byte [ebx + ecx], 0
mov byte [ebx + ecx + 1], 0
mov byte [ebx + ecx + 2], 0
mov byte [ebx + ecx + 3], 0
mov byte [ebx + ecx + 4], 0
mov byte [ebx + ecx + 5], 0
mov byte [ebx + ecx + 6], 0
mov byte [ebx + ecx + 7], 0
add ecx, 8
cmp edx, ecx
jne 0x55b630
cmp edi, 0x1000
mov ebx, dword [esi + 4]
jb 0x55b67b
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x55b6b4
add edi, 0x23
mov eax, ecx
push edi
push eax
call fcn.0071996d
add esp, 8
mov eax, dword [esi + 0xd0]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [esi + 0xc]
lea edi, [ecx + eax]
push eax
push 0
push ecx
call fcn.007311f0
add esp, 0xc
jmp 0x55b483
mov dword [esi + 0xd8], 0
call fcn.006fce21
nop word cs:[eax + eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0xdc]
mov ebp, dword [esi + 0xc8]
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x55b6f7
xor eax, eax
lea edx, [esi + 0x38]
cmp ecx, edx
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
add esp, 0x14
pop ebp
ret