Function at 0x7465cf
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x103bbfc3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
xor ebx, ebx
push ebx
or edi, 0xffffffff
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x40], edi
call fcn.007387ff
mov ebp, dword [esp + 0x40]
mov dword [esi + 0x18], ebx
or dword [esi + 0x60], 5
lea ecx, [esi + 0x84]
mov dword [esi + 8], ecx
push ebp
lea ecx, [esp + 0x18]
call fcn.005779bf
push edi
push ebx
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x68]
push edx
mov dword [esp + 0x44], ebx
call fcn.0040826f
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x38], edi
jb 0x746656
mov eax, dword [esp + 0x18]
push eax
call fcn.00776c58
add esp, 4
mov edi, dword [esp + 0x44]
mov edx, edi
xor ecx, ecx
shr edx, 2
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
mov dword [esi + 0x64], ebx
test dl, 1
je 0x7467b1
mov dword [esi + 0x40], ebx
test edi, 0x700
jne 0x7466b9
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax]
mov edx, edi
and edx, 0xc
sub dl, 0xc
movsx edx, dl
neg edx
sbb edx, edx
and edx, 0xfffff000
add edx, 0x2000
push 1
or edx, 0x22
push edx
push ebp
call eax
jmp 0x746862
mov ecx, edi
shr ecx, 0xa
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
test cl, 1
je 0x746705
cmp dword [esi + 0x58], ebx
jne 0x7466da
push 0xcb
mov ecx, esi
call fcn.00744f3f
push ebp
call fcn.007433df
add esp, 4
test al, al
jne 0x7466f3
push 0xd0
mov ecx, esi
call fcn.00744f3f
or dword [esi + 0x60], 0x90
mov edx, dword [esi + 0x58]
mov dword [esi + 0x64], edx
jmp 0x746792
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
cmp eax, ebx
ja 0x746723
jb 0x746717
cmp ecx, ebx
ja 0x746723
push 0xcc
mov ecx, esi
call fcn.00744f3f
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
test edi, 0x200
je 0x746781
or dword [esi + 0x60], 0x70
mov ecx, esi
call fcn.0074486f
push 0x18
call fcn.00776c63
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], 1
cmp edi, ebx
je 0x74676f
mov ecx, edi
call fcn.0057fe9f
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0xac], edi
jmp 0x746785
xor edi, edi
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0xac], edi
jmp 0x746785
or dword [esi + 0x60], 0x30
mov ecx, esi
call fcn.007444cf
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x64], eax
push ebx
push 4
mov ecx, esi
call fcn.00745a8f
push 1
push 4
push 0x105601dc
mov ecx, esi
call fcn.00745e2f
jmp 0x746862
or dword [esi + 0x60], 8
mov ecx, edi
and ecx, 3
cmp cl, 3
sete al
cmp al, bl
je 0x7467c8
or dword [esi + 0x60], 2
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
xor ebx, ebx
test al, al
mov eax, dword [edx]
setne bl
push 1
dec ebx
and ebx, 2
or ebx, 0x2020
push ebx
push ebp
call eax
mov ecx, edi
shr ecx, 0xa
test cl, 1
je 0x7467f9
or dword [esi + 0x60], 0x90
jmp 0x746862
test edi, 0x200
je 0x746854
or dword [esi + 0x60], 0x70
mov ecx, esi
call fcn.007444cf
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx]
lea eax, [esi + 0x68]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x40], eax
mov ecx, esi
test eax, eax
jne 0x746830
push 0xc9
call fcn.00744f3f
add eax, 0xffffffff
mov dword [esi + 0x40], eax
je 0x746849
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
call fcn.0074639f
jmp 0x746862
call fcn.0074420f
and dword [esi + 0x60], 0xffffff8f
jmp 0x746862
mov ecx, edi
shr ecx, 8
test cl, 1
je 0x746862
or dword [esi + 0x60], 0x30
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10