Function at 0x483880
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 0x4e0efb
mov eax, dword fs:[0]
push eax
sub esp, 0x300
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 - 0x2b4], ecx
lea eax, [ecx + 0x30]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2b0], eax
lea eax, [ecx + 0x34]
mov dword [ebp - 0x2a0], eax
lea eax, [ecx + 0x38]
mov dword [ebp - 0x290], eax
lea eax, [ecx + 0x3c]
mov dword [ebp - 0x280], eax
lea eax, [ecx + 0x40]
mov dword [ebp - 0x270], eax
lea eax, [ecx + 0x48]
mov dword [ebp - 0x260], eax
lea eax, [ecx + 0x4c]
mov dword [ebp - 0x250], eax
lea eax, [ecx + 0x50]
mov dword [ebp - 0x240], eax
lea eax, [ecx + 0x54]
mov dword [ebp - 0x230], eax
lea eax, [ecx + 0x58]
mov dword [ebp - 0x220], eax
lea eax, [ecx + 0x5c]
mov dword [ebp - 0x210], eax
lea eax, [ecx + 0x60]
mov dword [ebp - 0x200], eax
lea eax, [ecx + 0x64]
mov dword [ebp - 0x1f0], eax
lea eax, [ecx + 0x70]
mov dword [ebp - 0x1e0], eax
lea eax, [ecx + 0x74]
mov dword [ebp - 0x1d0], eax
lea eax, [ecx + 0x78]
mov dword [ebp - 0x2ac], str.Lifetime
mov byte [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x29c], str.ParticleLifeMin
mov byte [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x28c], str.ParticleLifeMax
mov byte [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x27c], str.Direction
mov byte [ebp - 0x278], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x26c], str.Spread
mov byte [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x25c], str.SpeedMin
mov byte [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x24c], str.SpeedMax
mov byte [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x23c], str.GravityMin
mov byte [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x22c], str.GravityMax
mov byte [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], str.RadialAccelMin
mov byte [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x20c], str.RadialAccelMax
mov byte [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x1fc], str.TangentialAccelMin
mov byte [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1ec], str.TangentialAccelMax
mov byte [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1dc], str.InitialDistMin
mov byte [ebp - 0x1d8], 1
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1cc], str.InitialDistMax
mov byte [ebp - 0x1c8], 1
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], 0x4ea590
mov byte [ebp - 0x1b8], 1
mov dword [ebp - 0x1b4], 0
lea eax, [ecx + 0x7c]
mov dword [ebp - 0x1ac], str.FadeOut
mov dword [ebp - 0x1b0], eax
xorps xmm0, xmm0
lea eax, [ecx + 0x68]
mov byte [ebp - 0x1a8], 1
mov dword [ebp - 0x1a0], eax
lea eax, [ecx + 0x6c]
mov dword [ebp - 0x190], eax
lea eax, [ecx + 0x80]
mov dword [ebp - 0x180], eax
lea eax, [ecx + 0x84]
mov dword [ebp - 0x170], eax
lea eax, [ecx + 0x88]
mov dword [ebp - 0x160], eax
lea eax, [ecx + 0x8c]
mov dword [ebp - 0x150], eax
lea eax, [ecx + 0x90]
mov dword [ebp - 0x140], eax
lea eax, [ecx + 0x94]
mov dword [ebp - 0x130], eax
lea eax, [ecx + 0xb8]
mov dword [ebp - 0x120], eax
lea eax, [ecx + 0xbc]
mov dword [ebp - 0x110], eax
lea eax, [ecx + 0xd0]
mov dword [ebp - 0x100], eax
lea eax, [ecx + 0xc0]
mov dword [ebp - 0xf0], eax
lea eax, [ecx + 0xc4]
mov dword [ebp - 0xe0], eax
lea eax, [ecx + 0x98]
mov dword [ebp - 0xd0], eax
lea eax, [ecx + 0x9c]
mov dword [ebp - 0xc0], eax
lea eax, [ecx + 0xa0]
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x19c], str.OriginXAmplitude
mov byte [ebp - 0x198], 1
mov dword [ebp - 0x194], 2
mov dword [ebp - 0x18c], str.OriginYAmplitude
mov byte [ebp - 0x188], 1
mov dword [ebp - 0x184], 2
mov dword [ebp - 0x17c], str.SizeStart
mov byte [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x16c], str.SizeEnd
mov byte [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x15c], str.SizeVar
mov byte [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x14c], str.SpinStart
mov byte [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], str.SpinEnd
mov byte [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x12c], str.SpinVar
mov byte [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x11c], str.ColorVar
mov byte [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], str.AlphaVar
mov byte [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xfc], str.dtDivider
mov byte [ebp - 0xf8], 1
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xec], str.PositionX
mov byte [ebp - 0xe8], 1
mov dword [ebp - 0xe4], 0xffffd8f0
mov dword [ebp - 0xdc], str.PositionY
mov byte [ebp - 0xd8], 1
mov dword [ebp - 0xd4], 0xffffd8f0
mov dword [ebp - 0xcc], str.ColorStartR
movq qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xbc], str.ColorStartG
movq qword [ebp - 0xb8], xmm0
mov dword [ebp - 0xb0], eax
lea eax, [ecx + 0xa4]
mov dword [ebp - 0xac], str.ColorStartB
mov dword [ebp - 0xa0], eax
lea eax, [ecx + 0xa8]
mov dword [ebp - 0x90], eax
lea eax, [ecx + 0xac]
mov dword [ebp - 0x80], eax
lea eax, [ecx + 0xb0]
mov dword [ebp - 0x70], eax
lea eax, [ecx + 0xb4]
mov dword [ebp - 0x60], eax
lea eax, [ecx + 0x18]
mov dword [ebp - 0x50], eax
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x48], eax
lea eax, [ecx + 0x20]
mov dword [ebp - 0x40], eax
lea eax, [ecx + 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ecx + 0x28]
mov dword [ebp - 0x30], eax
lea eax, [ecx + 0x2c]
mov dword [ebp - 0x28], eax
lea eax, [ecx + 0x44]
mov dword [ebp - 0x20], eax
lea eax, [ecx + 0xcc]
mov dword [ebp - 0x18], eax
mov eax, dword [0x51a3b0]
push edi
push eax
movq qword [ebp - 0xa8], xmm0
mov ecx, dword [eax]
mov dword [ebp - 0x9c], str.ColorStartA
movq qword [ebp - 0x98], xmm0
mov dword [ebp - 0x8c], str.ColorEndR
movq qword [ebp - 0x88], xmm0
mov dword [ebp - 0x7c], str.ColorEndG
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x6c], str.ColorEndB
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x5c], str.ColorEndA
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x4c], str.BlendMode
mov dword [ebp - 0x44], str.ParticleHotX
mov dword [ebp - 0x3c], str.ParticleHotY
mov dword [ebp - 0x34], str.ParticleWidth
mov dword [ebp - 0x2c], str.ParticleHeight
mov dword [ebp - 0x24], str.nEmission
mov dword [ebp - 0x1c], str.bRelative
mov dword [ebp - 0x14], str.bRandomAngle
call dword [ecx + 0x64]
push eax
lea ecx, [ebp - 0x30c]
call fcn.004a61d0
mov ecx, dword [0x51a3c8]
push edi
mov dword [ebp - 4], 0
call fcn.00495750
mov esi, eax
test esi, esi
jne 0x483ee8
push 0x10
push str.Cannot_find_particle
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor bl, bl
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x51db9c
je 0x483ebd
push eax
call fcn.004c5c6c
add esp, 4
lea ecx, [ebp - 0x30c]
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
push 0
push 0
push esi
lea ecx, [ebp - 0x30c]
call fcn.004a9170
push esi
call fcn.004c566d
add esp, 4
cmp byte [ebp - 0x2e0], 0
jne 0x483e94
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x2b8], eax
lea ecx, [ebp - 0x2b8]
push 0x4e3ee0
lea eax, [ebp - 0x2c4]
push eax
call fcn.004a7440
mov esi, dword [eax]
test esi, esi
je 0x483e94
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x483e94
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x483e94
xor ebx, ebx
lea edi, [ebp - 0x2a8]
lea ecx, [ecx]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x483f74
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x483f76
xor eax, eax
lea ecx, [ebp - 0x2c0]
push ecx
push dword [edi - 4]
mov ecx, eax
call fcn.004a80b0
test eax, eax
jne 0x483f99
movsd xmm0, qword [ebp - 0x2c0]
cvtpd2ps xmm0, xmm0
jmp 0x483faa
cmp byte [edi], 0
je 0x483e94
movd xmm0, dword [edi + 4]
cvtdq2ps xmm0, xmm0
mov eax, dword [edi - 8]
inc ebx
add edi, 0x10
movss dword [eax], xmm0
cmp ebx, 0x26
jb 0x483f60
xor edi, edi
lea esp, [esp]
mov ebx, dword [ebp + edi*8 - 0x50]
mov ecx, esi
mov dword [ebx], 0
mov eax, dword [esi]
call dword [eax + 0x14]
test eax, eax
je 0x483fde
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x483fe0
xor eax, eax
push ebx
push dword [ebp + edi*8 - 0x4c]
mov ecx, eax
call fcn.004a80f0
inc edi
cmp edi, 8
jb 0x483fc0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x484006
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x484008
xor eax, eax
push 0x4e4070
mov ecx, eax
call fcn.004a6be0
mov esi, eax
test esi, esi
je 0x483e94
cmp byte [esi], 0
jne 0x484027
xor ecx, ecx
jmp 0x484039
mov ecx, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x484030
sub ecx, edx
mov edi, dword [ebp - 0x2b4]
push ecx
push esi
mov ecx, edi
call fcn.00433e00
mov ecx, dword [0x51a3c8]
push 0
push esi
call fcn.00495620
mov dword [edi + 0xc8], eax
test eax, eax
jne 0x48406d
push 0x10
push str.Cannot_find_texture_for_particle
push esi
jmp 0x483e8c
mov bl, 1
jmp 0x483e96