Function at 0x4ae210
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov esi, esp
mov dword [esi + 0xb8], ebp
mov dword [esi + 0xbc], esp
mov dword [esi + 0xc8], 0xffffffff
mov dword [esi + 0xc4], 0x4af7e0
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc0]
mov ebx, dword [ebp + 8]
mov edx, dword fs:[0]
mov dword [esi + 0xc0], edx
mov dword fs:[0], ecx
movsd xmm1, qword [eax + 0x20]
movsd xmm2, qword [eax + 0x18]
mov ecx, dword [eax + 0x30]
movsd xmm0, qword [eax + 0x28]
movsd qword [esi + 0x58], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x50], xmm2
movsd xmm2, qword [eax]
mov dword [esi + 0x68], ecx
movsd qword [esi + 0x60], xmm0
lea ecx, [esi + 0x70]
movsd qword [esi + 0x48], xmm1
movsd xmm1, qword [eax + 8]
lea eax, [esi + 0x38]
movsd qword [esi + 0x38], xmm2
movsd qword [esi + 0x40], xmm1
push eax
push eax
push ecx
call fcn.004b02e0
add esp, 0xc
mov edi, dword [esi + 0x78]
test edi, edi
je 0x4ae463
mov eax, dword [esi + 0x84]
movsd xmm0, qword [esi + 0x70]
movsd xmm1, qword [esi + 0x7c]
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 0x20], xmm1
mov dword [esi + 0x28], eax
push 8
push 0x18
call fcn.0043c290
add esp, 8
test eax, eax
je 0x4ae48f
movsd xmm0, qword [esi + 0x10]
movsd xmm1, qword [esi + 0x20]
movsd xmm2, qword [esi + 0x60]
mov ecx, dword [esi + 0x28]
mov dword [esi + 4], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], 1
mov dword [esi + 0xc8], 0
movsd qword [eax], xmm0
mov dword [eax + 8], edi
movsd qword [eax + 0xc], xmm1
movsd xmm1, qword [esi + 0x58]
movsd qword [esi + 0x98], xmm2
movsd xmm2, qword [esi + 0x50]
mov dword [eax + 0x14], ecx
mov eax, dword [esi + 0x68]
lea ecx, [esi + 0x20]
movsd qword [esi + 0x90], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [esi + 0x88], xmm2
movsd xmm2, qword [esi + 0x38]
mov dword [esi + 0xa0], eax
lea eax, [esi + 0x70]
movsd qword [esi + 0x80], xmm1
movsd xmm1, qword [esi + 0x40]
movsd qword [esi + 0x70], xmm2
movsd qword [esi + 0x78], xmm1
push eax
push eax
push ecx
call fcn.004b02e0
add esp, 0xc
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x4ae44f
mov eax, 1
mov ebx, 1
movsd xmm0, qword [esi + 0x20]
lea edi, [esi + 0x2c]
cmp ebx, eax
movsd xmm1, qword [edi]
mov edx, dword [edi + 8]
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0xb0], edx
mov dword [edi + 8], edx
movsd qword [esi + 0xa8], xmm1
movsd qword [edi], xmm1
jne 0x4ae3f5
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc8], 1
push 1
push eax
lea eax, [esi + 4]
push eax
call fcn.0056b490
add esp, 0xc
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x10]
movsd xmm0, qword [esi + 0x20]
movsd xmm1, qword [esi + 0x28]
movsd xmm2, qword [esi + 0x30]
lea eax, [ebx + ebx*2]
inc ebx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x10], ebx
movsd qword [ecx + eax*8 + 0x10], xmm2
movsd qword [ecx + eax*8 + 8], xmm1
movsd qword [ecx + eax*8], xmm0
lea eax, [esi + 0x70]
mov dword [esi + 0xc], ebx
mov dword [esi + 0xc8], 0
push eax
push eax
lea eax, [esi + 0x20]
push eax
call fcn.004b02e0
add esp, 0xc
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x4ae44f
mov eax, dword [esi + 8]
mov ebx, dword [esi + 0x10]
jmp 0x4ae3a0
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
movsd xmm0, qword [esi + 4]
mov dword [eax + 8], ecx
movsd qword [eax], xmm0
jmp 0x4ae47a
mov eax, dword [0x5f027c]
mov dword [ebx], eax
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, ebx
mov ecx, dword [esi + 0xc0]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 8
push 0x18
call fcn.00570650
add esp, 8
ud2