Function at 0x760050
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], 0x7619a0
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.00771190
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.007708c0
mov dword [esi + 0xd8], 2
lea ecx, [esi + 0x30]
lea eax, [esi + 0x18]
push eax
call fcn.007709c0
mov dword [esi + 0x30], 6
lea eax, [esi + 0x38]
mov dword [esi + 0xa0], 0x9a6304
lea edi, [esi + 0xa0]
mov dword [esi + 0xc4], edi
mov ecx, edi
push eax
call fcn.00760c10
mov ecx, dword [esi + 0xc4]
test ecx, ecx
je 0x760131
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.00761420
lea ecx, [esi + 0x68]
call fcn.007708e0
push eax
call fcn.007708f0
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 0x760178
add edi, ecx
mov dword [ebx + 4], edi
jmp 0x76019e
jbe 0x76019e
mov ebx, dword [esi + 4]
mov edx, dword [ebx + 8]
sub edx, edi
mov ecx, dword [esi + 8]
cmp edx, ecx
jae 0x76038d
mov edx, ecx
mov ecx, ebx
lea eax, [esi + 0xa0]
push eax
push edx
call fcn.00741990
push 4
call fcn.00797f30
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.00770930
add esp, 0x10
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x7601d7
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 0x7601f4
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.0075fab0
add esp, 8
mov ebx, dword [eax + 0xe]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
sub edx, eax
je 0x76026e
mov edi, edx
mov ecx, edx
and edi, 7
je 0x760237
and ecx, 0xfffffff8
nop
mov byte [eax], 0
inc eax
dec edi
jne 0x760230
cmp edx, 8
jb 0x76026e
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 0x760240
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
sub edx, eax
je 0x7602d1
mov edi, edx
mov ecx, edx
and edi, 7
je 0x760297
and ecx, 0xfffffff8
nop word cs:[eax + eax]
mov byte [eax], 0
inc eax
dec edi
jne 0x760290
cmp edx, 8
jb 0x7602ce
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 0x7602a0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x760375
mov edi, dword [esi + 0x24]
sub edi, eax
je 0x760311
mov dword [esi + 4], ebx
mov ecx, edi
mov ebx, eax
mov edx, edi
and ecx, 7
je 0x760307
mov edx, edi
and edx, 0xfffffff8
mov ebx, eax
nop word cs:[eax + eax]
mov byte [ebx], 0
inc ebx
dec ecx
jne 0x760300
cmp edi, 8
jae 0x760315
mov ebx, dword [esi + 4]
jmp 0x76036b
xor edi, edi
jmp 0x76036b
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 0x760320
cmp edi, 0x1000
mov ebx, dword [esi + 4]
jb 0x76036b
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x7603a4
add edi, 0x23
mov eax, ecx
push edi
push eax
call fcn.008ea1ad
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.00901a10
add esp, 0xc
jmp 0x760173
mov dword [esi + 0xd8], 0
call fcn.008cd651
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 0x7603e7
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