Function at 0x4456f0
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8d1b
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4faa80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
lea eax, [ecx + 0x1c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x230], eax
lea eax, [ecx + 0x20]
mov dword [ebp - 0x220], eax
lea eax, [ecx + 0x58]
mov dword [ebp - 0x210], eax
lea eax, [ecx + 0x5c]
mov dword [ebp - 0x200], eax
lea eax, [ecx + 0x60]
mov dword [ebp - 0x1f0], eax
lea eax, [ecx + 0x64]
mov dword [ebp - 0x1e0], eax
lea eax, [ecx + 0x68]
mov dword [ebp - 0x1d0], eax
lea eax, [ecx + 0x24]
mov dword [ebp - 0x1c0], eax
lea eax, [ecx + 0x28]
mov dword [ebp - 0x1b0], eax
lea eax, [ecx + 0x2c]
mov dword [ebp - 0x1a0], eax
lea eax, [ecx + 0x30]
mov dword [ebp - 0x190], eax
lea eax, [ecx + 0x34]
mov dword [ebp - 0x180], eax
lea eax, [ecx + 0x38]
mov dword [ebp - 0x170], eax
lea eax, [ecx + 0x3c]
mov dword [ebp - 0x160], eax
lea eax, [ecx + 0x40]
mov dword [ebp - 0x150], eax
lea eax, [ecx + 0x44]
mov dword [ebp - 0x22c], 0x4cce44
mov byte [ebp - 0x228], 1
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0x4cce48
mov byte [ebp - 0x218], 1
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x20c], str.Lifetime
mov byte [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x1fc], str.ParticleLifeMin
mov byte [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1ec], str.ParticleLifeMax
mov byte [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1dc], str.Direction
mov byte [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1cc], str.Spread
mov byte [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1bc], str.BeamWidthMin
mov byte [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1ac], str.BeamWidthMax
mov byte [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x19c], str.BeamLengthMin
mov byte [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x18c], str.BeamLengthMax
mov byte [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x17c], str.SpawnRadiusMin
mov byte [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x16c], str.SpawnRadiusMax
mov byte [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x15c], str.BeamEndWidenMin
mov byte [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x14c], str.BeamEndWidenMax
mov byte [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], str.BeamLScaleMin
mov byte [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
lea eax, [ecx + 0x48]
mov dword [ebp - 0x12c], str.BeamLScaleMax
mov dword [ebp - 0x130], eax
xorps xmm0, xmm0
lea eax, [ecx + 0x4c]
mov byte [ebp - 0x128], 0
mov dword [ebp - 0x120], eax
lea eax, [ecx + 0x50]
mov dword [ebp - 0x110], eax
lea eax, [ecx + 0x6c]
mov dword [ebp - 0x100], eax
lea eax, [ecx + 0x70]
mov dword [ebp - 0xf0], eax
lea eax, [ecx + 0x74]
mov dword [ebp - 0xe0], eax
lea eax, [ecx + 0x78]
mov dword [ebp - 0xd0], eax
lea eax, [ecx + 0x7c]
mov dword [ebp - 0xc0], eax
lea eax, [ecx + 0x80]
mov dword [ebp - 0xb0], eax
lea eax, [ecx + 0x84]
mov dword [ebp - 0xa0], eax
lea eax, [ecx + 0x88]
mov dword [ebp - 0x90], eax
lea eax, [ecx + 0x8c]
mov dword [ebp - 0x80], eax
lea eax, [ecx + 0x90]
mov dword [ebp - 0x70], eax
lea eax, [ecx + 0x94]
mov dword [ebp - 0x60], eax
lea eax, [ecx + 0x98]
mov dword [ebp - 0x50], eax
lea eax, [ecx + 0x9c]
mov dword [ebp - 0x40], eax
lea eax, [ecx + 0xa0]
mov dword [ebp - 0x30], eax
lea eax, [ecx + 0xa4]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x11c], str.BeamWScaleMin
mov byte [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], str.BeamWScaleMax
mov byte [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xfc], str.AppearingInterval
mov byte [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], str.StartRotVelMin
mov byte [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], str.StartRotVelMax
mov byte [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xcc], str.RotAccelMin
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xbc], str.RotAccelMax
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xac], str.ColorVar
mov byte [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x9c], str.AlphaVar
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x8c], str.ColorStartR
movq qword [ebp - 0x88], xmm0
mov dword [ebp - 0x7c], str.ColorStartG
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x6c], str.ColorStartB
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x5c], str.ColorStartA
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x4c], str.ColorEndR
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x3c], str.ColorEndG
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x2c], str.ColorEndB
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
lea eax, [ecx + 0x18]
mov dword [ebp - 0x1c], str.ColorEndA
mov dword [ebp - 0x248], eax
lea eax, [ecx + 0x54]
mov dword [ebp - 0x240], eax
mov eax, dword [0x4fec20]
push esi
push eax
movq qword [ebp - 0x18], xmm0
mov ecx, dword [eax]
mov dword [ebp - 0x244], str.BlendMode
mov dword [ebp - 0x23c], str.nEmission
call dword [ecx + 0x5c]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00498120
mov ecx, dword [0x4fec38]
push esi
mov dword [ebp - 4], 0
call fcn.00488950
mov esi, eax
test esi, esi
je 0x445d64
push 0
push 0
push esi
lea ecx, [ebp - 0x29c]
call fcn.0049b0c0
push esi
call fcn.004afdfc
add esp, 4
cmp byte [ebp - 0x270], 0
jne 0x445d64
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x238]
push 0x4cce40
lea eax, [ebp - 0x254]
push eax
call fcn.00499390
mov esi, dword [eax]
test esi, esi
je 0x445d64
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x445d64
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x445d64
xor ebx, ebx
lea edi, [ebp - 0x228]
lea ecx, [ecx]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x445c74
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x445c76
xor eax, eax
lea ecx, [ebp - 0x250]
push ecx
push dword [edi - 4]
mov ecx, eax
call fcn.0049a000
test eax, eax
jne 0x445c99
movsd xmm0, qword [ebp - 0x250]
cvtpd2ps xmm0, xmm0
jmp 0x445caa
cmp byte [edi], 0
je 0x445d64
movd xmm0, dword [edi + 4]
cvtdq2ps xmm0, xmm0
mov eax, dword [edi - 8]
inc ebx
add edi, 0x10
movss dword [eax], xmm0
cmp ebx, 0x22
jb 0x445c60
xor edi, edi
lea esp, [esp]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x445cd4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x445cd6
xor eax, eax
push dword [ebp + edi*8 - 0x248]
mov ecx, eax
push dword [ebp + edi*8 - 0x244]
call fcn.0049a040
test eax, eax
jne 0x445d64
inc edi
cmp edi, 2
jb 0x445cc0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x445d09
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x445d0b
xor eax, eax
push 0x4ccfd0
mov ecx, eax
call fcn.00498b30
mov esi, eax
test esi, esi
je 0x445d64
cmp byte [esi], 0
jne 0x445d26
xor ecx, ecx
jmp 0x445d39
mov ecx, esi
lea edx, [ecx + 1]
jmp 0x445d30
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445d30
sub ecx, edx
mov edi, dword [ebp - 0x234]
push ecx
push esi
mov ecx, edi
call fcn.00433940
mov ecx, dword [0x4fec38]
push 0
push esi
call fcn.00488820
mov dword [edi + 0xa8], eax
test eax, eax
je 0x445d64
mov bl, 1
jmp 0x445d66
xor bl, bl
mov eax, dword [ebp - 0x268]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x500af4
je 0x445d8d
push eax
call fcn.004afe34
add esp, 4
lea ecx, [ebp - 0x29c]
call fcn.00498790
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae734
mov esp, ebp
pop ebp
ret 4