Function at 0x445540
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 0x4cb4bb
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4fdb40]
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 [0x5c1d08]
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.0049a760
mov ecx, dword [0x5c1d20]
push esi
mov dword [ebp - 4], 0
call fcn.0048a4c0
mov esi, eax
test esi, esi
je 0x445a3b
push 0
push 0
push esi
lea ecx, [ebp - 0x220]
call fcn.0049d700
push esi
call fcn.004b254c
add esp, 4
cmp byte [ebp - 0x1f4], 0
jne 0x445a3b
lea eax, [ebp - 0x220]
mov dword [ebp - 0x1cc], eax
lea ecx, [ebp - 0x1cc]
push 0x4cfe30
lea eax, [ebp - 0x1d8]
push eax
call fcn.0049b9d0
mov esi, dword [eax]
test esi, esi
je 0x445a3b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x445a3b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x445a3b
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 0x4459c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x4459c6
xor eax, eax
lea ecx, [ebp - 0x1d4]
push ecx
push dword [edi - 4]
mov ecx, eax
call fcn.0049c640
test eax, eax
jne 0x4459e9
movsd xmm0, qword [ebp - 0x1d4]
cvtpd2ps xmm0, xmm0
jmp 0x4459f6
cmp byte [edi], 0
je 0x445a3b
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 0x4459b0
xor edi, edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x445a1c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x445a1e
xor eax, eax
push dword [ebp + edi*8 - 0x28]
mov ecx, eax
push dword [ebp + edi*8 - 0x24]
call fcn.0049c680
test eax, eax
jne 0x445a3b
inc edi
cmp edi, 3
jb 0x445a08
mov bl, 1
jmp 0x445a3d
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, 0x5c52ec
je 0x445a64
push eax
call fcn.004b2584
add esp, 4
lea ecx, [ebp - 0x220]
call fcn.0049add0
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.004b0e84
mov esp, ebp
pop ebp
ret 4