Function at 0x6964c0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x730850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x48]
call fcn.00405ed0
lea ecx, [esp + 0x68]
call fcn.00405ed0
lea ecx, [esp + 0x58]
call fcn.00405ed0
lea ecx, [esp + 0x30]
call fcn.005b3190
lea ecx, [esp + 0x40]
mov dword [esp + 0x84], 0
call fcn.005b3190
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 1
call fcn.005b3190
mov esi, dword [ebp + 0xc]
mov al, byte [esi + 0x1a]
test al, al
mov bl, 2
mov byte [esp + 0x84], bl
jne 0x696578
mov eax, dword [esi + 0x10]
cmp eax, dword [0x746644]
jne 0x696578
mov ecx, dword [edi + 0x3c]
call fcn.0060bad0
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
push 0xfe
call dword [edx + 0x7c]
mov ecx, dword [edi + 0x3c]
call fcn.004015a0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov cl, byte [esi + 0x1a]
mov byte [edi + 0x1a], cl
jmp 0x696c48
mov edx, dword [0x7a3a28]
mov eax, dword [edx + 0xb8]
mov edx, dword [0x7a20e8]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x38]
push ecx
movzx ecx, word [esi + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.00413190
lea ecx, [esp + 0x38]
call fcn.005e5790
test eax, eax
jle 0x6965c9
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
call fcn.004061f0
mov dword [esp + 0x18], 1
jmp 0x6965d1
mov dword [esp + 0x18], 0
cmp byte [ebp + 8], 3
jne 0x6966a4
mov al, byte [esi + 0x34]
cmp al, 0xff
je 0x6965f2
movzx ecx, al
mov dword [esp + 0x10], ecx
mov dword [edi + 0x40], 1
jmp 0x696626
mov eax, dword [esi + 0x30]
mov edx, dword [0x7a3a28]
lea ecx, [esp + 0x10]
test eax, eax
mov eax, dword [edx + 0xb8]
mov eax, dword [eax + 0xc]
mov edx, dword [0x7a20c4]
push ecx
movzx ecx, word [esi + 0x18]
jne 0x69661d
mov edx, dword [0x7a2114]
push edx
push ecx
mov ecx, eax
call fcn.00413510
push str.HEAD
lea ecx, [esp + 0x24]
call fcn.005e5a90
mov edx, dword [0x7a3a28]
mov eax, dword [edx + 0xb8]
mov eax, dword [eax + 0x44]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x90], 3
call fcn.00413270
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], bl
call fcn.005e5c20
lea ecx, [esp + 0x30]
call fcn.005e58a0
test eax, eax
jne 0x696b04
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
call fcn.004061f0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
jmp 0x696979
push 0x746bb4
lea ecx, [esp + 0x34]
call fcn.005e5140
mov cl, byte [esi + 0x1b]
xor eax, eax
cmp cl, 1
mov ecx, dword [0x7a3a28]
mov ecx, dword [ecx + 0xb8]
mov ecx, dword [ecx + 0x10]
sete al
lea edx, [esp + 0x38]
push edx
mov edx, dword [0x7a2148]
push edx
push eax
call fcn.00413190
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x38]
call fcn.005e5d10
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 4
call fcn.005e5c50
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], bl
call fcn.005e5c20
mov edx, dword [0x7a3a28]
mov eax, dword [edx + 0xb8]
mov edx, dword [0x7a211c]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x38]
push ecx
movzx ecx, word [esi + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.00413190
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
call fcn.005e5d10
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 5
call fcn.005e5c50
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], bl
call fcn.005e5c20
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x44]
call fcn.005e5c50
movzx edx, byte [esi + 0x1c]
push edx
lea ecx, [esp + 0x14]
call fcn.005e5bc0
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 6
call fcn.005e5d10
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 7
call fcn.005e5c50
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 6
call fcn.005e5c20
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], bl
call fcn.005e5c20
push str._HEAD
lea ecx, [esp + 0x24]
call fcn.005e5a90
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 8
call fcn.005e5d10
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 9
call fcn.005e5c50
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 8
call fcn.005e5c20
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], bl
call fcn.005e5c20
push str.0_HEAD
lea ecx, [esp + 0x24]
call fcn.005e5a90
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 0xa
call fcn.005e5d10
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 0xb
call fcn.005e5c50
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 0xa
call fcn.005e5c20
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], bl
call fcn.005e5c20
movzx edx, byte [esi + 0x1a]
push edx
lea eax, [esp + 0x20]
push str._03u
push eax
call fcn.006fadb0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
call fcn.005e5a90
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 0xc
call fcn.005e5d10
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0xd
call fcn.005e5c50
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 0xc
call fcn.005e5c20
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], bl
call fcn.005e5c20
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
call fcn.005e5a90
mov byte [esp + 0x84], 0xe
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
call fcn.005e5d10
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 0xf
call fcn.005e5c50
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 0xe
call fcn.005e5c20
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], bl
call fcn.005e5c20
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
call fcn.004061f0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x70]
call fcn.004061f0
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x6969fc
mov dx, word [edi + 0x18]
cmp dx, word [esi + 0x18]
jne 0x6969fc
mov al, byte [edi + 0x1b]
cmp al, byte [esi + 0x1b]
jne 0x6969fc
mov cl, byte [edi + 0x1a]
cmp cl, byte [esi + 0x1a]
jne 0x6969fc
mov edx, dword [edi + 0x10]
cmp edx, dword [esi + 0x10]
jne 0x6969fc
mov al, byte [edi + 0x34]
cmp al, byte [esi + 0x34]
jne 0x6969fc
mov ecx, dword [edi + 0x30]
cmp ecx, dword [esi + 0x30]
jne 0x6969fc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6969ce
lea eax, [esp + 0x58]
push eax
push 1
push 1
jmp 0x6969e5
push str.DEFAULT
lea ecx, [esp + 0x24]
call fcn.00406d80
lea eax, [esp + 0x20]
push eax
push 1
push 0
mov edi, dword [edi + 0x3c]
mov edx, dword [edi]
mov ecx, edi
push 0xfe
call dword [edx + 0xac]
jmp 0x696c48
mov ecx, dword [edi + 0x3c]
call fcn.0060bad0
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
push 0xfe
call dword [edx + 0x7c]
mov ecx, dword [edi + 0x3c]
call fcn.004015a0
mov al, byte [esi + 0x1a]
mov ebx, dword [ebp + 8]
mov byte [edi + 0x1a], al
mov cl, byte [esi + 0x34]
mov byte [edi + 0x34], cl
mov edx, dword [esi + 0x30]
mov ecx, dword [edi + 0x3c]
push ebx
mov dword [edi + 0x30], edx
mov eax, dword [ecx]
push 0xfe
lea edx, [esp + 0x50]
push edx
call dword [eax + 0x78]
test eax, eax
je 0x696b04
cmp bl, 1
je 0x696a57
cmp bl, 3
jne 0x696bbc
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x696a6a
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x10]
je 0x696ba6
mov ecx, dword [0x7a39fc]
mov edx, dword [edi + 0x10]
mov ecx, dword [ecx + 4]
push edx
call fcn.005ed5a0
test eax, eax
mov dword [esp + 0x10], eax
je 0x696ae0
lea ecx, [eax + 0x10]
mov eax, dword [ecx]
push 1
push 0xff
mov dword [esp + 0x28], ecx
call dword [eax + 0x98]
mov ebx, eax
test ebx, ebx
je 0x696ac7
mov edx, dword [ebx]
push 0
push 0
push 0
mov ecx, ebx
call dword [edx + 0x50]
mov eax, dword [ebx]
push 1
push 0x3f800000
mov ecx, ebx
call dword [eax + 0xcc]
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 0x40]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x696ae0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push 0
call dword [edx + 0x94]
mov eax, dword [esi + 0x10]
cmp eax, dword [0x746644]
je 0x696ba6
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 4]
push eax
call fcn.005ed5a0
mov ebx, eax
test ebx, ebx
jne 0x696b50
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 1
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 0
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 0xffffffff
call fcn.005e5c20
xor eax, eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
push 1
push 0xfe
call dword [edx + 0x98]
lea ecx, [ebx + 0x10]
push 1
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
push 0xff
call dword [eax + 0x98]
mov ebx, eax
test ebx, ebx
je 0x696ba6
mov eax, dword [esp + 0x20]
mov edx, dword [ebx]
push 0
push str.GoggleHook
push eax
mov ecx, ebx
call dword [edx + 0x50]
mov edx, dword [ebx]
push 0
push 0
push 0x3f800000
push str.default
mov ecx, ebx
call dword [edx + 0x18]
mov ecx, dword [edi + 0x3c]
call fcn.0063c070
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xec]
mov edx, dword [esi + 0x10]
mov esi, dword [edi + 0x3c]
mov dword [edi + 0x10], edx
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 4]
call fcn.005ed540
cmp eax, esi
jne 0x696bf0
mov edx, dword [esi]
push 1
push 0xfe
mov ecx, esi
call dword [edx + 0x98]
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x40]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x696c03
lea edx, [esp + 0x58]
push edx
push 1
push 1
jmp 0x696c1a
push str.DEFAULT
lea ecx, [esp + 0x24]
call fcn.00406d80
lea edx, [esp + 0x20]
push edx
push 1
push 0
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push 0xfe
call dword [eax + 0xac]
mov dword [edi + 0x50], 1
mov dword [edi + 0x40], 0
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 4]
call fcn.005edc10
mov dword [edi + 0x68], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 1
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 0
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8