Function at 0x40e9d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45d493
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
call fcn.0040f990
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x80], ebx
call fcn.004149e0
add esp, 8
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004149e0
mov dword [esp + 0x1c], eax
add esp, 8
mov esi, str.EMITTER
lea eax, [esp + 0x2c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ea61
test cl, cl
je 0x40ea5d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ea61
add eax, 2
add esi, 2
test cl, cl
jne 0x40ea3d
xor eax, eax
jmp 0x40ea66
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40f280
jmp 0x40ea74
mov edi, dword [esp + 0x18]
push 0x48
call fcn.004507c0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x78], 1
je 0x40ea94
mov ecx, eax
call fcn.0040f970
jmp 0x40ea96
xor eax, eax
test eax, eax
mov byte [esp + 0x78], 0
je 0x40ead3
cmp dword [edi], 0
je 0x40eabc
mov ecx, dword [edi + 8]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov edx, dword [edi + 8]
mov dword [edx], eax
mov dword [edi], eax
mov dword [edi + 8], eax
jmp 0x40eadd
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
jmp 0x40eadd
push 1
call fcn.00451490
add esp, 4
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x40eb2f
mov edx, dword [esp + 0x20]
mov esi, edx
mov eax, str.name
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40eb16
test cl, cl
je 0x40eb12
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40eb16
add eax, 2
add esi, 2
test cl, cl
jne 0x40eaf2
xor eax, eax
jmp 0x40eb1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f2aa
mov eax, dword [esp + 0x24]
inc edi
add edx, 0x64
cmp edi, eax
jl 0x40eaeb
xor edi, edi
mov edx, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [edx]
add edx, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.004149e0
mov dword [esp + 0x1c], eax
add esp, 8
mov esi, str.NODE
lea eax, [esp + 0x2c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40eb9e
test cl, cl
je 0x40eb9a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40eb9e
add eax, 2
add esi, 2
test cl, cl
jne 0x40eb76
xor eax, eax
jmp 0x40eba3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f1f2
mov eax, dword [esp + 0x18]
push 0x98
mov esi, dword [eax]
add esi, 0x3c
call fcn.004507c0
add esp, 4
test eax, eax
je 0x40ebf9
cmp dword [esi], 0
je 0x40ebe2
mov ecx, dword [esi + 8]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
mov dword [edx], eax
mov dword [esi], eax
mov dword [esi + 8], eax
jmp 0x40ec03
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
jmp 0x40ec03
push 1
call fcn.00451490
add esp, 4
mov eax, dword [esp + 0x18]
xor edi, edi
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
test eax, eax
mov ebx, dword [ecx + 0x3c]
mov dword [esp + 0x10], ebx
jle 0x40ec83
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1c], esi
mov eax, str.pivitParent
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ec4b
test cl, cl
je 0x40ec47
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ec4b
add eax, 2
add esi, 2
test cl, cl
jne 0x40ec27
xor eax, eax
jmp 0x40ec50
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ec6a
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
inc edi
add esi, 0x64
cmp edi, eax
mov dword [esp + 0x1c], esi
jl 0x40ec22
jmp 0x40ec83
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 + 0x32]
push edx
call fcn.00450d30
add esp, 4
jmp 0x40ec85
xor eax, eax
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x40ecf9
mov edx, dword [esp + 0x20]
mov esi, edx
mov eax, str.pivitAngle
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40ecc1
test cl, cl
je 0x40ecbd
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40ecc1
add eax, 2
add esi, 2
test cl, cl
jne 0x40ec9d
xor eax, eax
jmp 0x40ecc6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ecdc
mov eax, dword [esp + 0x24]
inc edi
add edx, 0x64
cmp edi, eax
jl 0x40ec96
mov ebx, dword [esp + 0x10]
jmp 0x40ecf9
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 + 0x32]
push edx
call fcn.00451610
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x40ecff
fld qword [0x45e250]
fstp qword [ebx + 0x10]
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x40ed73
mov edx, dword [esp + 0x20]
mov esi, edx
mov eax, str.pivitRotationSpeed_DPS
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40ed3b
test cl, cl
je 0x40ed37
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40ed3b
add eax, 2
add esi, 2
test cl, cl
jne 0x40ed17
xor eax, eax
jmp 0x40ed40
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ed56
mov eax, dword [esp + 0x24]
inc edi
add edx, 0x64
cmp edi, eax
jl 0x40ed10
mov ebx, dword [esp + 0x10]
jmp 0x40ed73
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 + 0x32]
push edx
call fcn.00451610
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x40ed79
fld qword [0x45e250]
fstp qword [ebx + 0x18]
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x40eded
mov edx, dword [esp + 0x20]
mov esi, edx
mov eax, str.pivitDistance
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40edb5
test cl, cl
je 0x40edb1
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40edb5
add eax, 2
add esi, 2
test cl, cl
jne 0x40ed91
xor eax, eax
jmp 0x40edba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40edd0
mov eax, dword [esp + 0x24]
inc edi
add edx, 0x64
cmp edi, eax
jl 0x40ed8a
mov ebx, dword [esp + 0x10]
jmp 0x40eded
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 + 0x32]
push edx
call fcn.00451610
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x40edf3
fld qword [0x45e250]
fstp qword [ebx + 0x20]
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x40ee67
mov edx, dword [esp + 0x20]
mov esi, edx
mov eax, str.pivitDistanceMin
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40ee2f
test cl, cl
je 0x40ee2b
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40ee2f
add eax, 2
add esi, 2
test cl, cl
jne 0x40ee0b
xor eax, eax
jmp 0x40ee34
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ee4a
mov eax, dword [esp + 0x24]
inc edi
add edx, 0x64
cmp edi, eax
jl 0x40ee04
mov ebx, dword [esp + 0x10]
jmp 0x40ee67
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 + 0x32]
push edx
call fcn.00451610
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x40ee6d
fld qword [0x45e250]
fstp qword [ebx + 0x28]
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x40eee1
mov edx, dword [esp + 0x20]
mov esi, edx
mov eax, str.pivitDistanceMax
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40eea9
test cl, cl
je 0x40eea5
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40eea9
add eax, 2
add esi, 2
test cl, cl
jne 0x40ee85
xor eax, eax
jmp 0x40eeae
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40eec4
mov eax, dword [esp + 0x24]
inc edi
add edx, 0x64
cmp edi, eax
jl 0x40ee7e
mov ebx, dword [esp + 0x10]
jmp 0x40eee1
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 + 0x32]
push edx
call fcn.00451610
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x40eee7
fld qword [0x45e250]
fstp qword [ebx + 0x30]
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x40ef5b
mov edx, dword [esp + 0x20]
mov esi, edx
mov eax, str.pivitDistanceSpeed_PPS
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40ef23
test cl, cl
je 0x40ef1f
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40ef23
add eax, 2
add esi, 2
test cl, cl
jne 0x40eeff
xor eax, eax
jmp 0x40ef28
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ef3e
mov eax, dword [esp + 0x24]
inc edi
add edx, 0x64
cmp edi, eax
jl 0x40eef8
mov ebx, dword [esp + 0x10]
jmp 0x40ef5b
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 + 0x32]
push edx
call fcn.00451610
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x40ef61
fld qword [0x45e250]
fstp qword [ebx + 0x38]
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x40efd5
mov edx, dword [esp + 0x20]
mov esi, edx
mov eax, str.particlesPerSecond
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40ef9d
test cl, cl
je 0x40ef99
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40ef9d
add eax, 2
add esi, 2
test cl, cl
jne 0x40ef79
xor eax, eax
jmp 0x40efa2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40efb8
mov eax, dword [esp + 0x24]
inc edi
add edx, 0x64
cmp edi, eax
jl 0x40ef72
mov ebx, dword [esp + 0x10]
jmp 0x40efd5
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 + 0x32]
push edx
call fcn.00451610
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x40efdb
fld qword [0x45e250]
fstp qword [ebx + 0x40]
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x40f04f
mov edx, dword [esp + 0x20]
mov esi, edx
mov eax, str.particleLowSpeed_PPS
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40f017
test cl, cl
je 0x40f013
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40f017
add eax, 2
add esi, 2
test cl, cl
jne 0x40eff3
xor eax, eax
jmp 0x40f01c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f032
mov eax, dword [esp + 0x24]
inc edi
add edx, 0x64
cmp edi, eax
jl 0x40efec
mov ebx, dword [esp + 0x10]
jmp 0x40f04f
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 + 0x32]
push edx
call fcn.00451610
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x40f055
fld qword [0x45e250]
fstp qword [ebx + 0x48]
push 0x462398
lea ecx, [esp + 0x24]
call fcn.0040fa30
fstp qword [ebx + 0x50]
push 0x462394
lea ecx, [esp + 0x24]
call fcn.00403570
push 0x462390
lea ecx, [esp + 0x24]
mov dword [ebx + 0x58], eax
call fcn.00403570
push 0x46238c
lea ecx, [esp + 0x24]
mov dword [ebx + 0x5c], eax
call fcn.00403570
push str.abgr
lea ecx, [esp + 0x24]
mov dword [ebx + 0x60], eax
call fcn.00403570
push str.sprayAngle
lea ecx, [esp + 0x24]
mov dword [ebx + 0x64], eax
call fcn.0040fa30
fstp qword [ebx + 0x68]
push str.sprayRotationSpeed_DPS
lea ecx, [esp + 0x24]
call fcn.0040fa30
fstp qword [ebx + 0x70]
push str.spraySpread
lea ecx, [esp + 0x24]
call fcn.0040fa30
fstp qword [ebx + 0x78]
push str.emitLength
lea ecx, [esp + 0x24]
call fcn.0040fa30
fstp qword [ebx + 0x80]
push str.pauseLength
lea ecx, [esp + 0x24]
call fcn.0040fa30
fstp qword [ebx + 0x88]
push str.matchSpeedFlag
lea ecx, [esp + 0x24]
mov esi, str.TRUE
call fcn.0040f9b0
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40f13f
test cl, cl
je 0x40f13b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40f13f
add eax, 2
add esi, 2
test cl, cl
jne 0x40f11b
xor eax, eax
jmp 0x40f144
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f194
push str.matchSpeedFlag
lea ecx, [esp + 0x24]
mov esi, str.true
call fcn.0040f9b0
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40f17f
test cl, cl
je 0x40f17b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40f17f
add eax, 2
add esi, 2
test cl, cl
jne 0x40f15b
xor eax, eax
jmp 0x40f184
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f194
mov dword [ebx + 0x90], 0
jmp 0x40f19e
mov dword [ebx + 0x90], 1
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.004149e0
mov dword [esp + 0x1c], eax
add esp, 8
mov esi, str.NODE
lea eax, [esp + 0x2c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40f1e5
test cl, cl
je 0x40f1e1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40f1e5
add eax, 2
add esi, 2
test cl, cl
jne 0x40f1bd
xor eax, eax
jmp 0x40f1ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ebab
mov esi, str._EMITTER
lea eax, [esp + 0x2c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40f223
test cl, cl
je 0x40f21f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40f223
add eax, 2
add esi, 2
test cl, cl
jne 0x40f1fb
xor eax, eax
jmp 0x40f228
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f242
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.004149e0
add esp, 8
mov dword [esp + 0x14], eax
mov esi, str.EMITTER
lea eax, [esp + 0x2c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40f273
test cl, cl
je 0x40f26f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40f273
add eax, 2
add esi, 2
test cl, cl
jne 0x40f24b
xor eax, eax
jmp 0x40f278
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ea70
lea ecx, [esp + 0x20]
mov dword [esp + 0x78], 0xffffffff
call fcn.00403540
mov ecx, dword [esp + 0x70]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*4 + 0x32]
jmp 0x40eb31