Function at 0x445fc0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc28b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x511d60]
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
lea eax, [ecx + 4]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c8], eax
lea eax, [ecx + 8]
mov dword [ebp - 0x1b8], eax
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1a8], eax
lea eax, [ecx + 0x10]
mov dword [ebp - 0x198], eax
lea eax, [ecx + 0x14]
mov dword [ebp - 0x188], eax
lea eax, [ecx + 0x20]
mov dword [ebp - 0x178], eax
lea eax, [ecx + 0x24]
mov dword [ebp - 0x168], eax
lea eax, [ecx + 0x28]
mov dword [ebp - 0x158], eax
lea eax, [ecx + 0x2c]
mov dword [ebp - 0x148], eax
lea eax, [ecx + 0x30]
mov dword [ebp - 0x138], eax
lea eax, [ecx + 0x34]
mov dword [ebp - 0x128], eax
lea eax, [ecx + 0x38]
mov dword [ebp - 0x118], eax
lea eax, [ecx + 0x3c]
mov dword [ebp - 0x108], eax
lea eax, [ecx + 0x48]
mov dword [ebp - 0xf8], eax
lea eax, [ecx + 0x4c]
mov dword [ebp - 0xe8], eax
lea eax, [ecx + 0x40]
mov dword [ebp - 0x1c4], str.Lifetime
mov byte [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b4], str.ParticleLifeMin
mov byte [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a4], str.ParticleLifeMax
mov byte [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x194], str.Direction
mov byte [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x184], str.Spread
mov byte [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x174], str.SpeedMin
mov byte [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x164], str.SpeedMax
mov byte [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x154], str.GravityMin
mov byte [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x144], str.GravityMax
mov byte [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x134], str.RadialAccelMin
mov byte [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x124], str.RadialAccelMax
mov byte [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x114], str.TangentialAccelMin
mov byte [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x104], str.TangentialAccelMax
mov byte [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf4], str.InitialDistMin
mov byte [ebp - 0xf0], 1
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe4], str.InitialDistMax
mov byte [ebp - 0xe0], 1
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], str.OriginXAmplitude
mov byte [ebp - 0xd0], 1
mov dword [ebp - 0xcc], 2
lea eax, [ecx + 0x44]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xc8], eax
lea eax, [ecx + 0x50]
mov dword [ebp - 0xb8], eax
lea eax, [ecx + 0x54]
mov dword [ebp - 0xa8], eax
lea eax, [ecx + 0x58]
mov dword [ebp - 0x98], eax
lea eax, [ecx + 0x5c]
mov dword [ebp - 0x88], eax
lea eax, [ecx + 0x60]
mov dword [ebp - 0x78], eax
lea eax, [ecx + 0x64]
mov dword [ebp - 0x68], eax
lea eax, [ecx + 0x68]
mov dword [ebp - 0x58], eax
lea eax, [ecx + 0x6c]
mov dword [ebp - 0x48], eax
lea eax, [ecx + 0x70]
mov dword [ebp - 0x38], eax
lea eax, [ecx + 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [0x516310]
push esi
push eax
mov dword [ebp - 0xc4], str.OriginYAmplitude
mov ecx, dword [eax]
mov byte [ebp - 0xc0], 1
mov dword [ebp - 0xbc], 2
mov dword [ebp - 0xb4], str.ScaleStart
mov byte [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa4], str.ScaleEnd
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x94], str.ScaleVar
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], str.SpinStart
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], str.SpinEnd
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], str.SpinVar
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], str.AlphaMultiplierStart
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], str.AlphaMultiplierEnd
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], str.AlphaVar
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], str.nEmission
mov dword [ebp - 0x1c], str.bRelative
mov dword [ebp - 0x14], str.bAlwaysMoveParticles
call dword [ecx + 0x64]
push eax
lea ecx, [ebp - 0x220]
call fcn.004a3510
mov ecx, dword [0x516328]
push esi
mov dword [ebp - 4], 0
call fcn.00492ac0
mov esi, eax
test esi, esi
je 0x4464bb
push 0
push 0
push esi
lea ecx, [ebp - 0x220]
call fcn.004a64b0
push esi
call fcn.004c273d
add esp, 4
cmp byte [ebp - 0x1f4], 0
jne 0x4464bb
lea eax, [ebp - 0x220]
mov dword [ebp - 0x1cc], eax
lea ecx, [ebp - 0x1cc]
push 0x4e0ec0
lea eax, [ebp - 0x1d8]
push eax
call fcn.004a4780
mov esi, dword [eax]
test esi, esi
je 0x4464bb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x4464bb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x4464bb
xor ebx, ebx
lea edi, [ebp - 0x1c0]
lea esp, [esp]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x446444
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x446446
xor eax, eax
lea ecx, [ebp - 0x1d4]
push ecx
push dword [edi - 4]
mov ecx, eax
call fcn.004a53f0
test eax, eax
jne 0x446469
movsd xmm0, qword [ebp - 0x1d4]
cvtpd2ps xmm0, xmm0
jmp 0x446476
cmp byte [edi], 0
je 0x4464bb
movd xmm0, dword [edi + 4]
cvtdq2ps xmm0, xmm0
mov eax, dword [edi - 8]
inc ebx
add edi, 0x10
movss dword [eax], xmm0
cmp ebx, 0x1a
jb 0x446430
xor edi, edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x44649c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x44649e
xor eax, eax
push dword [ebp + edi*8 - 0x28]
mov ecx, eax
push dword [ebp + edi*8 - 0x24]
call fcn.004a5430
test eax, eax
jne 0x4464bb
inc edi
cmp edi, 3
jb 0x446488
mov bl, 1
jmp 0x4464bd
xor bl, bl
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x5199f4
je 0x4464e4
push eax
call fcn.004c2d3c
add esp, 4
lea ecx, [ebp - 0x220]
call fcn.004a3b80
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.004c1624
mov esp, ebp
pop ebp
ret 4