Function at 0x45bdcd
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 8]
push esi
xor eax, eax
push ebp
push 0x4531d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x44]
mov word [eax], 0
mov eax, dword [ebp + 0x40]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x38]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
xor eax, eax
mov dword [esi + 0x58], eax
xor eax, eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
xor eax, eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
fld qword [ebp + 0x18]
fmul dword [0x4531fc]
fld xword [0x453200]
fmulp st(1)
fdiv dword [0x45320c]
fstp qword [ebp - 8]
wait
xor ebx, ebx
lea eax, [ebp - 0x6c]
mov edx, dword [ebp + 0xc]
call fcn.0040cd0d
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0xc]
mov eax, dword [esi + 0x30]
mov edi, dword [eax]
call dword [edi + 0x78]
test al, al
je 0x45bed4
mov bl, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea ecx, [esi + 0x90]
lea edx, [esi + 0x70]
mov eax, edi
call fcn.00456f75
mov eax, dword [edi + 0x990]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x980]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x984]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x958]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x95c]
mov dword [esi + 0x6c], eax
lea edx, [esi + 0x90]
lea eax, [esi + 0x70]
call fcn.004503a1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea edx, [ebp - 0x48]
lea eax, [esi + 0x70]
call fcn.004503f1
jmp 0x45bfa6
xor eax, eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
xor eax, eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
xor eax, eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
xor eax, eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov cx, 0x1e
mov dx, 0xc
mov ax, 0x76b
call fcn.0045001d
movzx eax, ax
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fstp xword [ebp - 0x7c]
wait
push 0x409dac00
push 0
call fcn.0044fef9
fld xword [ebp - 0x7c]
faddp st(1)
fstp qword [ebp - 0x20]
wait
fld qword [ebp + 0x10]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x28]
wait
lea eax, [ebp - 0x80]
mov edx, dword [ebp + 0xc]
call fcn.0040cd0d
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x14]
call fcn.00410ff9
mov eax, dword [ebp - 0x14]
mov edx, 0x453218
call fcn.0040ce55
jne 0x45bf81
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea edx, [ebp - 0x48]
lea eax, [esi + 0x70]
call fcn.0045b16d
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, 0x453224
call fcn.0040ce55
jne 0x45bfa6
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov ecx, dword [ebp + 0x40]
lea edx, [ebp - 0x48]
lea eax, [esi + 0x70]
call fcn.0045b14d
mov bl, 1
test bl, bl
je 0x45c061
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xd]
push eax
lea ecx, [esi + 0x38]
lea edx, [esi + 0x90]
lea eax, [esi + 0x70]
call fcn.004506c5
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp - 0x68]
mov dword [eax], edx
mov edx, dword [ebp - 0x64]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp - 0x60]
mov dword [eax], edx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp - 0x58]
mov dword [eax], edx
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp - 0x50]
mov dword [eax], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 4], edx
fld qword [ebp - 0x60]
fcomp qword [ebp - 8]
fnstsw ax
sahf
seta al
neg al
sbb eax, eax
mov edx, dword [ebp + 0x44]
mov word [edx], ax
fld qword [esi + 0xa0]
fcomp dword [0x45322c]
fnstsw ax
sahf
setb al
neg al
sbb eax, eax
mov edx, dword [ebp + 0x20]
mov word [edx], ax
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp - 0x48]
mov dword [eax], edx
mov edx, dword [ebp - 0x44]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [eax], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
pop eax
xor ebx, ebx
jmp 0x45c073
lea eax, [ebp - 0x80]
call fcn.0040cac5
lea eax, [ebp - 0x6c]
call fcn.0040cac5
lea eax, [ebp - 0x14]
call fcn.0040cac5
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40