Function at 0x10138a50
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
lea ecx, [esi + 0x70]
mov dword [esi + 0x74], 0x101441c0
mov edx, dword fs:[0]
mov dword [esi + 0x70], edx
mov dword fs:[0], ecx
lea ecx, [esi + 0x40]
push eax
push ecx
call fcn.101226d0
add esp, 8
mov eax, dword [0x1058e95c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x78], 0
lea eax, [esi + 0x60]
lea ecx, [esi + 0x10]
push 1
push eax
call fcn.1007ee90
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x60]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, dword [eax + 0x48]
mov dword [eax + 0x18], 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
mov dword [eax + 0x30], 0xff3f
cmp byte [esi + 0x40], 0
je 0x10138d0c
mov eax, 0xb9696ecc
mov edx, 0xe7fff2f4
mov dword [esi + 4], edx
mov dword [esi], eax
mov eax, 0x66b0df30
mov ebx, 0x9e4f0991
mov dword [esi + 0x34], eax
mov ecx, 0xd01b0d9f
mov eax, 0xe7ff8684
mov dword [esi + 0x30], 0
lea edx, [esi + 0x10]
mov dword [esi + 0x2c], edx
mov edx, dword [esi + 0x30]
mov edi, dword [esi + 0x2c]
mov dword [esi + 0x2c], edi
mov dword [esi + 0xc], ebx
mov edx, dword [esi + 0x34]
mov dword [esi + 8], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], edx
movaps xmm0, xmmword [esi]
mov eax, dword [esi + 0x2c]
xorps xmm0, xmmword [eax]
movaps xmmword [esi], xmm0
mov eax, esi
mov ecx, dword [ebp + 8]
push eax
call fcn.1007f160
mov ecx, dword [ebp + 8]
push 1
call fcn.1007f300
mov eax, 0xb16864db
mov ecx, 0x839aeae6
mov dword [esi + 4], ecx
mov dword [esi], eax
xor eax, eax
lea ecx, [esi + 0x10]
mov eax, dword [esi + 0x34]
mov dword [esi + 8], eax
mov edx, dword [esi + 0x30]
mov dword [esi + 0xc], edx
mov edi, dword [esi + 0x38]
mov dword [esi + 0x14], edi
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], eax
movaps xmm0, xmmword [esi]
xorps xmm0, xmmword [ecx]
movaps xmmword [esi], xmm0
mov ecx, dword [ebp + 8]
mov eax, esi
push eax
push 0xfffffffffffffffe
call fcn.1007f0e0
mov ecx, dword [ebp + 8]
call fcn.1007f2d0
mov eax, 0xb5696ccf
mov ecx, 0xe7fff2ea
mov dword [esi + 4], ecx
mov dword [esi], eax
lea eax, [esi + 0x10]
xor ecx, ecx
mov ecx, dword [esi + 0x34]
mov dword [esi + 8], ecx
mov edx, dword [esi + 0x30]
mov dword [esi + 0xc], edx
mov edi, dword [esi + 0x38]
mov dword [esi + 0x14], edi
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], ecx
movaps xmm0, xmmword [esi]
xorps xmm0, xmmword [eax]
mov dword [esi + 0x2c], 0
movaps xmmword [esi], xmm0
mov ecx, dword [ebp + 8]
mov eax, esi
push eax
push 0xfffffffffffffffe
call fcn.1007f0e0
mov eax, 0xb9696eec
mov ecx, 0xe7fff2f4
mov dword [esi + 4], ecx
mov dword [esi], eax
lea eax, [esi + 0x10]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [esi + 0xc], edx
mov ecx, dword [esi + 0x34]
mov dword [esi + 8], ecx
mov edi, dword [esi + 0x38]
mov dword [esi + 0x14], edi
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], ecx
movaps xmm0, xmmword [esi]
xorps xmm0, xmmword [eax]
movaps xmmword [esi], xmm0
mov ecx, dword [ebp + 8]
mov eax, esi
push eax
call fcn.1007f100
mov eax, dword [esi + 0x54]
mov dword [esi + 0x2c], eax
cmp dword [esi + 0x58], 0x10
lea edi, [esi + 0x44]
jb 0x10138c57
mov edi, dword [esi + 0x44]
mov ecx, 0xd01b0ddf
mov edx, 0xe7ff8684
mov dword [esi + 4], edx
mov dword [esi], ecx
xor ecx, ecx
lea edx, [esi + 0x10]
mov ebx, dword [esi + 0x30]
mov dword [esi + 0xc], ebx
mov ecx, dword [esi + 0x34]
mov dword [esi + 8], ecx
mov eax, dword [esi + 0x38]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
movaps xmm0, xmmword [esi]
xorps xmm0, xmmword [edx]
movaps xmmword [esi], xmm0
mov ecx, dword [ebp + 8]
push dword [esi + 0x2c]
push edi
mov eax, esi
push eax
call fcn.1007f9e0
test eax, eax
je 0x10138d7c
mov eax, 0xbe696ce8
mov ecx, 0xe7ff8684
mov dword [esi + 4], ecx
mov dword [esi], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 8], eax
mov dword [esi + 0x18], eax
xor eax, eax
lea ecx, [esi + 0x10]
movaps xmm0, xmmword [esi]
xorps xmm0, xmmword [ecx]
movaps xmmword [esi], xmm0
mov ecx, dword [ebp + 8]
mov eax, esi
push eax
call fcn.1007f040
mov ecx, dword [ebp + 8]
push 0xfffffffffffffffe
call fcn.1007f200
mov ecx, dword [ebp + 8]
push 0
push 0
push 1
call fcn.1007f0c0
jmp 0x10138db8
mov edi, 0xbe696ce8
mov eax, 0xe7ff8684
mov edx, 0xe7ff8684
mov dword [esi + 4], edx
mov dword [esi], edi
mov ebx, 0x66b0df30
mov edx, 0x9e4f0991
mov edi, 0xd01b0d9f
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edx
mov dword [esi + 0x1c], edx
mov dword [esi + 8], ebx
mov dword [esi + 0x18], ebx
xor eax, eax
lea edx, [esi + 0x10]
movaps xmm0, xmmword [esi]
xorps xmm0, xmmword [edx]
movaps xmmword [esi], xmm0
mov eax, esi
push eax
call fcn.1007f040
cmp dword [esi + 0x58], 0x10
lea edx, [esi + 0x44]
jb 0x10138d63
mov edx, dword [esi + 0x44]
mov ecx, dword [ebp + 8]
push edx
call fcn.1007f0a0
mov ecx, dword [ebp + 8]
push 0
push 0
push 1
call fcn.1007f0c0
jmp 0x10138db8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
lea eax, [esi + 0x10]
mov dword [esi], eax
mov ecx, dword [0x1058e920]
lea eax, [esi + 0x5c]
push 0
push 0
push 0
mov edx, esi
push edx
push eax
call dword [0x105ddd4c]
mov ecx, dword [ebp + 8]
push 0
call fcn.1007f190
mov eax, dword [esi + 0x58]
cmp eax, 0x10
mov ebx, dword [ebp + 8]
jb 0x10138df9
mov ecx, dword [esi + 0x44]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10138def
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10138e0c
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.101ac81b
add esp, 8
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10378384
nop word cs:[eax + eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0x7c]
mov ebp, dword [esi + 0x68]
lea ecx, [esi + 0x40]
call fcn.1002f7d0
add esp, 0x14
pop ebp
ret