Function at 0x445fa0
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 0x4df1ab
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x515de0]
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], 0x4e3ee4
mov byte [ebp - 0x228], 1
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0x4e3ee8
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 [0x51a3b0]
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 + 0x64]
push eax
lea ecx, [ebp - 0x29c]
call fcn.004a61d0
mov ecx, dword [0x51a3c8]
push esi
mov dword [ebp - 4], 0
call fcn.00495750
mov esi, eax
test esi, esi
je 0x446614
push 0
push 0
push esi
lea ecx, [ebp - 0x29c]
call fcn.004a9170
push esi
call fcn.004c566d
add esp, 4
cmp byte [ebp - 0x270], 0
jne 0x446614
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x238]
push 0x4e3ee0
lea eax, [ebp - 0x254]
push eax
call fcn.004a7440
mov esi, dword [eax]
test esi, esi
je 0x446614
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x446614
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x446614
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 0x446524
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x446526
xor eax, eax
lea ecx, [ebp - 0x250]
push ecx
push dword [edi - 4]
mov ecx, eax
call fcn.004a80b0
test eax, eax
jne 0x446549
movsd xmm0, qword [ebp - 0x250]
cvtpd2ps xmm0, xmm0
jmp 0x44655a
cmp byte [edi], 0
je 0x446614
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 0x446510
xor edi, edi
lea esp, [esp]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x446584
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x446586
xor eax, eax
push dword [ebp + edi*8 - 0x248]
mov ecx, eax
push dword [ebp + edi*8 - 0x244]
call fcn.004a80f0
test eax, eax
jne 0x446614
inc edi
cmp edi, 2
jb 0x446570
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x4465b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x4465bb
xor eax, eax
push 0x4e4070
mov ecx, eax
call fcn.004a6be0
mov esi, eax
test esi, esi
je 0x446614
cmp byte [esi], 0
jne 0x4465d6
xor ecx, ecx
jmp 0x4465e9
mov ecx, esi
lea edx, [ecx + 1]
jmp 0x4465e0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4465e0
sub ecx, edx
mov edi, dword [ebp - 0x234]
push ecx
push esi
mov ecx, edi
call fcn.00433e00
mov ecx, dword [0x51a3c8]
push 0
push esi
call fcn.00495620
mov dword [edi + 0xa8], eax
test eax, eax
je 0x446614
mov bl, 1
jmp 0x446616
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, 0x51db9c
je 0x44663d
push eax
call fcn.004c5c6c
add esp, 4
lea ecx, [ebp - 0x29c]
call fcn.004a6840
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.004c4554
mov esp, ebp
pop ebp
ret 4